MediaWiki  1.30.2
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 (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

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

Produce data to augment search result set.

Parameters
SearchResultSet$resultSet
Returns
array Data for all results

Implements ResultSetAugmentor.

Definition at line 26 of file PerRowAugmentor.php.

References as, and SearchResultSet\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: