Example #1
0
 public function render($a, $b)
 {
     if ($this->_renderLevel !== View::LEVEL_NO_RENDER) {
         $this->_content = EngineSmarty124::getSmarty()->fetch($this->_picked ? $this->_picked . '.tpl' : ($this->namespace ? $this->namespace . '/' : '') . $a . '/' . $b . '.tpl');
     }
 }
Example #2
0
 public function render($controllerName, $actionName, $params = NULL)
 {
     if ($this->_renderLevel !== View::LEVEL_NO_RENDER) {
         $this->_content = EngineSmarty124::getSmarty()->fetch($this->_picked ? $this->_picked . '.tpl' : ($this->namespace ? $this->namespace . '/' : '') . $controllerName . '/' . $actionName . '.tpl');
     }
 }