view controllers/home.php @ 55:e930eb88b547 extractapp

bug fixed: when addTagTitle, removing self-closing tag which causes error in coloring tag
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 30 Mar 2015 15:43:47 +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);
    }

	
}


?>