Mercurial > hg > extraction-interface
view controllers/home.php @ 75:75233b09c580 extractapp
saving latest taglist from db according to topic (even when changing topic)
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Thu, 09 Apr 2015 15:29:46 +0200 |
parents | 886f43b26ee2 |
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); } } ?>