Beispiel #1
0
 protected static function displayPage($file)
 {
     $template = new TemplatePage($file);
     $template->assignGlobals(self::$templateGlobals);
     $template->assign(self::$templateVars);
     $result = $template->display();
     App::setTranslation('controllers/' . App::getController());
     return $result;
 }
Beispiel #2
0
 protected static function displayPage($file)
 {
     $template = new TemplatePage($file);
     $template->assignGlobals(self::$templateGlobals);
     $template->assign(self::$templateVars);
     $result = $template->display();
     return $result;
 }