MediaWiki  master
FauxSearchResult.php
Go to the documentation of this file.
1 <?php
2 
5 
10 
12 
13  public function __construct(
14  Title $title,
15  RevisionRecord $revRecord = null,
16  File $image = null,
17  $text = ''
18  ) {
19  $this->mTitle = $title;
20  $this->mRevisionRecord = $revRecord;
21  $this->mImage = $image;
22  $this->mText = $text;
23  }
24 
25 }
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:70
Page revision base class.
Represents a title within MediaWiki.
Definition: Title.php:76
NOTE: this class is being refactored into an abstract base class.