
Public Member Functions | |
| getCustomer () | |
| getChangePasswordUrl () | |
| getSubscriptionObject () | |
| getIsSubscribed () | |
| isNewsletterEnabled () | |
Definition at line 35 of file Info.php.
| getChangePasswordUrl | ( | ) |
Definition at line 42 of file Info.php.
00043 { 00044 return Mage::getUrl('*/account/edit/changepass/1'); 00045 }
| getCustomer | ( | ) |
Definition at line 37 of file Info.php.
00038 { 00039 return Mage::getSingleton('customer/session')->getCustomer(); 00040 }
| getIsSubscribed | ( | ) |
Gets Customer subscription status
Definition at line 66 of file Info.php.
00067 { 00068 return $this->getSubscriptionObject()->isSubscribed(); 00069 }
| getSubscriptionObject | ( | ) |
Get Customer Subscription Object Information
Definition at line 52 of file Info.php.
00053 { 00054 if(is_null($this->_subscription)) { 00055 $this->_subscription = Mage::getModel('newsletter/subscriber')->loadByCustomer(Mage::getSingleton('customer/session')->getCustomer()); 00056 } 00057 00058 return $this->_subscription; 00059 }
| isNewsletterEnabled | ( | ) |
1.5.8