MediaWiki
REL1_35
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 Sat Apr 6 2024 00:07:47 for MediaWiki by
1.9.8