Inheritance diagram for oxNewsSubscribed:
Collaboration diagram for oxNewsSubscribed:Public Member Functions | |
| __construct () | |
| load ($oxId) | |
| loadFromEmail ($sEmailAddress) | |
| loadFromUserId ($sOxUserId) | |
| getOptInStatus () | |
| setOptInStatus ($iStatus) | |
| getOptInEmailStatus () | |
| setOptInEmailStatus ($iStatus) | |
| wasUnsubscribed () | |
| updateSubscription ($oUser) | |
Protected Member Functions | |
| _insert () | |
| _update () | |
Protected Attributes | |
| $_blWasSubscribed = false | |
| $_blWasPreSubscribed = false | |
| $_sClassName = 'oxnewssubscribed' | |
Newsletter Subscriptions manager Performs user managing function information, deletion and other.
Definition at line 8 of file oxnewssubscribed.php.
| oxNewsSubscribed.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxBase()).
Reimplemented from oxBase.
Definition at line 35 of file oxnewssubscribed.php.
| oxNewsSubscribed._insert | ( | ) | [protected] |
Inserts nbews object data to DB. Returns true on success.
Reimplemented from oxBase.
Definition at line 99 of file oxnewssubscribed.php.
| oxNewsSubscribed._update | ( | ) | [protected] |
We need to check if we unsubscribe here
Reimplemented from oxBase.
Definition at line 111 of file oxnewssubscribed.php.
| oxNewsSubscribed.getOptInEmailStatus | ( | ) |
Newsletter subscription email sending status getter
Definition at line 159 of file oxnewssubscribed.php.
| oxNewsSubscribed.getOptInStatus | ( | ) |
Newsletter subscription status getter
Definition at line 136 of file oxnewssubscribed.php.
| oxNewsSubscribed.load | ( | $ | oxId | ) |
Loads object (newssubscription) details from DB. Returns true on success.
| string | $oxId oxnewssubscribed ID |
Reimplemented from oxBase.
Definition at line 51 of file oxnewssubscribed.php.
| oxNewsSubscribed.loadFromEmail | ( | $ | sEmailAddress | ) |
Loader which loads news subscription according to subscribers email address
| string | $sEmailAddress subscribers email address |
Definition at line 71 of file oxnewssubscribed.php.
| oxNewsSubscribed.loadFromUserId | ( | $ | sOxUserId | ) |
Loader which loads news subscription according to subscribers oxid
| string | $sOxUserId subscribers oxid |
Definition at line 87 of file oxnewssubscribed.php.
| oxNewsSubscribed.setOptInEmailStatus | ( | $ | iStatus | ) |
Newsletter subscription email sending status setter
| int | $iStatus subscription status |
Definition at line 171 of file oxnewssubscribed.php.
| oxNewsSubscribed.setOptInStatus | ( | $ | iStatus | ) |
Newsletter subscription status setter
| int | $iStatus subscription status |
Definition at line 148 of file oxnewssubscribed.php.
| oxNewsSubscribed.updateSubscription | ( | $ | oUser | ) |
This method is called from oxuser.update. Currently it updates user information kept in db
| oxuser | $oUser subscription user object |
Definition at line 198 of file oxnewssubscribed.php.
| oxNewsSubscribed.wasUnsubscribed | ( | ) |
Check if was ever unsubscribed by unsubscribed field.
Definition at line 182 of file oxnewssubscribed.php.
oxNewsSubscribed.$_blWasPreSubscribed = false [protected] |
Definition at line 22 of file oxnewssubscribed.php.
oxNewsSubscribed.$_blWasSubscribed = false [protected] |
Definition at line 15 of file oxnewssubscribed.php.
oxNewsSubscribed.$_sClassName = 'oxnewssubscribed' [protected] |
Reimplemented from oxBase.
Definition at line 29 of file oxnewssubscribed.php.
1.7.1