Files
FreshRSS/lib/Minz/ActionController.php
Alexandre Alapetite c8aa451c76 Minz: remove url_rewriting
As suggested
https://github.com/marienfressinaud/FreshRSS/issues/163#issuecomment-38478669

At the same time, removes a bunch of (almost) dead code such as
Minz_Router (the few remaining lines being moved to Minz_FrontController
to avoid a class)

Contributes to https://github.com/marienfressinaud/FreshRSS/issues/303
2014-03-24 20:55:18 +01:00

39 lines
720 B
PHP

<?php
/**
* MINZ - Copyright 2011 Marien Fressinaud
* Sous licence AGPL3 <http://www.gnu.org/licenses/>
*/
/**
* La classe ActionController représente le contrôleur de l'application
*/
class Minz_ActionController {
protected $view;
/**
* Constructeur
*/
public function __construct () {
$this->view = new Minz_View ();
$this->view->attributeParams ();
}
/**
* Getteur
*/
public function view () {
return $this->view;
}
/**
* Méthodes à redéfinir (ou non) par héritage
* firstAction est la première méthode exécutée par le Dispatcher
* lastAction est la dernière
*/
public function init () { }
public function firstAction () { }
public function lastAction () { }
}