public function __construct() { parent::__construct(); $customerid = Mage::getSingleton("customer/session")->getCustomerId(); $collection = Mage::getResourceModel("rewardsystem/customerdetails_collection")->addFieldToFilter("cusid", $customerid); $this->setCollection($collection); }
public function __construct() { parent::__construct(); }