

Public Member Functions | |
| __construct () | |
| delete ($sOxId=null) | |
| getGroups () | |
| getHtmlText () | |
| getPlainText () | |
| prepare ($sUserid, $blPerfLoadAktion=false) | |
| send () | |
Protected Member Functions | |
| _setParams ($oShop, $oCurrency, $blPerfLoadAktion=false) | |
| _setUser ($sUserid) | |
| _assignProducts ($blPerfLoadAktion=false) | |
| _setFieldData ($sFieldName, $sValue, $iDataType=oxField::T_TEXT) | |
Protected Attributes | |
| $_oSmarty = null | |
| $_sHtmlText = null | |
| $_sPlainText = null | |
| $_oGroups = null | |
| $_oUser = null | |
| $_sClassName = 'oxnewsletter' | |
| oxNewsletter.__construct | ( | ) |
Class constructor, initiates Smarty engine object, parent constructor (parent.oxBase()).
Reimplemented from oxBase.
| oxNewsletter.delete | ( | $ | sOxId = null |
) |
Deletes object information from DB, returns true on success.
| string | $sOxId object ID (default null) |
Reimplemented from oxBase.
| oxNewsletter.getGroups | ( | ) |
| oxNewsletter.getHtmlText | ( | ) |
Returns assigned HTML text
| oxNewsletter.getPlainText | ( | ) |
Returns assigned plain text
| oxNewsletter.prepare | ( | $ | sUserid, | |
| $ | blPerfLoadAktion = false | |||
| ) |
Creates oxshop object and sets base parameters (such as currency and language).
| string | $sUserid User ID or OBJECT | |
| bool | $blPerfLoadAktion perform option load actions |
| oxNewsletter.send | ( | ) |
Creates oxemail object, calls mail sending function (oxEMail.sendNewsletterMail()), returns true on success (if mailing function was unable to complete, sets emailing to user failure status in DB).
| oxNewsletter._setParams | ( | $ | oShop, | |
| $ | oCurrency, | |||
| $ | blPerfLoadAktion = false | |||
| ) | [protected] |
| oxNewsletter._setUser | ( | $ | sUserid | ) | [protected] |
| oxNewsletter._assignProducts | ( | $ | blPerfLoadAktion = false |
) | [protected] |
| oxNewsletter._setFieldData | ( | $ | sFieldName, | |
| $ | sValue, | |||
| $ | iDataType = oxField::T_TEXT | |||
| ) | [protected] |
Sets data field value
| string | $sFieldName index OR name (eg. 'oxarticles__oxtitle') of a data field to set | |
| string | $sValue value of data field | |
| int | field type |
Reimplemented from oxBase.
oxNewsletter.$_oSmarty = null [protected] |
oxNewsletter.$_sHtmlText = null [protected] |
oxNewsletter.$_sPlainText = null [protected] |
oxNewsletter.$_oGroups = null [protected] |
oxNewsletter.$_oUser = null [protected] |
oxNewsletter.$_sClassName = 'oxnewsletter' [protected] |
Reimplemented from oxBase.
1.5.5