Documentation

ColModifier
in package

AbstractYes

Base class for modifying values for main_columns of an {@see ItemList}, e.g. in {@see ManagedAdminController::_getContents}

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

On this page

Search results