blob: b47c54554edd6e22fb457d376c8d87f7bd6118fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<?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 () { }
}
|