Exemplo n.º 1
0
 public static function getModelForView($id = NULL)
 {
     $view = \Glg\Mvc\View\ViewHelper::getView($id);
     return $view->model;
 }
Exemplo n.º 2
0
<?php

use Glg\Mvc\View\ViewHelper;
?>
<html>
<head>
	<title></title>
</head>
<body>

	Master template:<br />
	
	<?php 
//ViewHelper::renderView("statsView");
?>
	<?php 
ViewHelper::renderView("moviesView");
?>
	
</body>
</html>