MediaWiki
1.30.0
|
Public Member Functions | |
clear ( $index) | |
Delete a result once the captcha has been used, so it cannot be reused. More... | |
cookiesNeeded () | |
Whether this type of CaptchaStore needs cookies. More... | |
retrieve ( $index) | |
Retrieve the answer for a given captcha. More... | |
store ( $index, $info) | |
Store the correct answer for a given captcha. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from CaptchaStore | |
static | get () |
Get somewhere to store captcha data that will persist between requests. More... | |
static | unsetInstanceForTests () |
Protected Member Functions inherited from CaptchaStore | |
__construct () | |
Protected constructor: no creating instances except through the factory method above. More... | |
Definition at line 93 of file CaptchaStore.php.
CaptchaCacheStore::clear | ( | $index | ) |
Delete a result once the captcha has been used, so it cannot be reused.
$index |
Reimplemented from CaptchaStore.
Definition at line 113 of file CaptchaStore.php.
References ObjectCache\getMainStashInstance(), and wfMemcKey().
CaptchaCacheStore::cookiesNeeded | ( | ) |
Whether this type of CaptchaStore needs cookies.
Reimplemented from CaptchaStore.
Definition at line 117 of file CaptchaStore.php.
CaptchaCacheStore::retrieve | ( | $index | ) |
Retrieve the answer for a given captcha.
$index | String |
Reimplemented from CaptchaStore.
Definition at line 104 of file CaptchaStore.php.
References ObjectCache\getMainStashInstance(), and wfMemcKey().
CaptchaCacheStore::store | ( | $index, | |
$info | |||
) |
Store the correct answer for a given captcha.
$index | String |
$info | String the captcha result |
Reimplemented from CaptchaStore.
Definition at line 94 of file CaptchaStore.php.
References ObjectCache\getMainStashInstance(), global, and wfMemcKey().