Exemple #1
0
 static function do_fetch($file = '', $vars = '')
 {
     $view = parent::do_fetch($file, $vars);
     // post-event
     Event::trigger('template:parse', $view, $vars);
     return $view;
 }
 function __construct($file = '', $vars = '')
 {
     $file = VIEW_PATH . $file;
     return parent::__construct($file, $vars);
 }