Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1426427
FauxSearchResult.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
507 B
Referenced Files
None
Subscribers
None
FauxSearchResult.php
View Options
<?php
use
MediaWiki\Revision\RevisionRecord
;
use
MediaWiki\Title\Title
;
/**
* A manually constructed search result, for use with FauxSearchResultSet.
*/
class
FauxSearchResult
extends
SearchResult
{
use
RevisionSearchResultTrait
;
public
function
__construct
(
Title
$title
,
?
RevisionRecord
$revRecord
=
null
,
?
File
$image
=
null
,
$text
=
''
)
{
parent
::
__construct
();
$this
->
mTitle
=
$title
;
$this
->
mRevisionRecord
=
$revRecord
;
$this
->
mImage
=
$image
;
$this
->
mText
=
$text
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 13:12 (1 d, 15 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
72/6f/b3b0f041eacea7509e43ce2d28e7
Default Alt Text
FauxSearchResult.php (507 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment