comparison 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
comparison
equal deleted inserted replaced
5:cbbb7ef22394 6:63e08b98032f
1 <?php
2
3 class Home extends BaseController {
4 protected function Index() {
5 $viewmodel = new HomeModel();
6 $this->ReturnView($viewmodel->Index(), false);
7 }
8
9 protected function TestAction() {
10 $viewmodel = new HomeModel();
11 $this->ReturnView($viewmodel->Test(), true);
12 }
13
14
15 }
16
17
18 ?>