MediaWiki
REL1_39
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
}
initFromTitle
initFromTitle( $title)
Initialize from a Title and if possible initializes a corresponding RevisionRecord and File.
Definition
RevisionSearchResultTrait.php:42
RevisionSearchResultTrait
trait RevisionSearchResultTrait
Transitional trait used to share the methods between SearchResult and RevisionSearchResult.
Definition
RevisionSearchResultTrait.php:15
RevisionSearchResult
SearchResult class based on the revision information.
Definition
RevisionSearchResult.php:8
RevisionSearchResult\__construct
__construct( $title)
Definition
RevisionSearchResult.php:14
SearchResult
NOTE: this class is being refactored into an abstract base class.
Definition
SearchResult.php:38
$title
$title
Definition
testCompression.php:38
includes
search
RevisionSearchResult.php
Generated on Mon Dec 2 2024 06:24:17 for MediaWiki by
1.10.0