Public Member Functions | |
getCustomerCollection () | |
loadByParam () | |
deleteCustomer ($customerId, $websiteId=0) | |
Protected Member Functions | |
_construct () |
Definition at line 35 of file Stock.php.
_construct | ( | ) | [protected] |
Enter description here...
Reimplemented from Varien_Object.
Definition at line 37 of file Stock.php.
00038 { 00039 $this->_init('productalert/stock'); 00040 }
deleteCustomer | ( | $ | customerId, | |
$ | websiteId = 0 | |||
) |
Definition at line 55 of file Stock.php.
00056 { 00057 $this->getResource()->deleteCustomer($this, $customerId, $websiteId); 00058 return $this; 00059 }
getCustomerCollection | ( | ) |
Definition at line 42 of file Stock.php.
00043 { 00044 return Mage::getResourceModel('productalert/stock_customer_collection'); 00045 }
loadByParam | ( | ) |
Definition at line 47 of file Stock.php.
00048 { 00049 if (!is_null($this->getProductId()) && !is_null($this->getCustomerId()) && !is_null($this->getWebsiteId())) { 00050 $this->getResource()->loadByParam($this); 00051 } 00052 return $this; 00053 }