MediaWiki
REL1_34
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 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
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:34
includes
search
RevisionSearchResult.php
Generated on Fri Apr 5 2024 23:10:29 for MediaWiki by
1.9.8