Пример #1
0
 protected function loadTemplate(template\parser\template $tpl, $iKey)
 {
     if ($tpl->useOnce()) {
         unset($this->aTemplates[$iKey]);
     }
     $tpl->build();
     $result = clone $tpl;
     return $result;
 }
Пример #2
0
 protected function parseTemplateElement(template\parser\template $tpl, dom\element $el)
 {
     return $tpl->parseElement($el);
 }
Пример #3
0
 protected function getTreeID(parser\template $tpl, $sToken)
 {
     return $tpl->getID() . $sToken;
 }