recaptcha
class recaptcha extends captcha_abstract
Properties
$confirm_id | from captcha_abstract | ||
$confirm_code | from captcha_abstract | ||
$code | from captcha_abstract | ||
$seed | from captcha_abstract | ||
$attempts | from captcha_abstract | ||
$type | from captcha_abstract | ||
$solved | from captcha_abstract | ||
$captcha_vars | from captcha_abstract | ||
protected string | $service_name | from captcha_abstract | |
$recaptcha_server | |||
$recaptcha_server_secure | |||
$response |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
The old way to generate code, suitable for GD and non-GD. Resets the internal state.
API function
This function is implemented because required by the upper class, but is never used for reCaptcha.
Get language variable for error message when CAPTCHA is being shown due to exceeding the maximum number of login attempts
Constructor
No description
No description
No description
Calls an HTTP POST function to verify if the user's guess was correct
Details
at line 32
init($type)
No description
at line 122
execute_demo()
No description
at line 127
execute()
No description
at line 131
get_template()
No description
at line 157
get_demo_template($id)
No description
at line 162
get_hidden_fields()
No description
in
captcha_abstract at line 152
garbage_collect($type)
No description
at line 175
uninstall()
No description
at line 180
install()
No description
at line 185
validate()
No description
in
captcha_abstract at line 233
generate_code()
The old way to generate code, suitable for GD and non-GD. Resets the internal state.
in
captcha_abstract at line 257
regenerate_code()
New Question, if desired.
in
captcha_abstract at line 279
new_attempt()
New Question, if desired.
in
captcha_abstract at line 302
load_code()
Look up everything we need for painting&checking.
in
captcha_abstract at line 326
check_code()
No description
in
captcha_abstract at line 331
get_attempt_count()
No description
in
captcha_abstract at line 336
reset()
No description
in
captcha_abstract at line 349
is_solved()
No description
at line 51
has_config()
API function
in
captcha_abstract at line 371
string
get_service_name()
No description
in
captcha_abstract at line 381
set_name(string $name)
Set the name of the plugin
at line 64
string
get_generator_class()
This function is implemented because required by the upper class, but is never used for reCaptcha.
in
captcha_abstract at line 397
string
get_login_error_attempts()
Get language variable for error message when CAPTCHA is being shown due to exceeding the maximum number of login attempts
at line 26
__construct()
Constructor
at line 41
is_available()
No description
at line 56
static
get_name()
No description
at line 69
acp_page($id, $module)
No description
at line 202
bool|string
recaptcha_check_answer()
Calls an HTTP POST function to verify if the user's guess was correct