Mercurial > hg > extraction-interface
view develop/controllers/home.php @ 29:fc7342914cdf
develop_v0
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Thu, 05 Mar 2015 15:08:09 +0100 |
parents | 579f03f8bee5 |
children |
line wrap: on
line source
<?php class Home extends BaseController { public function __construct($action, $urlvalues, $postdata){ parent::__construct($action, $urlvalues, $postdata); $this->viewmodel = new ExtractappModel(); } protected function Index() { $viewmodel = new HomeModel(); $this->ReturnView($viewmodel->Index(), false); } protected function Test() { $viewmodel = new HomeModel(); $this->ReturnView($viewmodel->Test(), true); } } ?>