ReCaptcha
in package
implements
CaptchaInterface
ReCaptcha
Tags
Table of Contents
Interfaces
- CaptchaInterface
- Cloudrexx captcha interface
Properties
- $securityCheck : bool
- Stores status of CAPTCHA has been successfully validated or not
- $error : string
- $secret_key : string
- $site_key : string
Methods
- __construct() : mixed
- Constructor
- check() : bool
- Check the captcha code
- disable() : void
- Disable the captcha check
- getCode() : string
- Get captcha code
- getJSValidationFn() : mixed
Properties
$securityCheck
Stores status of CAPTCHA has been successfully validated or not
protected
bool
$securityCheck
$error
private
string
$error
= ''
$secret_key
private
string
$secret_key
$site_key
private
string
$site_key
Methods
__construct()
Constructor
public
__construct() : mixed
check()
Check the captcha code
public
check() : bool
Return values
booldisable()
Disable the captcha check
public
disable() : void
getCode()
Get captcha code
public
getCode([int $tabIndex = null ]) : string
Parameters
- $tabIndex : int = null
Return values
stringgetJSValidationFn()
public
getJSValidationFn() : mixed