@@ 3-18 (lines=16) @@ | ||
1 | <?php |
|
2 | ||
3 | class IndexController extends ControllerBase |
|
4 | { |
|
5 | protected $model; |
|
6 | protected $title; |
|
7 | protected $controller; |
|
8 | ||
9 | public function initialize(){ |
|
10 | $this->model = "Index"; |
|
11 | $this->title = "Accueil"; |
|
12 | $this->controller= "Index"; |
|
13 | } |
|
14 | ||
15 | public function indexAction() |
|
16 | { |
|
17 | } |
|
18 | } |
|
19 | ||
20 |
@@ 3-15 (lines=13) @@ | ||
1 | <?php |
|
2 | ||
3 | class UsersController extends ControllerBase |
|
4 | { |
|
5 | protected $model; |
|
6 | protected $title; |
|
7 | protected $controller; |
|
8 | ||
9 | public function initialize(){ |
|
10 | $this->model = "User"; |
|
11 | $this->title = "Utilisateurs"; |
|
12 | $this->controller = "Users"; |
|
13 | } |
|
14 | ||
15 | } |
|
16 | ||
17 |
@@ 3-18 (lines=16) @@ | ||
1 | <?php |
|
2 | ||
3 | class TachesController extends \ControllerBase |
|
4 | { |
|
5 | ||
6 | protected $model; |
|
7 | protected $title; |
|
8 | protected $controller; |
|
9 | ||
10 | public function initialize() |
|
11 | { |
|
12 | $this->model = "Tache"; |
|
13 | $this->title = "Taches"; |
|
14 | $this->controller = "Taches"; |
|
15 | } |
|
16 | ||
17 | ||
18 | } |
|
19 | ||
20 |
@@ 3-22 (lines=20) @@ | ||
1 | <?php |
|
2 | ||
3 | class UsecasesController extends \ControllerBase |
|
4 | { |
|
5 | ||
6 | protected $model; |
|
7 | protected $title; |
|
8 | protected $controller; |
|
9 | ||
10 | public function initialize() |
|
11 | { |
|
12 | $this->model = "Usecase"; |
|
13 | $this->title = "Usecases"; |
|
14 | $this->controller = "Usecases"; |
|
15 | } |
|
16 | ||
17 | public function indexAction() |
|
18 | { |
|
19 | ||
20 | } |
|
21 | ||
22 | } |
|
23 | ||
24 |