_templatePath) { $class = get_class($this); $this->_templatePath = substr($class, 0, strrpos($class, '_')); if (0 === strpos($this->_templatePath, 'App_')) { $this->_templatePath = substr($this->_templatePath, 4); } $this->_templatePath = array(str_replace('_', '/', $this->_templatePath), 'ViewController'); } return $this->_templatePath; } public function getSideBlockItem(array $blockData = array()) { $item = $this->_getDataObj()->getRandom(); if (!empty($item)) { $item['tpl'] = $this->getTemplate('side-block.tpl'); } return $item; } }