Definition at line 9 of file newsletter.php.
Public Member Functions | |
render () | |
fill () | |
send () | |
addme () | |
removeme () | |
getTopStartActionArticles () | |
getTopStartArticle () | |
getHomeCountryId () | |
getNewsletterStatus () | |
getRegParams () | |
Protected Attributes | |
$_oActionArticles = null | |
$_oTopArticle = null | |
$_sHomeCountryId = null | |
$_iNewsletterStatus = null | |
$_aRegParams = null | |
$_sThisTemplate = 'newsletter.tpl' | |
$_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW |
Newsletter.render | ( | ) |
Executes parent.render(), loads action articles and returns name of template file to render newsletter._sThisTemplate.
Template variables: toparticle, homecountryid, toparticlelist
Reimplemented from oxUBase.
Definition at line 64 of file newsletter.php.
Newsletter.fill | ( | ) |
Only loads newsletter subscriber data.
Template variables: aRegParams
Definition at line 91 of file newsletter.php.
Newsletter.send | ( | ) |
Checks for newsletter subscriber data, if OK - creates new user as subscriber or assigns existing user to newsletter group and sends confirmation email.
Template variables: success, error, aRegParams
Definition at line 107 of file newsletter.php.
Newsletter.addme | ( | ) |
Loads user and Adds him to newsletter group.
Template variables: success
Definition at line 170 of file newsletter.php.
Newsletter.removeme | ( | ) |
Loads user and removes him from newsletter group.
Template variables: success
Definition at line 189 of file newsletter.php.
Newsletter.getTopStartActionArticles | ( | ) |
Template variable getter. Returns action articlelist
Definition at line 210 of file newsletter.php.
Newsletter.getTopStartArticle | ( | ) |
Template variable getter. Returns top start article
Definition at line 231 of file newsletter.php.
Newsletter.getHomeCountryId | ( | ) |
Template variable getter. Returns country id
Definition at line 247 of file newsletter.php.
Newsletter.getNewsletterStatus | ( | ) |
Template variable getter. Returns newsletter subscription status
Definition at line 264 of file newsletter.php.
Newsletter.getRegParams | ( | ) |
Template variable getter. Returns user newsletter registration data
Definition at line 274 of file newsletter.php.
Newsletter.$_oActionArticles = null [protected] |
Definition at line 15 of file newsletter.php.
Newsletter.$_oTopArticle = null [protected] |
Definition at line 21 of file newsletter.php.
Newsletter.$_sHomeCountryId = null [protected] |
Definition at line 27 of file newsletter.php.
Newsletter.$_iNewsletterStatus = null [protected] |
Definition at line 33 of file newsletter.php.
Newsletter.$_aRegParams = null [protected] |
Definition at line 39 of file newsletter.php.
Newsletter.$_sThisTemplate = 'newsletter.tpl' [protected] |
Newsletter.$_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW [protected] |
Current view search engine indexing state: VIEW_INDEXSTATE_INDEX - index without limitations VIEW_INDEXSTATE_NOINDEXNOFOLLOW - no index / no follow VIEW_INDEXSTATE_NOINDEXFOLLOW - no index / follow
Reimplemented from oxUBase.
Definition at line 52 of file newsletter.php.