MediaWiki REL1_31
|
Public Member Functions | |
clear ( $index) | |
Delete a result once the captcha has been used, so it cannot be reused. | |
clearAll () | |
cookiesNeeded () | |
Whether this type of CaptchaStore needs cookies. | |
retrieve ( $index) | |
Retrieve the answer for a given captcha. | |
store ( $index, $info) | |
Store the correct answer for a given captcha. | |
Protected Attributes | |
$data = [] | |
Additional Inherited Members | |
Static Public Member Functions inherited from CaptchaStore | |
static | get () |
Get somewhere to store captcha data that will persist between requests. | |
static | unsetInstanceForTests () |
Protected Member Functions inherited from CaptchaStore | |
__construct () | |
Protected constructor: no creating instances except through the factory method above. | |
Definition at line 3 of file CaptchaHashStore.php.
CaptchaHashStore::clear | ( | $index | ) |
Delete a result once the captcha has been used, so it cannot be reused.
string | $index |
Reimplemented from CaptchaStore.
Definition at line 17 of file CaptchaHashStore.php.
CaptchaHashStore::clearAll | ( | ) |
Definition at line 25 of file CaptchaHashStore.php.
CaptchaHashStore::cookiesNeeded | ( | ) |
Whether this type of CaptchaStore needs cookies.
Reimplemented from CaptchaStore.
Definition at line 21 of file CaptchaHashStore.php.
CaptchaHashStore::retrieve | ( | $index | ) |
Retrieve the answer for a given captcha.
string | $index |
Reimplemented from CaptchaStore.
Definition at line 10 of file CaptchaHashStore.php.
CaptchaHashStore::store | ( | $index, | |
$info ) |
Store the correct answer for a given captcha.
string | $index | |
string | $info | the captcha result |
Reimplemented from CaptchaStore.
Definition at line 6 of file CaptchaHashStore.php.
|
protected |
Definition at line 4 of file CaptchaHashStore.php.