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.
Показать файл
Открыть проект
Защищенные свойства (Protected)
Открытые методы
Защищенные методы
Описание методов
evaluateIsValid()
защищенный Метод
The validation succeeds if the input control has the same value
as the one displayed in the corresponding RECAPTCHA control.
getCaptchaControl()
защищенный Метод
getClientClassName()
защищенный Метод
This method overrides the parent implementation.
getClientScriptOptions()
публичный Метод
getEnableClientScript()
публичный Метод
onPreRender()
публичный Метод
Описание свойств
$_isvalid защищенное свойство