Example #1
0
 public function replaceSections($template)
 {
     //sectionを変換する
     $view = new HTMLViewComponent($template);
     $template = $view->compile();
     return $template;
 }
 function compile(Engine $factory)
 {
     $closure = $this->func;
     $obj = new HTMLViewComponent($this->template, $closure);
     $obj->_holderName = $this->getHolderName();
     return $obj->compile();
 }