Exemple #1
0
 public function _construct()
 {
     parent::_construct();
     $this->setTemplate('aw_collpur/customer/coupons.phtml');
     $this->_bridge = Mage::getBlockSingleton('collpur/customer_dealview');
     $this->setAvailablePurchaseCoupons($this->getCustomerCoupons());
 }
 public function _construct()
 {
     parent::_construct();
     $this->setTemplate('aw_collpur/customer/deals.phtml');
     $this->setAvailableDealsScope($this->getCustomerPurchases());
 }
 protected function _construct()
 {
     parent::_construct();
     $this->_rewriteResource = Mage::getResourceModel('collpur/rewrite');
 }