Mercurial > hg > extraction-interface
view develop/controllers/home.php @ 17:82f8c6bd2b69
add new tag will based on the current topic_id, insert new element into (1)taglist table and (2)topic_tag_relation table
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 20 Feb 2015 17:57:02 +0100 |
parents | 63e08b98032f |
children | 579f03f8bee5 |
line wrap: on
line source
<?php class Home extends BaseController { protected function Index() { $viewmodel = new HomeModel(); $this->ReturnView($viewmodel->Index(), false); } protected function TestAction() { $viewmodel = new HomeModel(); $this->ReturnView($viewmodel->Test(), true); } } ?>