Rows
Rows collection.
The main task is to work with rows: preparing and process request of actions.
Tags
Table of Contents
Methods
- __construct() : mixed
- getActions() : array<string|int, Action>
- prepareRows() : array<string|int, array<string|int, mixed>>
- Gets rows prepared for output.
- processRequest() : GridResponse|null
- Processing all actions of the row.
Methods
__construct()
public
__construct(RowAssembler $rowAssembler, array<string|int, DataProvider> ...$actionsProviders) : mixed
Parameters
- $rowAssembler : RowAssembler
- $actionsProviders : array<string|int, DataProvider>
getActions()
public
final getActions() : array<string|int, Action>
Return values
array<string|int, Action>prepareRows()
Gets rows prepared for output.
public
prepareRows(iterable<string|int, mixed>|array<string|int, array<string|int, mixed>> $rawRows) : array<string|int, array<string|int, mixed>>
Parameters
- $rawRows : iterable<string|int, mixed>|array<string|int, array<string|int, mixed>>
Return values
array<string|int, array<string|int, mixed>>processRequest()
Processing all actions of the row.
public
processRequest(GridRequest $request) : GridResponse|null
Parameters
- $request : GridRequest