ColModifierLookupArray
extends ColModifier
in package
Returns data straight from an array (e.g. constants)
Table of Contents
Properties
- $data : mixed
Methods
- __construct() : mixed
- modify() : string
- Modify a column value This value will be html/csv/etc encoded afterwards.
Properties
$data
private
mixed
$data
Methods
__construct()
public
__construct(mixed $data) : mixed
Parameters
- $data : mixed
modify()
Modify a column value This value will be html/csv/etc encoded afterwards.
public
modify(string $val, string $field_name, mixed $row) : string
Parameters
- $val : string
-
The incoming value
- $field_name : string
-
The name of the field being modified
- $row : mixed
-
The full row of data
Return values
string —The modified value