/** * Render additional header html * * @return string */ protected function _toHtml() { $text = $this->__('(Not %s?)', $this->escapeHtml(Mage::helper('persistent/session')->getCustomer()->getName())); $this->setAnchorText($text); $this->setHref($this->getUrl('persistent/index/unsetCookie')); return parent::_toHtml(); }
/** * Render block HTML * or return empty string if url can't be prepared * * @return string */ protected function _toHtml() { if ($this->getHref()) { return parent::_toHtml(); } return ''; }
protected function _toHtml() { return parent::_toHtml(); }
/** * Render block HTML * * @return string */ protected function _toHtml() { if ($this->getNodeId()) { $this->_node = Mage::getModel('enterprise_cms/hierarchy_node')->load($this->getNodeId()); } else { $this->_node = Mage::registry('current_cms_hierarchy_node'); } if (!$this->_node) { return ''; } return parent::_toHtml(); }