MediaWiki  master
AugmentPageProps Class Reference

Augment search result set with values of certain page props. More...

Inheritance diagram for AugmentPageProps:
Collaboration diagram for AugmentPageProps:

Public Member Functions

 __construct ( $propnames)
 
 augmentAll (ISearchResultSet $resultSet)
 Produce data to augment search result set. More...
 

Private Attributes

array $propnames
 List of properties. More...
 

Detailed Description

Augment search result set with values of certain page props.

Definition at line 6 of file AugmentPageProps.php.

Constructor & Destructor Documentation

◆ __construct()

AugmentPageProps::__construct (   $propnames)

Definition at line 12 of file AugmentPageProps.php.

References $propnames.

Member Function Documentation

◆ augmentAll()

AugmentPageProps::augmentAll ( ISearchResultSet  $resultSet)

Produce data to augment search result set.

Parameters
ISearchResultSet$resultSet
Returns
array Data for all results

Implements ResultSetAugmentor.

Definition at line 16 of file AugmentPageProps.php.

References ISearchResultSet\extractTitles(), and PageProps\getInstance().

Member Data Documentation

◆ $propnames

array AugmentPageProps::$propnames
private

List of properties.

Definition at line 10 of file AugmentPageProps.php.

Referenced by __construct().


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