Definition at line 9 of file account_newsletter.php.
Public Member Functions | |
render () | |
isNewsletter () | |
subscribe () | |
getSubscriptionStatus () | |
Protected Attributes | |
$_sThisTemplate = 'account_newsletter.tpl' | |
$_blNewsletter = null | |
$_iSubsriptionStatus = 0 |
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
Template variables: blnewsletter, actshop
Reimplemented from Account.
Definition at line 41 of file account_newsletter.php.
Account_Newsletter.isNewsletter | ( | ) |
Template variable getter. Returns true when newsletter had been changed.
Definition at line 66 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 89 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 124 of file account_newsletter.php.
Account_Newsletter.$_sThisTemplate = 'account_newsletter.tpl' [protected] |
Account_Newsletter.$_blNewsletter = null [protected] |
Definition at line 22 of file account_newsletter.php.
Account_Newsletter.$_iSubsriptionStatus = 0 [protected] |
Definition at line 29 of file account_newsletter.php.