Mercurial > hg > extraction-interface
view develop/controllers/home.php @ 45:3d6b8fb7335d extractapp
lock the topic tag when edit tag list
| author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
|---|---|
| date | Fri, 13 Mar 2015 14:47:23 +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); } } ?>
