MediaWiki  1.28.0
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)
 PerRowAugmentor constructor. More...
 
 augmentAll (SearchResultSet $resultSet)
 Produce data to augment search result set. More...
 

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

PerRowAugmentor::__construct ( ResultAugmentor  $augmentor)

PerRowAugmentor constructor.

Parameters
ResultAugmentor$augmentorPer-result augmentor to use.

Definition at line 18 of file PerRowAugmentor.php.

Member Function Documentation

PerRowAugmentor::augmentAll ( SearchResultSet  $resultSet)

Produce data to augment search result set.

Parameters
SearchResultSet$resultSet
Returns
array Data for all results

Implements ResultSetAugmentor.

Definition at line 27 of file PerRowAugmentor.php.

References as, and SearchResultSet\extractResults().

Member Data Documentation

ResultAugmentor PerRowAugmentor::$rowAugmentor
private

Definition at line 12 of file PerRowAugmentor.php.


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