MediaWiki REL1_40
FauxSearchResult Class Reference

A manually constructed search result, for use with FauxSearchResultSet. More...

Inherits SearchResult.

Collaboration diagram for FauxSearchResult:

Public Member Functions

 __construct (Title $title, RevisionRecord $revRecord=null, File $image=null, $text='')
 
- Public Member Functions inherited from SearchResult
 __construct ()
 

Additional Inherited Members

- Static Public Member Functions inherited from SearchResult
static newFromTitle ( $title, ISearchResultSet $parentSet=null)
 Return a new SearchResult and initializes it with a title.
 

Detailed Description

A manually constructed search result, for use with FauxSearchResultSet.

Definition at line 9 of file FauxSearchResult.php.

Constructor & Destructor Documentation

◆ __construct()

FauxSearchResult::__construct ( Title $title,
RevisionRecord $revRecord = null,
File $image = null,
$text = '' )

Definition at line 13 of file FauxSearchResult.php.

References $title.


The documentation for this class was generated from the following file: