class gd 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
protected string $service_name from  captcha_abstract

Methods

init($type)

No description

execute_demo()

No description

execute()

No description

get_template()

No description

get_demo_template($id)

No description

get_hidden_fields()

No description

garbage_collect($type)

No description

uninstall()

No description

install()

No description

validate()

No description

generate_code()

The old way to generate code, suitable for GD and non-GD. Resets the internal state.

regenerate_code()

New Question, if desired.

new_attempt()

New Question, if desired.

load_code()

Look up everything we need for painting&checking.

check_code()

No description

get_attempt_count()

No description

reset()

No description

is_solved()

No description

has_config()

API function

string
get_service_name()

No description

set_name(string $name)

Set the name of the plugin

string
get_generator_class()

No description

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

is_available()

No description

get_name()

No description

acp_page($id, $module)

No description

Details

in captcha_abstract at line 35
init($type)

No description

Parameters

$type

at line 103
execute_demo()

No description

in captcha_abstract at line 71
execute()

No description

in captcha_abstract at line 87
get_template()

No description

in captcha_abstract at line 116
get_demo_template($id)

No description

Parameters

$id

in captcha_abstract at line 139
get_hidden_fields()

No description

in captcha_abstract at line 152
garbage_collect($type)

No description

Parameters

$type

in captcha_abstract at line 182
uninstall()

No description

in captcha_abstract at line 187
install()

No description

in captcha_abstract at line 192
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 44
has_config()

API function

in captcha_abstract at line 371
string get_service_name()

No description

Return Value

string

the name of the service corresponding to the plugin

in captcha_abstract at line 381
set_name(string $name)

Set the name of the plugin

Parameters

string $name

at line 36
string get_generator_class()

No description

Return Value

string

the name of the class used to generate the captcha

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

Return Value

string

at line 28
is_available()

No description

at line 49
get_name()

No description

at line 54
acp_page($id, $module)

No description

Parameters

$id
$module