public function _construct() { parent::_construct(); $this->setTemplate('aw_collpur/customer/coupons.phtml'); $this->_bridge = Mage::getBlockSingleton('collpur/customer_dealview'); $this->setAvailablePurchaseCoupons($this->getCustomerCoupons()); }
protected function _toHtml() { return parent::_toHtml(); }
protected function _toHtml() { /** Add coupons block */ $couponsGrid = Mage::getBlockSingleton('collpur/customer_coupons'); $this->setChild('awcp_coupons_grid', $couponsGrid); return parent::_toHtml(); }