Difference between revisions of "JMailHelper::cleanAddress"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (→See also: moving preparation) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JMailHelper::cleanAddress|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JMailHelper::cleanAddress|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function cleanAddress ($address) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 27: | Line 24: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' string|false email address string or boolean false if injected headers are present. | |
− | string|false email address string or boolean false if injected headers are present. | + | * '''Defined''' on line 85 of libraries/joomla/mail/helper.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/mail/helper.php | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JMailHelper::cleanAddress source code''' on [[jplatform:mail/helper.php#cl-77|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[API17:JMailHelper|JMailHelper]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Mail|Mail]] | ||
+ | * [[API17:JMailHelper::cleanAddress|Other versions of JMailHelper::cleanAddress]] | ||
+ | {{SeeAlso:JMailHelper::cleanAddress}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JMailHelper::cleanAddress|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JMailHelper::cleanAddress|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 47: | Line 44: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 21:11, 11 May 2013
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JMailHelper::cleanAddress[edit]
Description[edit]
Verifies that an email address does not have any extra headers injected into it.
Template:Description:JMailHelper::cleanAddress [Edit Descripton]
public static function cleanAddress ($address)
Parameter | Type | Default | Description |
---|---|---|---|
$address | string | email address. |
- Returns string|false email address string or boolean false if injected headers are present.
- Defined on line 85 of libraries/joomla/mail/helper.php
- Since
See also[edit]
- JMailHelper::cleanAddress source code on BitBucket
- Class JMailHelper
- Subpackage Mail
- Other versions of JMailHelper::cleanAddress
Template:SeeAlso:JMailHelper::cleanAddress [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />