Public Member Functions | |
getConfirmationUrl ($subscriber) | |
getUnsubscribeUrl ($subscriber) |
Definition at line 35 of file Data.php.
getConfirmationUrl | ( | $ | subscriber | ) |
Retrieve subsription confirmation url
Mage_Newsletter_Model_Subscriber | $subscriber |
Definition at line 43 of file Data.php.
00044 { 00045 return Mage::getModel('core/url') 00046 ->setStore($subscriber->getStoreId()) 00047 ->getUrl('newsletter/subscriber/confirm', array( 00048 'id' => $subscriber->getId(), 00049 'code' => $subscriber->getCode(), 00050 '_nosid' => true 00051 )); 00052 }
getUnsubscribeUrl | ( | $ | subscriber | ) |
Retrieve unsubsription url
Mage_Newsletter_Model_Subscriber | $subscriber |
Definition at line 60 of file Data.php.
00061 { 00062 return Mage::getModel('core/url') 00063 ->setStore($subscriber->getStoreId()) 00064 ->getUrl('newsletter/subscriber/unsubscribe', array( 00065 'id' => $subscriber->getId(), 00066 'code' => $subscriber->getCode(), 00067 '_nosid' => true 00068 )); 00069 }