MediaWiki REL1_39
FauxSearchResult.php
Go to the documentation of this file.
1<?php
2
4
9
11
12 public function __construct(
14 RevisionRecord $revRecord = null,
15 File $image = null,
16 $text = ''
17 ) {
18 $this->mTitle = $title;
19 $this->mRevisionRecord = $revRecord;
20 $this->mImage = $image;
21 $this->mText = $text;
22 }
23
24}
trait RevisionSearchResultTrait
Transitional trait used to share the methods between SearchResult and RevisionSearchResult.
A manually constructed search result, for use with FauxSearchResultSet.
__construct(Title $title, RevisionRecord $revRecord=null, File $image=null, $text='')
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition File.php:67
Page revision base class.
NOTE: this class is being refactored into an abstract base class.
Represents a title within MediaWiki.
Definition Title.php:49