protected function _construct()
 {
     parent::_construct();
     if ($this->getCmsmode()) {
         AW_Collpur_Helper_Deals::setActiveMenus($this->getCmsmode());
     }
     $this->setTemplate('aw_collpur/deals/list.phtml');
     $this->setAvailableDealsScope($this->getAvailableDeals());
 }
Exemple #2
0
 protected function _construct()
 {
     parent::_construct();
     if ($this->getCmsdeal()) {
         $this->_cmsdeal = $this->getCmsdeal();
     }
     $this->setTemplate('aw_collpur/deals/view.phtml');
     $this->_awcpStoreModel = Mage::app()->getStore();
     $this->_currencyHelper = Mage::helper('core');
     $this->_dealModel = Mage::getModel('collpur/deal');
     $this->_bridge = Mage::getBlockSingleton('collpur/deals');
     $this->_mode = 'product';
     $this->imageType = 'image';
 }