MediaWiki
1.34.0
RevisionSearchResult.php
Go to the documentation of this file.
1
<?php
2
8
class
RevisionSearchResult
extends
SearchResult
{
9
use
RevisionSearchResultTrait
;
10
14
public
function
__construct
(
$title
) {
15
$this->mTitle =
$title
;
16
$this->
initFromTitle
(
$title
);
17
}
18
}
SearchResult
NOTE: this class is being refactored into an abstract base class.
Definition:
SearchResult.php:38
RevisionSearchResult
SearchResult class based on the Revision information.
Definition:
RevisionSearchResult.php:8
$title
$title
Definition:
testCompression.php:34
RevisionSearchResult\__construct
__construct( $title)
Definition:
RevisionSearchResult.php:14
initFromTitle
initFromTitle( $title)
Initialize from a Title and if possible initializes a corresponding Revision and File.
Definition:
RevisionSearchResultTrait.php:39
RevisionSearchResultTrait
trait RevisionSearchResultTrait
Transitional trait used to share the methods between SearchResult and RevisionSearchResult.
Definition:
RevisionSearchResultTrait.php:12
includes
search
RevisionSearchResult.php
Generated on Thu Dec 19 2019 14:54:50 for MediaWiki by
1.8.16