Account_Newsletter Class Reference

Inheritance diagram for Account_Newsletter:

Inheritance graph
Collaboration diagram for Account_Newsletter:

Collaboration graph

List of all members.

Detailed Description

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.

Public Member Functions

 render ()
 isNewsletter ()
 subscribe ()
 getSubscriptionStatus ()

Protected Attributes

 $_sThisTemplate = 'account_newsletter.tpl'
 $_blNewsletter = null
 $_iSubsriptionStatus = 0

Member Function Documentation

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.

Member Data Documentation

Account_Newsletter.$_sThisTemplate = 'account_newsletter.tpl' [protected]

Reimplemented from Account.

Definition at line 15 of file account_newsletter.php.

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.

The documentation for this class was generated from the following file:

Generated on Wed Apr 22 12:26:38 2009 for OXID eShop CE by  doxygen 1.5.5