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
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
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 )