Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4064388
CaptchaHashStore.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
626 B
Referenced Files
None
Subscribers
None
CaptchaHashStore.php
View Options
<?php
namespace
MediaWiki\Extension\ConfirmEdit\Store
;
class
CaptchaHashStore
extends
CaptchaStore
{
/** @var array */
protected
$data
=
[];
/**
* @inheritDoc
*/
public
function
store
(
$index
,
$info
)
{
$this
->
data
[
$index
]
=
$info
;
}
/**
* @inheritDoc
*/
public
function
retrieve
(
$index
)
{
if
(
array_key_exists
(
$index
,
$this
->
data
)
)
{
return
$this
->
data
[
$index
];
}
return
false
;
}
/**
* @inheritDoc
*/
public
function
clear
(
$index
)
{
unset
(
$this
->
data
[
$index
]
);
}
public
function
cookiesNeeded
()
{
return
false
;
}
public
function
clearAll
()
{
$this
->
data
=
[];
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 16 2026, 13:54 (11 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
69/f7/59dc5cd23b2f4b4532ce76fe6495
Default Alt Text
CaptchaHashStore.php (626 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment