protected function _toHtml() { $this->setType('adjnav/catalog_layer_view'); $html = parent::_toHtml(); $html = Mage::helper('aitunits/event')->addAfterToHtml($html, $this); return $html; }
/** * Check availability display layer block * * @return bool */ public function canShowBlock() { $availableResCount = (int) Mage::app()->getStore()->getConfig(Mage_CatalogSearch_Model_Layer::XML_PATH_DISPLAY_LAYER_COUNT); if (!$availableResCount || $availableResCount >= $this->getLayer()->getProductCollection()->getSize()) { return parent::canShowBlock(); } return false; }
public function getStateInfo() { return parent::getStateInfo(); }