Esempio n. 1
0
 protected function loadViewHTML($view, $vars = array())
 {
     $vars = array_merge($this->view->export(), $vars);
     ob_start();
     $view = new solumView($view, $vars);
     $view->view();
     $html = ob_get_contents();
     ob_end_clean();
     //passvar from page tpl to the base view
     $this->view->import($view->export());
     return $html;
 }