MediaWiki REL1_39
PerRowAugmentor Class Reference

Perform augmentation of each row and return composite result, indexed by ID. More...

Inheritance diagram for PerRowAugmentor:
Collaboration diagram for PerRowAugmentor:

Public Member Functions

 __construct (ResultAugmentor $augmentor)
 
 augmentAll (ISearchResultSet $resultSet)
 Produce data to augment search result set.
 

Detailed Description

Perform augmentation of each row and return composite result, indexed by ID.

Definition at line 7 of file PerRowAugmentor.php.

Constructor & Destructor Documentation

◆ __construct()

PerRowAugmentor::__construct ( ResultAugmentor $augmentor)
Parameters
ResultAugmentor$augmentorPer-result augmentor to use.

Definition at line 17 of file PerRowAugmentor.php.

Member Function Documentation

◆ augmentAll()

PerRowAugmentor::augmentAll ( ISearchResultSet $resultSet)

Produce data to augment search result set.

Parameters
ISearchResultSet$resultSet
Returns
array Data for all results

Implements ResultSetAugmentor.

Definition at line 26 of file PerRowAugmentor.php.

References ISearchResultSet\extractResults().


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