comparison controllers/home.php @ 47:886f43b26ee2 extractapp

move/remove develop folder
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Tue, 17 Mar 2015 10:54:13 +0100
parents
children
comparison
equal deleted inserted replaced
46:b3ca5d2b4d3f 47:886f43b26ee2
1 <?php
2
3 class Home extends BaseController {
4
5 public function __construct($action, $urlvalues, $postdata){
6 parent::__construct($action, $urlvalues, $postdata);
7 $this->viewmodel = new ExtractappModel();
8 }
9
10 protected function Index() {
11 $viewmodel = new HomeModel();
12 $this->ReturnView($viewmodel->Index(), false);
13 }
14
15 protected function Test() {
16 $viewmodel = new HomeModel();
17 $this->ReturnView($viewmodel->Test(), true);
18 }
19
20
21 }
22
23
24 ?>