Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4049898
MockFileBasedMessageGroup.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
534 B
Referenced Files
None
Subscribers
None
MockFileBasedMessageGroup.php
View Options
<?php
/**
* This file contains a managed message group implementation mock object.
*
* @file
* @author Niklas Laxström
* @copyright Copyright © 2012-2013, Niklas Laxström
* @license GPL-2.0-or-later
*/
class
MockFileBasedMessageGroup
extends
FileBasedMessageGroup
{
/** @inheritDoc */
public
function
load
(
$code
):
array
{
return
[
$this
->
getId
()
.
'-messagekey'
=>
'üga'
];
}
public
function
exists
():
bool
{
return
true
;
}
public
function
getKeys
():
array
{
return
array_keys
(
$this
->
load
(
'en'
)
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 15 2026, 16:21 (15 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4a/c9/ad0fa74505b49b2c2dbc35de1eb2
Default Alt Text
MockFileBasedMessageGroup.php (534 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment