phpBB API Documentation
Class

phpbb\captcha\plugins\gd_wave

class gd_wave extends captcha_abstract

Properties

$confirm_id
$confirm_code
$code
$seed
$attempts
$type
$solved
$captcha_vars

Methods

init($type)

from captcha_abstract
execute_demo()

from captcha_abstract
execute()

from captcha_abstract
get_template()

from captcha_abstract
get_demo_template($id)

from captcha_abstract
get_hidden_fields()

from captcha_abstract
garbage_collect($type)

from captcha_abstract
uninstall()

from captcha_abstract
install()

from captcha_abstract
validate()

from captcha_abstract
generate_code()

The old way to generate code, suitable for GD and non-GD.

from captcha_abstract
regenerate_code()

New Question, if desired.

from captcha_abstract
new_attempt()

New Question, if desired.

from captcha_abstract
load_code()

Look up everything we need for painting&checking.

from captcha_abstract
check_code()

from captcha_abstract
get_attempt_count()

from captcha_abstract
reset()

from captcha_abstract
is_solved()

from captcha_abstract
has_config()

API function

from captcha_abstract
string get_service_name()

from captcha_abstract
set_name(string $name)

Set the name of the plugin

from captcha_abstract
is_available()

get_name()

string get_generator_class()

acp_page($id, $module)

Details

in captcha_abstract at line 35
public init($type)

Parameters

$type

in captcha_abstract at line 57
public execute_demo()

in captcha_abstract at line 71
public execute()

in captcha_abstract at line 87
public get_template()

in captcha_abstract at line 116
public get_demo_template($id)

Parameters

$id

in captcha_abstract at line 139
public get_hidden_fields()

in captcha_abstract at line 152
public garbage_collect($type)

Parameters

$type

in captcha_abstract at line 182
public uninstall()

in captcha_abstract at line 187
public install()

in captcha_abstract at line 192
public validate()

in captcha_abstract at line 233
public generate_code()

The old way to generate code, suitable for GD and non-GD.

Resets the internal state.

in captcha_abstract at line 257
public regenerate_code()

New Question, if desired.

in captcha_abstract at line 279
public new_attempt()

New Question, if desired.

in captcha_abstract at line 302
public load_code()

Look up everything we need for painting&checking.

in captcha_abstract at line 326
public check_code()

in captcha_abstract at line 331
public get_attempt_count()

in captcha_abstract at line 336
public reset()

in captcha_abstract at line 349
public is_solved()

in captcha_abstract at line 363
public has_config()

API function

in captcha_abstract at line 371
public string get_service_name()

Return Value

string the name of the service corresponding to the plugin

in captcha_abstract at line 381
public set_name(string $name)

Set the name of the plugin

Parameters

string $name

at line 18
public is_available()

at line 23
public get_name()

at line 31
public string get_generator_class()

Return Value

string the name of the class used to generate the captcha

at line 36
public acp_page($id, $module)

Parameters

$id
$module