view develop/controllers/home.php @ 12:e82ca7375e93

Integration with LocalGazetteerService (LGService), getting text from LGService and saving text to LGService. Adjust the control flow (controller).
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 16 Feb 2015 16:51:39 +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);
    }

	
}


?>