phpBB3


VC\phpbb_default_captcha
includes/captcha/plugins/captcha_abstract.php at line 25

Class phpbb_default_captcha

phpbb_default_captcha

public class phpbb_default_captcha

This class holds the code shared by the two default 3.0.x CAPTCHAs.


Field Summary
mixed

$attempts

mixed

$captcha_vars

mixed

$code

mixed

$confirm_code

mixed

$confirm_id

mixed

$seed

mixed

$solved

mixed

$type

Method Summary
void

check_code()

void

delete_code()

void

execute()

void

execute_demo()

void

garbage_collect(mixed type)

void

generate_code()

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

void

get_attempt_count()

void

get_demo_template(mixed id)

void

get_hidden_fields()

void

get_template()

void

has_config()

API function

void

init(mixed type)

void

install()

void

is_solved()

void

load_code()

Look up everything we need for painting&checking.

void

new_attempt()

New Question, if desired.

void

regenerate_code()

New Question, if desired.

void

reset()

void

uninstall()

void

validate()

Field Detail

includes/captcha/plugins/captcha_abstract.php at line 31

attempts

public mixed $attempts = 0

includes/captcha/plugins/captcha_abstract.php at line 34

captcha_vars

public mixed $captcha_vars = false

includes/captcha/plugins/captcha_abstract.php at line 29

code

public mixed $code

includes/captcha/plugins/captcha_abstract.php at line 28

confirm_code

public mixed $confirm_code

includes/captcha/plugins/captcha_abstract.php at line 27

confirm_id

public mixed $confirm_id

includes/captcha/plugins/captcha_abstract.php at line 30

seed

public mixed $seed

includes/captcha/plugins/captcha_abstract.php at line 33

solved

public mixed $solved = 0

includes/captcha/plugins/captcha_abstract.php at line 32

type

public mixed $type

Method Detail

includes/captcha/plugins/captcha_abstract.php at line 327

check_code

public void check_code()

includes/captcha/plugins/captcha_abstract.php at line 332

delete_code

public void delete_code()

includes/captcha/plugins/captcha_abstract.php at line 73

execute

public void execute()

includes/captcha/plugins/captcha_abstract.php at line 58

execute_demo

public void execute_demo()

includes/captcha/plugins/captcha_abstract.php at line 152

garbage_collect

public void garbage_collect(mixed type)

includes/captcha/plugins/captcha_abstract.php at line 234

generate_code

public void generate_code()

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


includes/captcha/plugins/captcha_abstract.php at line 343

get_attempt_count

public void get_attempt_count()

includes/captcha/plugins/captcha_abstract.php at line 116

get_demo_template

public void get_demo_template(mixed id)

includes/captcha/plugins/captcha_abstract.php at line 139

get_hidden_fields

public void get_hidden_fields()

includes/captcha/plugins/captcha_abstract.php at line 88

get_template

public void get_template()

includes/captcha/plugins/captcha_abstract.php at line 373

has_config

public void has_config()

API function


includes/captcha/plugins/captcha_abstract.php at line 36

init

public void init(mixed type)

includes/captcha/plugins/captcha_abstract.php at line 187

install

public void install()

includes/captcha/plugins/captcha_abstract.php at line 361

is_solved

public void is_solved()

includes/captcha/plugins/captcha_abstract.php at line 303

load_code

public void load_code()

Look up everything we need for painting&checking.


includes/captcha/plugins/captcha_abstract.php at line 280

new_attempt

public void new_attempt()

New Question, if desired.


includes/captcha/plugins/captcha_abstract.php at line 258

regenerate_code

public void regenerate_code()

New Question, if desired.


includes/captcha/plugins/captcha_abstract.php at line 348

reset

public void reset()

includes/captcha/plugins/captcha_abstract.php at line 182

uninstall

public void uninstall()

includes/captcha/plugins/captcha_abstract.php at line 192

validate

public void validate()

phpBB3