abstract class captcha_abstract
This class holds the code shared by the two default 3.0.x CAPTCHAs.
Properties
$confirm_id | ||
$confirm_code | ||
$code | ||
$seed | ||
$attempts | ||
$type | ||
$solved | ||
$captcha_vars |
Methods
init($type)
|
||
execute_demo()
|
||
execute()
|
||
get_template()
|
||
get_demo_template($id)
|
||
get_hidden_fields()
|
||
garbage_collect($type)
|
||
uninstall()
|
||
install()
|
||
validate()
|
||
generate_code()
The old way to generate code, suitable for GD and non-GD. |
||
regenerate_code()
New Question, if desired. |
||
new_attempt()
New Question, if desired. |
||
load_code()
Look up everything we need for painting&checking. |
||
check_code()
|
||
get_attempt_count()
|
||
reset()
|
||
is_solved()
|
||
has_config()
API function |
||
string |
get_service_name()
|
|
set_name(string $name)
Set the name of the plugin |
Details
at line 35
public
init($type)
at line 57
public
execute_demo()
at line 73
public
execute()
at line 89
public
get_template()
at line 118
public
get_demo_template($id)
at line 141
public
get_hidden_fields()
at line 154
public
garbage_collect($type)
at line 184
public
uninstall()
at line 189
public
install()
at line 194
public
validate()
at line 235
public
generate_code()
The old way to generate code, suitable for GD and non-GD.
Resets the internal state.
at line 259
public
regenerate_code()
New Question, if desired.
at line 281
public
new_attempt()
New Question, if desired.
at line 304
public
load_code()
Look up everything we need for painting&checking.
at line 328
public
check_code()
at line 333
public
get_attempt_count()
at line 338
public
reset()
at line 351
public
is_solved()
at line 363
public
has_config()
API function
at line 371
public string
get_service_name()
at line 381
public
set_name(string $name)
Set the name of the plugin