protected function _construct() { parent::_construct(); $this->addData(array('cache_lifetime' => false)); // 12 hours $this->addCacheTag(array(Mage_Catalog_Model_Category::CACHE_TAG, Mage_Catalog_Model_Category::CACHE_TAG . '_' . Mage::helper('megamenu')->getCurrentCategoryId())); }
/** * Internal constructor, that is called from real constructor * */ protected function _construct() { parent::_construct(); /* * In case template was passed through constructor * we assign it to block's property _template * Mainly for those cases when block created * not via Mage_Core_Model_Layout::addBlock() */ if ($this->hasData('template')) { $this->setTemplate($this->getData('template')); } }
/** * _construct * * @param array $attributes */ public function _construct($attributes = array()) { parent::_construct($attributes); $this->_prepareOptions(); }
protected function _construct() { parent::_construct(); }
protected function _construct() { parent::_construct(); $this->setData('cache_lifetime', 86400); }
protected function _construct() { $this->_serializer = new Varien_Object(); parent::_construct(); }
protected function _construct() { $this->setTemplate('bradesco/standard/redirect.phtml'); parent::_construct(); }
protected function _construct() { $this->setTemplate('bradesco/transferencia/redirect.phtml'); parent::_construct(); }