Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques statiques | |
static | cleanLine ($value) |
static | cleanText ($value) |
static | cleanBody ($body) |
static | cleanSubject ($subject) |
static | cleanAddress ($address) |
static | isEmailAddress ($email) |
Email helper class, provides static methods to perform various tasks relevant to the Joomla email routines.
TODO: Test these methods as the regex work is first run and not tested thoroughly
|
static |
Verifies that an email address does not have any extra headers injected into it.
string | $address | email address. |
Référencé par MailWrapper\cleanAddress().
|
static |
Cleans any injected headers from the email body.
string | $body | email body string. |
Référencé par MailWrapper\cleanBody().
|
static |
Cleans single line inputs.
string | $value | String to be cleaned. |
Références $value.
Référencé par Mail\add(), MailWrapper\cleanLine(), Factory\createMailer(), Mail\setSender(), et Mail\setSubject().
|
static |
Cleans any injected headers from the subject string.
string | $subject | email subject string. |
Références $subject.
Référencé par MailWrapper\cleanSubject().
|
static |
Cleans multi-line inputs.
string | $value | Multi-line string to be cleaned. |
Références $value.
Référencé par MailWrapper\cleanText(), et Mail\setBody().
|
static |
Verifies that the string is in a proper email address format.
string | String to be verified. |
Référencé par Factory\createMailer(), et MailWrapper\isEmailAddress().