Public Member Functions | |
__construct () | |
getProductUnsubscribeUrl ($productId) | |
getUnsubscribeUrl () |
Definition at line 35 of file Stock.php.
__construct | ( | ) |
Constructor
Reimplemented from Varien_Object.
Definition at line 41 of file Stock.php.
00042 { 00043 parent::__construct(); 00044 $this->setTemplate('email/productalert/stock.phtml'); 00045 }
getProductUnsubscribeUrl | ( | $ | productId | ) |
Retrive unsubscribe url for product
int | $productId |
Definition at line 53 of file Stock.php.
00054 { 00055 $params = $this->_getUrlParams(); 00056 $params['product'] = $productId; 00057 return $this->getUrl('productalert/unsubscribe/stock', $params); 00058 }
getUnsubscribeUrl | ( | ) |
Retrieve unsubscribe url for all products
Definition at line 65 of file Stock.php.
00066 { 00067 return $this->getUrl('productalert/unsubscribe/stockAll', $this->_getUrlParams()); 00068 }