MediaWiki REL1_39
FauxSearchResult Class Reference

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

Inheritance diagram for FauxSearchResult:
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 8 of file FauxSearchResult.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 12 of file FauxSearchResult.php.

References $title.


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