ColModifierDuplicate
extends ColModifier
in package
Count duplicates in a column.
Table of Contents
Properties
Methods
- __construct() : mixed
- modify() : string
- Modify a column value This value will be html/csv/etc encoded afterwards.
Properties
$_cache
protected
array<string|int, int>
$_cache
= []
[key => count]
$items
private
array<string|int, mixed>
$items
Methods
__construct()
public
__construct(array<string|int, mixed> $items) : mixed
Parameters
- $items : array<string|int, mixed>
modify()
Modify a column value This value will be html/csv/etc encoded afterwards.
public
modify(mixed $val, mixed $field_name, mixed $row) : string
Parameters
- $val : mixed
-
The incoming value
- $field_name : mixed
-
The name of the field being modified
- $row : mixed
-
The full row of data
Tags
Return values
string —The modified value