A free, self-hostable aggregator…
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?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 () { }
|
|
|
|
}
|
|
|
|
|
|
|
|
|