Class Quform_Validator_Recaptcha
- Quform_Validator_Abstract implements Quform_Validator_Interface
- Quform_Validator_Recaptcha
Copyright:
Copyright (c) 2009-2022 ThemeCatcher (https://www.themecatcher.net)
Located at Quform/Validator/Recaptcha.php
Located at Quform/Validator/Recaptcha.php
public
boolean
|
|
public static
array|string
|
#
getMessageTemplates( string|null $key = null )
Get all message templates or the single message with the given key |
public static
array
|
__construct(),
config(),
createMessage(),
error(),
getMessage(),
getTranslation(),
reset(),
setConfig(),
setMessage()
|
string |
MISSING_INPUT_SECRET
|
#
'recaptchaMissingInputSecret'
|
string |
INVALID_INPUT_SECRET
|
#
'recaptchaInvalidInputSecret'
|
string |
MISSING_INPUT_RESPONSE
|
#
'recaptchaMissingInputResponse'
|
string |
INVALID_INPUT_RESPONSE
|
#
'recaptchaInvalidInputResponse'
|
string |
ERROR
|
#
'recaptchaError'
|
string |
SCORE_TOO_LOW
|
#
'recaptchaScoreTooLow'
|
protected
array
|
$errorCodes
Mapping of reCAPTCHA error codes to message template keys |
#
array(
'missing-input-secret' => self::MISSING_INPUT_SECRET,
'invalid-input-secret' => self::INVALID_INPUT_SECRET,
'missing-input-response' => self::MISSING_INPUT_RESPONSE,
'invalid-input-response' => self::INVALID_INPUT_RESPONSE
)
|
$config,
$message
|