SortedColModifier
extends ColModifier
in package
AbstractYes
Extend this instead of ColModifier, if your output sort order matches the database sort order.
This means we can reliably show the sort arrows for a list, and it all still makes sense.
Table of Contents
Methods
- modify() : string
- Modify a column value This value will be html/csv/etc encoded afterwards.
Methods
modify()
Modify a column value This value will be html/csv/etc encoded afterwards.
public
abstract modify(string $val, string $field_name, array<string, mixed> $row) : string
Parameters
- $val : string
-
The incoming value
- $field_name : string
-
The name of the field being modified
- $row : array<string, mixed>
-
The full row of data
Return values
string —The modified value