phpBB API Documentation
Class

phpbb\captcha\plugins\nogd

class nogd 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 73
public execute()

in captcha_abstract at line 89
public get_template()

in captcha_abstract at line 118
public get_demo_template($id)

Parameters

$id

in captcha_abstract at line 141
public get_hidden_fields()

in captcha_abstract at line 154
public garbage_collect($type)

Parameters

$type

in captcha_abstract at line 184
public uninstall()

in captcha_abstract at line 189
public install()

in captcha_abstract at line 194
public validate()

in captcha_abstract at line 235
public generate_code()

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

Resets the internal state.

in captcha_abstract at line 259
public regenerate_code()

New Question, if desired.

in captcha_abstract at line 281
public new_attempt()

New Question, if desired.

in captcha_abstract at line 304
public load_code()

Look up everything we need for painting&checking.

in captcha_abstract at line 328
public check_code()

in captcha_abstract at line 333
public get_attempt_count()

in captcha_abstract at line 338
public reset()

in captcha_abstract at line 351
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