[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 183 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
EmailAddressValidator:: (4 methods):
checkEmailAddress()
checkLocalPortion()
checkDomainPortion()
checkTextLength()
Class: EmailAddressValidator - X-Ref
Class EmailAddressValidatorcheckEmailAddress($emailAddress, $allowLocal = false) X-Ref |
Check email address validity param: string $emailAddress Email address to be checked param: bool $allowLocal allow local domains return: bool Whether email is valid |
checkLocalPortion($localPortion) X-Ref |
Checks email section before "@" symbol for validity param: string $localPortion Text to be checked return: bool Whether local portion is valid |
checkDomainPortion($domainPortion, $allowLocal = false) X-Ref |
Checks email section after "@" symbol for validity param: string $domainPortion Text to be checked param: bool $allowLocal allow local domains? return: bool Whether domain portion is valid |
checkTextLength($text, $minimum, $maximum) X-Ref |
Check given text length is between defined bounds param: string $text Text to be checked param: int $minimum Minimum acceptable length param: int $maximum Maximum acceptable length return: bool Whether string is within bounds (inclusive) |