Exemplo n.º 1
0
Arquivo: jade.php Projeto: wushian/MDD
 protected function process_file($file_override = false)
 {
     $file = $file_override ?: $this->file_name;
     static::cache_init($file);
     $file = static::parser()->cache($file);
     return parent::process_file($file);
 }
Exemplo n.º 2
0
 public function action_test()
 {
     $this->template->content = View::forge('contents/add_status.twig');
 }
Exemplo n.º 3
0
 protected static function capture($view_filename, array $view_data)
 {
     static::cache_init($view_filename);
     $file = static::parser()->cache($view_filename);
     return parent::capture($file, $view_data);
 }
Exemplo n.º 4
0
 public static function _init()
 {
     parent::_init();
     Twig_Autoloader::register();
 }