/** * Get the skin files (images) url for the selected theme and area * * @param string $file * @param array $params * @return string */ public function getSkinUrl($file = null, array $params = array()) { if (empty($params['_area'])) { $params['_area'] = $this->getArea(); } if (empty($params['_theme'])) { $params['_theme'] = $this->getTheme(); } return parent::getSkinUrl($file, $params); }
/** * Get the breadcrumb HTML view * * @return string HTML */ protected function _toHtml() { if (is_array($this->_crumbs)) { reset($this->_crumbs); $this->_crumbs[key($this->_crumbs)]['first'] = true; end($this->_crumbs); $this->_crumbs[key($this->_crumbs)]['last'] = true; } $this->assign('crumbs', $this->_crumbs); return parent::_toHtml(); }
public function _prepareLayout() { $this->addMessages(App_Main::getSingleton('core/session')->getMessages(true)); parent::_prepareLayout(); }
/** * Prepare html output * * @return string */ protected function _toHtml() { return parent::_toHtml(); }
/** * Get HTML view for a child block sorted * If name is not specified, this will return the HTML of all the child blocks * * @param string $name * @param bool $useCache * @param bool $sorted * @return type */ public function getChildHtml($name = '', $useCache = true, $sorted = true) { return parent::getChildHtml($name, $useCache, $sorted); }
/** * */ public function __construct() { parent::__construct(); $this->_beforeCacheUrl(); }