SproutCMS

This is the code documentation for the SproutCMS project

class ColModifierHexIP

Converts a hex-packed IP back into readable form

Packing:
  bin2hex(inet_pton($ip))

Unpacking:
  Use this ColModifier

Source code (5 results)

/sprout/Controllers/Admin/ActionLogAdminController.php   Highlighted file source

Line 23: use Sprout\Helpers\ColModifierHexIP;
Line 184: 'IP Address' => array(new ColModifierHexIP(), 'ip'),

/sprout/Controllers/Admin/ActionLogAdminController.php   Highlighted file source

Line 23: use Sprout\Helpers\ColModifierHexIP;
Line 184: 'IP Address' => array(new ColModifierHexIP(), 'ip'),

/sprout/Helpers/ColModifierHexIP.php   Highlighted file source

Line 25: class ColModifierHexIP extends ColModifier

/sprout/views/admin/action_log_edit.php   Highlighted file source

Line 16: use Sprout\Helpers\ColModifierHexIP;
Line 60: $mod = new ColModifierHexIP();

/sprout/views/admin/action_log_edit.php   Highlighted file source

Line 16: use Sprout\Helpers\ColModifierHexIP;
Line 60: $mod = new ColModifierHexIP();

A total of 9 lines in 5 files were found