MediaWiki REL1_35
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}
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.
SearchResult class based on the Revision information.
NOTE: this class is being refactored into an abstract base class.