Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4127128
MockFileBasedMessageGroup.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
514 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
{
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
Wed, Aug 19, 08:27 (2 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f0/10/d4323f03f63b7099df20751eb4b1
Default Alt Text
MockFileBasedMessageGroup.php (514 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment