Class Zend_Validate_EmailAddress

Description

Implements interfaces:

  • license: New BSD License
  • copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Validate/EmailAddress.php (line 41)


	
			
Variable Summary
Method Summary
 Zend_Validate_EmailAddress __construct ([boolean $domainLocalAllowed = false])
 array getMessages ()
 boolean isValid (string $value)
 void setDomainLocalAllowed ( $domainLocalAllowed)
Variables
Zend_Validate_Hostname $_hostnameValidator = null (line 55)

Local object for validating the hostname part of an email address

  • access: protected
array $_messages = array() (line 48)

Array of validation failure messages

  • access: protected
Methods
Constructor __construct (line 63)

Sets validator options

  • access: public
  • todo: Not sure what $domainLocalAllowed is intended for - ask Darby!
Zend_Validate_EmailAddress __construct ([boolean $domainLocalAllowed = false])
  • boolean $domainLocalAllowed
getDomainLocalAllowed (line 75)
  • access: public
  • todo: for ZF 0.8
void getDomainLocalAllowed ()
getMessages (line 180)

Defined by Zend_Validate_Interface

Returns array of validation failure messages

  • access: public
array getMessages ()

Implementation of:
Zend_Validate_Interface::getMessages()
Returns an array of messages that explain why a previous isValid() call returned false
isValid (line 92)

Defined by Zend_Validate_Interface

Returns true if and only if $value is a valid email address

  • access: public
boolean isValid (string $value)
  • string $value

Implementation of:
Zend_Validate_Interface::isValid()
Returns true if and only if $value meets the validation requirements
setDomainLocalAllowed (line 81)
  • access: public
  • todo: for ZF 0.8
void setDomainLocalAllowed ( $domainLocalAllowed)
  • $domainLocalAllowed

Documentation generated on Thu, 18 Jan 2007 10:00:48 -0800 by phpDocumentor 1.3.1