Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques statiques | |
static | cleanLine ($value) |
static | cleanText ($value) |
static | cleanBody ($body) |
static | cleanSubject ($subject) |
static | cleanAddress ($address) |
static | isEmailAddress ($email) |
static | convertRelativeToAbsoluteUrls ($content) |
Fonctions membres privées statiques | |
static | checkContent ($content) |
Email helper class, provides static methods to perform various tasks relevant to the Joomla email routines.
|
staticprivate |
|
static |
Verifies that an email address does not have any extra headers injected into it.
string | $address | email address. |
|
static |
Cleans any injected headers from the email body.
string | $body | email body string. |
|
static |
Cleans single line inputs.
string | $value | String to be cleaned. |
Références $value, et PunycodeHelper\emailToPunycode().
Référencé par Mail\add(), 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.
|
static |
Cleans multi-line inputs.
string | $value | Multi-line string to be cleaned. |
Références $value.
Référencé par Mail\setBody().
|
static |
Convert relative (links, images sources) to absolute urls so that content is accessible in email
string | $content | The content need to convert |
Références $attributes, $content, Route\link(), Uri\root(), et Route\TLS_IGNORE.
|
static |
Verifies that the string is in a proper email address format.
string | String to be verified. |
Références PunycodeHelper\toPunycode().
Référencé par User\check(), Factory\createMailer(), et HtmlView\display().