PHP 클래스 Prado\Web\UI\WebControls\TReCaptchaValidator

TReCaptchaValidator validates user input against a reCAPTCHA represented by a {@link TReCaptcha} control. The input control fails validation if its value is not the same as the token displayed in reCAPTCHA. Note, if the user does not enter any thing, it is still considered as failing the validation. To use TReCaptchaValidator, specify the {@link setCaptchaControl CaptchaControl} to be the ID path of the {@link TReCaptcha} control.
부터: 3.2
저자: Bérczi Gábor ([email protected])
상속: extends TBaseValidator
파일 보기 프로젝트 열기: pradosoft/prado

보호된 프로퍼티들

프로퍼티 타입 설명
$_isvalid

공개 메소드들

메소드 설명
getClientScriptOptions ( )
getEnableClientScript ( )
onPreRender ( $param )

보호된 메소드들

메소드 설명
evaluateIsValid ( ) : boolean This method overrides the parent's implementation.
getCaptchaControl ( )
getClientClassName ( ) : string Gets the name of the javascript class responsible for performing validation for this control.

메소드 상세

evaluateIsValid() 보호된 메소드

The validation succeeds if the input control has the same value as the one displayed in the corresponding RECAPTCHA control.
protected evaluateIsValid ( ) : boolean
리턴 boolean whether the validation succeeds

getCaptchaControl() 보호된 메소드

protected getCaptchaControl ( )

getClientClassName() 보호된 메소드

This method overrides the parent implementation.
protected getClientClassName ( ) : string
리턴 string the javascript class name

getClientScriptOptions() 공개 메소드

getEnableClientScript() 공개 메소드

onPreRender() 공개 메소드

public onPreRender ( $param )

프로퍼티 상세

$_isvalid 보호되어 있는 프로퍼티

protected $_isvalid