Example #1
0
 function render()
 {
     $oTemplate = new \Flake\Core\Template($this->sTemplatePath);
     $sHtml = $oTemplate->parse($this->aMarkers);
     return $sHtml;
 }
Example #2
0
 public function render()
 {
     $sTemplatePath = $this->templatesPath();
     $oTemplate = new \Flake\Core\Template($this->templatesPath());
     return $oTemplate->parse($this->getData());
 }
Example #3
0
 public function render()
 {
     $this->execute();
     $aRenderedBlocks = $this->renderBlocks();
     $aRenderedBlocks["pagetitle"] = $this->getTitle();
     $aRenderedBlocks["pagemetakeywords"] = $this->getMetaKeywords();
     $aRenderedBlocks["pagemetadescription"] = $this->getMetaDescription();
     $aRenderedBlocks["baseurl"] = $this->getBaseUrl();
     $oTemplate = new \Flake\Core\Template($this->sTemplatePath);
     $sHtml = $oTemplate->parse($aRenderedBlocks);
     return $sHtml;
 }