Class iPhorm_Validator_Email

Description

Validator Abstract Class

Located in /iPhorm/Validator/Email.php (line 10)

iPhorm_Validator_Abstract
   |
   --iPhorm_Validator_Email
Method Summary
 True check_domain_portion (strDomainPortion $strDomainPortion)
 True check_local_portion (strLocalPortion $strLocalPortion)
 True check_text_length (strText $strText, intMinimum $intMinimum, intMaximum $intMaximum)
 True isValid (strEmailAddress $strEmailAddress)
Variables
Methods
check_domain_portion (line 121)

Checks email section after "@" symbol for validity

  • return: if domain portion is valid, false if not
  • access: protected
True check_domain_portion (strDomainPortion $strDomainPortion)
  • strDomainPortion $strDomainPortion: Text to be checked
check_local_portion (line 90)

Checks email section before "@" symbol for validity

  • return: if local portion is valid, false if not
  • access: protected
True check_local_portion (strLocalPortion $strLocalPortion)
  • strLocalPortion $strLocalPortion: Text to be checked
check_text_length (line 165)

Check given text length is between defined bounds

  • return: if string is within bounds (inclusive), false if not
  • access: protected
True check_text_length (strText $strText, intMinimum $intMinimum, intMaximum $intMaximum)
  • strText $strText: Text to be checked
  • intMinimum $intMinimum: Minimum acceptable length
  • intMaximum $intMaximum: Maximum acceptable length
isValid (line 17)

Check email address validity

  • return: if email is valid, false if not
  • access: public
True isValid (strEmailAddress $strEmailAddress)
  • strEmailAddress $strEmailAddress: Email address to be checked

Inherited Methods

Inherited From iPhorm_Validator_Abstract

 iPhorm_Validator_Abstract::addMessage()
 iPhorm_Validator_Abstract::getMessages()

Documentation generated on Thu, 24 Feb 2011 22:19:37 +0000 by phpDocumentor 1.4.3