Public Member Functions | |
render () | |
isNewsletter () | |
subscribe () | |
getSubscriptionStatus () | |
getBreadCrumb () | |
Protected Attributes | |
$_sThisTemplate = 'page/account/newsletter.tpl' | |
$_blNewsletter = null | |
$_iSubscriptionStatus = 0 |
Current user newsletter manager. When user is logged in in this manager window he can modify his newletter subscription status - simply register or unregister from newsletter. OXID eShop -> MY ACCOUNT -> Newsletter.
Definition at line 9 of file account_newsletter.php.
Account_Newsletter.getBreadCrumb | ( | ) |
Returns Bread Crumb - you are here page1/page2/page3...
Reimplemented from Account.
Definition at line 108 of file account_newsletter.php.
Account_Newsletter.getSubscriptionStatus | ( | ) |
Template variable getter. Returns 1 when newsletter had been changed to "yes" else return -1 if had been changed to "no".
Definition at line 98 of file account_newsletter.php.
Account_Newsletter.isNewsletter | ( | ) |
Template variable getter. Returns 0 when newsletter had been changed.
Definition at line 58 of file account_newsletter.php.
Account_Newsletter.render | ( | ) |
If user is not logged in - returns name of template account_newsletter._sThisLoginTemplate, or if user is allready logged in - returns name of template Account_Newsletter._sThisTemplate
Reimplemented from Account.
Definition at line 38 of file account_newsletter.php.
Account_Newsletter.subscribe | ( | ) |
Removes or adds user to newsletter group according to current subscription status. Returns true on success.
Definition at line 74 of file account_newsletter.php.
Account_Newsletter.$_blNewsletter = null [protected] |
Definition at line 22 of file account_newsletter.php.
Account_Newsletter.$_iSubscriptionStatus = 0 [protected] |
Definition at line 29 of file account_newsletter.php.
Account_Newsletter.$_sThisTemplate = 'page/account/newsletter.tpl' [protected] |
Reimplemented from Account.
Definition at line 15 of file account_newsletter.php.