MediaWiki REL1_31
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 (SearchResultSet $resultSet)
 Produce data to augment search result set.
 

Private Attributes

array $propnames
 List of properties.
 

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 ( SearchResultSet $resultSet)

Produce data to augment search result set.

Parameters
SearchResultSet$resultSet
Returns
array Data for all results

Implements ResultSetAugmentor.

Definition at line 16 of file AugmentPageProps.php.

References $titles, SearchResultSet\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: