Ejemplo n.º 1
0
 /**
  * @return string
  */
 protected function _toHtml()
 {
     $text = $this->_createLabel($this->_getItemCount());
     $this->_label = $text;
     $this->_title = $text;
     $this->_url = $this->getUrl('catalog/product_compare');
     return parent::_toHtml();
     return '';
 }
Ejemplo n.º 2
0
 /**
  * @return string
  */
 protected function _toHtml()
 {
     if ($this->helper('wishlist')->isAllow()) {
         $text = $this->_createLabel($this->_getItemCount());
         $this->_label = $text;
         $this->_title = $text;
         $this->_url = $this->getUrl('wishlist');
         return parent::_toHtml();
     }
     return '';
 }