MediaWiki  master
RevisionSearchResult.php
Go to the documentation of this file.
1 <?php
2 
10 
14  public function __construct( $title ) {
15  $this->mTitle = $title;
16  $this->initFromTitle( $title );
17  }
18 }
SearchResult class based on the Revision information.
initFromTitle( $title)
Initialize from a Title and if possible initializes a corresponding Revision and File.
trait RevisionSearchResultTrait
Transitional trait used to share the methods between SearchResult and RevisionSearchResult.