Example #1
0
 private function renderPhp()
 {
     $this->assignGlobals();
     if (!file_exists($this->file)) {
         die("TemplateEngine::renderPhp() - File not found (" . $this->file . ")");
     }
     ob_start();
     Sys::get('module_controller')->includeView($this->file, $this->assigned);
     $this->output = ob_get_clean();
     return true;
 }