

Public Member Functions | |
| __construct () | |
| setMallUsers ($blMallUsers) | |
| load ($oxId) | |
| loadFromEmail ($sEmailAddress) | |
| loadFromUserId ($sOxUserId) | |
| getOptInStatus () | |
| setOptInStatus ($iStatus) | |
| getOptInEmailStatus () | |
| setOptInEmailStatus ($iStatus) | |
| updateSubscription ($oUser) | |
Protected Member Functions | |
| _insert () | |
| _update () | |
Protected Attributes | |
| $_blWasSubscribed = false | |
| $_sClassName = 'oxnewssubscribed' | |
| oxNewsSubscribed.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxBase()).
Reimplemented from oxBase.
| oxNewsSubscribed.setMallUsers | ( | $ | blMallUsers | ) |
| oxNewsSubscribed.load | ( | $ | oxId | ) |
Loads object (newssubscription) details from DB. Returns true on success.
| string | $oxId oxnewssubscribed ID |
Reimplemented from oxBase.
| oxNewsSubscribed.loadFromEmail | ( | $ | sEmailAddress | ) |
Loader which loads news subscription according to subscribers email address
| string | $sEmailAddress subscribers email address |
| oxNewsSubscribed.loadFromUserId | ( | $ | sOxUserId | ) |
Loader which loads news subscription according to subscribers oxid
| string | $sOxUserId subscribers oxid |
| oxNewsSubscribed._insert | ( | ) | [protected] |
Inserts nbews object data to DB. Returns true on success.
Reimplemented from oxBase.
| oxNewsSubscribed._update | ( | ) | [protected] |
We need to check if we unsubscribe here
Reimplemented from oxBase.
| oxNewsSubscribed.getOptInStatus | ( | ) |
| oxNewsSubscribed.setOptInStatus | ( | $ | iStatus | ) |
| oxNewsSubscribed.getOptInEmailStatus | ( | ) |
| oxNewsSubscribed.setOptInEmailStatus | ( | $ | iStatus | ) |
Newsletter subscription email sending status setter
| int | $iStatus subscription status |
| oxNewsSubscribed.updateSubscription | ( | $ | oUser | ) |
oxNewsSubscribed.$_blWasSubscribed = false [protected] |
oxNewsSubscribed.$_sClassName = 'oxnewssubscribed' [protected] |
Reimplemented from oxBase.
1.5.5