diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2009-10-04 18:13:59 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-10-04 18:13:59 +0000 |
| commit | bf8ac19eaa8d74f9dfd6d597190f5664e7339382 (patch) | |
| tree | c3ad876736748e36cb9176a0248cc43badfc1d9a /phpBB/includes/captcha/captcha_plugin.php | |
| parent | 3215bbf88864139dc8c7e9ac5773b1ea8a7e96c1 (diff) | |
| download | forums-bf8ac19eaa8d74f9dfd6d597190f5664e7339382.tar forums-bf8ac19eaa8d74f9dfd6d597190f5664e7339382.tar.gz forums-bf8ac19eaa8d74f9dfd6d597190f5664e7339382.tar.bz2 forums-bf8ac19eaa8d74f9dfd6d597190f5664e7339382.tar.xz forums-bf8ac19eaa8d74f9dfd6d597190f5664e7339382.zip | |
Move trunk/phpBB to old_trunk/phpBB
git-svn-id: file:///svn/phpbb/trunk@10210 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/captcha/captcha_plugin.php')
| -rw-r--r-- | phpBB/includes/captcha/captcha_plugin.php | 98 |
1 files changed, 0 insertions, 98 deletions
diff --git a/phpBB/includes/captcha/captcha_plugin.php b/phpBB/includes/captcha/captcha_plugin.php deleted file mode 100644 index 3e8e508206..0000000000 --- a/phpBB/includes/captcha/captcha_plugin.php +++ /dev/null @@ -1,98 +0,0 @@ -<?php - -interface phpbb_captcha_plugin -{ - /** - * Initiates the CAPTCHA to validate codes. - * @param int $type the type as defined in constants.php - */ - function init($type); - - - /** - * Returns true if the captcha will work on the current install - */ - static function is_available(); - - /** - * Returns the translated pretty name of the captcha. - */ - static function get_name(); - - /** - * Returns the class name of the captcha. - */ - static function get_class_name(); - - /** - * Returns an instance; does not have to be the same instance twice. - */ - static function get_instance(); - - /** - * Returns the HTML needed to embed the captcha in another template - */ - function get_template(); - - - /** - * Delivers the image of image based captchas; not required for text/remote etc CAPTCHAs - */ - function execute(); - - /** - * Returns the HTML needed to display a demo of the captcha - */ - function get_demo_template($id); - - - /** - * Delivers the demo image of image based captchas; not required for text/remote etc CAPTCHAs - */ - function execute_demo(); - - /** - * Clears leftover entries in the database. - */ - static function garbage_collect($type); - - - /** - * Clears all entries from the database if the CAPTCHA is replaced - */ - function uninstall(); - - /** - * Sets up the CAPTCHA when it is selected in the ACP. - */ - function install(); - - - /** - * Checks the captcha; returns false if the code was correct; a translated error string otherwise - */ - function validate(); - - /** - * Prepares the captcha to ask a new question; required call on failed answers - */ - function reset(); - - /** - * Displays the configuration options in the ACP - */ - function acp_page($id, &$module); - - /** - * Returns the entries for the hidden field array needed to preserve the current state. - */ - function get_hidden_fields(); - - - /** - * Returns the number of solving attempts of the current user - */ - function get_attempt_count(); -} - -?>
\ No newline at end of file |
