_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()) { if ('y' != Qs_SiteMap::findFirst(null, array('type' => 'Testimonial_'), null, 'enabled')) { return null; } if (!($item = $this->_getDataObj()->getRandom())) { return null; } $item['tpl'] = $this->getTemplate('side-block.tpl'); return $item; } }