MediaWiki  master
RevisionSearchResult.php
Go to the documentation of this file.
1 <?php
2 
4 
12 
16  public function __construct( $title ) {
17  $this->mTitle = $title;
18  $this->initFromTitle( $title );
19  }
20 }
initFromTitle( $title)
Initialize from a Title and if possible initializes a corresponding RevisionRecord and File.
trait RevisionSearchResultTrait
Transitional trait used to share the methods between SearchResult and RevisionSearchResult.
Represents a title within MediaWiki.
Definition: Title.php:76
SearchResult class based on the revision information.
NOTE: this class is being refactored into an abstract base class.