MediaWiki REL1_34
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.
 

Private Attributes

ResultAugmentor $rowAugmentor
 

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().

Member Data Documentation

◆ $rowAugmentor

ResultAugmentor PerRowAugmentor::$rowAugmentor
private

Definition at line 12 of file PerRowAugmentor.php.


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