MediaWiki
1.32.5
|
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... | |
Protected Member Functions | |
__construct () | |
Protected constructor: no creating instances except through the factory method above. 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 () |
Definition at line 5 of file CaptchaSessionStore.php.
|
protected |
Protected constructor: no creating instances except through the factory method above.
Reimplemented from CaptchaStore.
Definition at line 6 of file CaptchaSessionStore.php.
CaptchaSessionStore::clear | ( | $index | ) |
Delete a result once the captcha has been used, so it cannot be reused.
string | $index |
Reimplemented from CaptchaStore.
Definition at line 19 of file CaptchaSessionStore.php.
CaptchaSessionStore::cookiesNeeded | ( | ) |
Whether this type of CaptchaStore needs cookies.
Reimplemented from CaptchaStore.
Definition at line 23 of file CaptchaSessionStore.php.
CaptchaSessionStore::retrieve | ( | $index | ) |
Retrieve the answer for a given captcha.
string | $index |
Reimplemented from CaptchaStore.
Definition at line 15 of file CaptchaSessionStore.php.
CaptchaSessionStore::store | ( | $index, | |
$info | |||
) |
Store the correct answer for a given captcha.
string | $index | |
string | $info | the captcha result |
Reimplemented from CaptchaStore.
Definition at line 11 of file CaptchaSessionStore.php.