Mercurial > hg > extraction-interface
diff develop/controllers/home.php @ 6:63e08b98032f
rewrite extraction interface into PHP MVC architecture.
(Although js hasn't been rewritten into MVC, it's fitted into the current PHP MVC architecture.)
- The root of the new PHP MVC is at 'develop/'.
- extraction interface is called "Extractapp" with several action, eg TaggingText, EditWordlist, EditTaglist, ExportTable.
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Thu, 05 Feb 2015 16:07:53 +0100 |
parents | |
children | 579f03f8bee5 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/develop/controllers/home.php Thu Feb 05 16:07:53 2015 +0100 @@ -0,0 +1,18 @@ +<?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); + } + + +} + + +?>