PHP Класс Prado\Web\UI\WebControls\TEmailAddressValidator

TEmailAddressValidator validates whether the value of an associated input component is a valid email address. If {@link getCheckMXRecord CheckMXRecord} is true, it will check MX record for the email adress, provided checkdnsrr() is available in the installed PHP.
С версии: 3.0
Автор: Qiang Xue ([email protected])
Наследование: extends TRegularExpressionValidator
Показать файл Открыть проект

Открытые методы

Метод Описание
evaluateIsValid ( ) : array Returns an array of javascript validator options.
getCheckMXRecord ( ) : boolean
getRegularExpression ( ) : string
setCheckMXRecord ( $value )

Защищенные методы

Метод Описание
getClientClassName ( ) : string Gets the name of the javascript class responsible for performing validation for this control.

Описание методов

evaluateIsValid() публичный Метод

Returns an array of javascript validator options.
public evaluateIsValid ( ) : array
Результат array javascript validator options.

getCheckMXRecord() публичный Метод

public getCheckMXRecord ( ) : boolean
Результат boolean whether to check MX record for the email address being validated. Defaults to true.

getClientClassName() защищенный Метод

This method overrides the parent implementation.
protected getClientClassName ( ) : string
Результат string the javascript class name

getRegularExpression() публичный Метод

public getRegularExpression ( ) : string
Результат string the regular expression that determines the pattern used to validate a field.

setCheckMXRecord() публичный Метод

public setCheckMXRecord ( $value )