XOOPS
2.6.0
|
Public Member Functions | |
__construct () | |
addHeaders ($value) | |
assign ($tag, $value=null) | |
encodeBody (&$text) | |
encodeFromName ($text) | |
encodeSubject ($text) | |
getErrors ($ashtml=true) | |
getSuccess ($ashtml=true) | |
reset () | |
send ($debug=false) | |
setBody ($value) | |
setFromEmail ($value) | |
setFromName ($value) | |
setFromUser (XoopsUser $user) | |
setHTML ($value=true) | |
setPriority ($value) | |
setSubject ($value) | |
setTemplate ($value) | |
setTemplateDir ($value=null) | |
setToEmails ($email) | |
setToGroups ($groups) | |
setToUsers ($users) | |
useMail () | |
usePM () | |
Protected Attributes | |
$charSet = 'iso-8859-1' | |
$encoding = '8bit' | |
$multimailer | |
Private Member Functions | |
getTemplatePath () | |
sendMail ($email, $subject, $body, $headers) | |
sendPM ($uid, $subject, $body) | |
Private Attributes | |
$assignedTags | |
$body | |
$errors | |
$fromEmail | |
$fromName | |
$fromUser | |
$headers | |
$isMail | |
$isPM | |
$LE | |
$priority | |
$subject | |
$success | |
$template | |
$templatedir | |
$toEmails | |
$toUsers | |
Definition at line 33 of file xoopsmailer.php.
XoopsMailer::__construct | ( | ) |
Constructor
Definition at line 165 of file xoopsmailer.php.
References reset().
XoopsMailer::addHeaders | ( | $value | ) |
XoopsMailer::assign | ( | $tag, | |
$value = null |
|||
) |
string | array | $tag | |
null | $value |
Definition at line 539 of file xoopsmailer.php.
Referenced by send().
XoopsMailer::encodeBody | ( | & | $text | ) |
abstract, to be overridden by lang specific mail class, if needed
string | $text |
Definition at line 645 of file xoopsmailer.php.
Referenced by sendMail().
XoopsMailer::encodeFromName | ( | $text | ) |
abstract, to be overridden by lang specific mail class, if needed
$text |
Definition at line 623 of file xoopsmailer.php.
References $text.
Referenced by sendMail().
XoopsMailer::encodeSubject | ( | $text | ) |
abstract, to be overridden by lang specific mail class, if needed
string | $text |
Definition at line 634 of file xoopsmailer.php.
References $text.
Referenced by sendMail().
XoopsMailer::getErrors | ( | $ashtml = true | ) |
bool | $ashtml |
Definition at line 502 of file xoopsmailer.php.
References $error, $errors, and XoopsLocaleEn_US\ERRORS.
XoopsMailer::getSuccess | ( | $ashtml = true | ) |
Definition at line 519 of file xoopsmailer.php.
References $success.
|
private |
Definition at line 227 of file xoopsmailer.php.
References $path, $template, $xoops, XoopsLoad\fileExists(), XoopsBaseConfig\get(), and Xoops\getInstance().
Referenced by send().
XoopsMailer::reset | ( | ) |
reset all properties to default
Definition at line 187 of file xoopsmailer.php.
Referenced by __construct().
XoopsMailer::send | ( | $debug = false | ) |
bool | $debug |
Definition at line 331 of file xoopsmailer.php.
References $body, $headers, $path, $priority, $subject, $text, $user, $xoops, assign(), XoopsLocaleEn_US\E_MESSAGE_BODY_NOT_SET, XoopsLocaleEn_US\E_TEMPLATE_FILE_NOT_OPENED, XoopsLocaleEn_US\EF_EMAIL_NOT_SENT_TO, XoopsLocaleEn_US\EF_PRIVATE_MESSAGE_NOT_SENT_TO, XoopsBaseConfig\get(), Xoops\getInstance(), getTemplatePath(), sendMail(), sendPM(), setBody(), XoopsLocaleEn_US\SF_EMAIL_SENT_TO, and XoopsLocaleEn_US\SF_PRIVATE_MESSAGE_SENT_TO.
|
private |
Send email
Uses the new XoopsMultiMailer
string | ||
string | $subject | |
string | $body | |
array | $headers |
Definition at line 470 of file xoopsmailer.php.
References $body, $charSet, $email, $encoding, $fromEmail, $header, $subject, encodeBody(), encodeFromName(), and encodeSubject().
Referenced by send().
|
private |
int | $uid | |
string | $subject | |
string | $body |
Definition at line 441 of file xoopsmailer.php.
References $body, $pm_handler, $subject, $uid, $xoops, and Xoops\getInstance().
Referenced by send().
XoopsMailer::setBody | ( | $value | ) |
string | $value |
Definition at line 306 of file xoopsmailer.php.
Referenced by send().
XoopsMailer::setFromEmail | ( | $value | ) |
XoopsMailer::setFromName | ( | $value | ) |
XoopsMailer::setFromUser | ( | XoopsUser | $user | ) |
XoopsUser | $user |
Definition at line 279 of file xoopsmailer.php.
References $user.
XoopsMailer::setHTML | ( | $value = true | ) |
reset all properties to default
bool | $value |
Definition at line 177 of file xoopsmailer.php.
XoopsMailer::setPriority | ( | $value | ) |
XoopsMailer::setSubject | ( | $value | ) |
XoopsMailer::setTemplate | ( | $value | ) |
XoopsMailer::setTemplateDir | ( | $value = null | ) |
string | $value |
Definition at line 213 of file xoopsmailer.php.
References $xoops, DIRECTORY_SEPARATOR, and Xoops\getInstance().
XoopsMailer::setToEmails | ( | ) |
Definition at line 570 of file xoopsmailer.php.
References $email, $xoops, and Xoops\getInstance().
XoopsMailer::setToGroups | ( | $groups | ) |
XoopsGroup | $group |
Definition at line 603 of file xoopsmailer.php.
References $groups, Xoops\getInstance(), and setToUsers().
XoopsMailer::setToUsers | ( | $users | ) |
XoopsUser | array | $user |
Definition at line 588 of file xoopsmailer.php.
Referenced by setToGroups().
XoopsMailer::useMail | ( | ) |
Definition at line 314 of file xoopsmailer.php.
XoopsMailer::usePM | ( | ) |
Definition at line 322 of file xoopsmailer.php.
|
private |
Definition at line 128 of file xoopsmailer.php.
|
private |
Definition at line 99 of file xoopsmailer.php.
Referenced by send(), sendMail(), and sendPM().
|
protected |
Definition at line 143 of file xoopsmailer.php.
Referenced by sendMail().
|
protected |
Definition at line 148 of file xoopsmailer.php.
Referenced by sendMail().
|
private |
Definition at line 106 of file xoopsmailer.php.
Referenced by getErrors().
|
private |
Definition at line 49 of file xoopsmailer.php.
Referenced by sendMail().
|
private |
Definition at line 56 of file xoopsmailer.php.
|
private |
Definition at line 63 of file xoopsmailer.php.
|
private |
Definition at line 85 of file xoopsmailer.php.
Referenced by send().
|
private |
Definition at line 118 of file xoopsmailer.php.
|
private |
Definition at line 123 of file xoopsmailer.php.
|
private |
Definition at line 158 of file xoopsmailer.php.
Referenced by addHeaders().
|
protected |
Definition at line 42 of file xoopsmailer.php.
|
private |
Definition at line 153 of file xoopsmailer.php.
Referenced by send().
|
private |
Definition at line 92 of file xoopsmailer.php.
Referenced by send(), sendMail(), and sendPM().
|
private |
Definition at line 113 of file xoopsmailer.php.
Referenced by getSuccess().
|
private |
Definition at line 133 of file xoopsmailer.php.
Referenced by getTemplatePath().
|
private |
Definition at line 138 of file xoopsmailer.php.
|
private |
Definition at line 77 of file xoopsmailer.php.
|
private |
Definition at line 70 of file xoopsmailer.php.