API17

Difference between revisions of "JMailHelper::isEmailAddress"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JMailHelper::isEmailAddress|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JMailHelper::isEmailAddress|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JMailHelper::isEmailAddress ($email)
+
public static function isEmailAddress ($email)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True if string has the correct format; false otherwise.
boolean True if string has the correct format; false otherwise.
+
* '''Defined''' on line 101 of libraries/joomla/mail/helper.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/mail/helper.php (line 101)
+
* '''Referenced by'''
* see source code in [[jplatform:mail/helper.php#cl-101|BitBucket]]
+
** [[JTableUser::check/11.1|JTableUser::check]]
===Referenced by===
 
* [[JTableUser::check/11.1|JTableUser::check]]
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JMailHelper::isEmailAddress source code''' on [[jplatform:mail/helper.php#cl-93|BitBucket]]
 +
* {{JVer|11.1}} Class [[JMailHelper/11.1|JMailHelper]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Mail/11.1|Mail]]
 +
* [[JMailHelper::isEmailAddress|Other versions of JMailHelper::isEmailAddress]]
 +
{{SeeAlso:JMailHelper::isEmailAddress}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JMailHelper::isEmailAddress|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JMailHelper::isEmailAddress|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JMailHelper/11.1|JMailHelper]]
+
===User contributed notes===
* [[JMailHelper::isEmailAddress|Other versions of this method]]
 
{{SeeAlso:JMailHelper::isEmailAddress}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 49: Line 46:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JMailHelper]][[Category:JMailHelper::isEmailAddress]]</noinclude>
 
<noinclude>[[Category:JMailHelper]][[Category:JMailHelper::isEmailAddress]]</noinclude>

Revision as of 21:22, 27 April 2011

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.

Joomla 11.1 JMailHelper::isEmailAddress[edit]

Description[edit]

Verifies that the string is in a proper email address format.

Template:Description:JMailHelper::isEmailAddress [Edit Descripton]

public static function isEmailAddress ($email)
Parameter Type Default Description
$email string String to be verified.
  • Returns boolean True if string has the correct format; false otherwise.
  • Defined on line 101 of libraries/joomla/mail/helper.php
  • Since Joomla 11.1
  • Referenced by

See also[edit]

Template:SeeAlso:JMailHelper::isEmailAddress [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />