예제 #1
0
파일: Page.php 프로젝트: jne21/hatatool
 function renderProperty($propertyName, $data)
 {
     $tpl = new Template($this->{$propertyName});
     $this->{$propertyName} = $tpl->apply($data);
     return $this;
 }
예제 #2
0
파일: Renderer.php 프로젝트: jne21/hatatool
 function updateContent($data)
 {
     $tpl = new Template($this->content);
     $this->content = $tpl->apply($data);
     return $this;
 }