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