public function render(WF_Application_Response $response) { ob_start(); if (file_exists($this->_layoutFile)) { include $this->_layoutFile; } else { include $this->_tplFile; } $response->setContent(ob_get_clean()); }
public function render(WF_Application_Response $response) { //die($this->_smarty->fetch($this->_tplFile)); $response->setContent($this->_smarty->fetch($this->_tplFile)); }