Documentation

ColModifierHexIP extends ColModifier
in package

Converts a hex-packed IP back into readable form

Packing: bin2hex(inet_pton($ip))

Unpacking: Use this ColModifier

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 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

On this page

Search results