Structures_DataGrid_Column::formatter

Structures_DataGrid_Column::formatter() – Formatter

Synopsis

require_once 'Structures/DataGrid/Column.php';

void Structures_DataGrid_Column::formatter ( $record , $row , $col )

Description

This method is not meant to be called by user-space code.

Calls a predefined function to develop custom output for the column. The defined function can accept parameters so that each cell in the column can be unique based on the record. The function will also automatically receive the record array as a parameter. All parameters passed into the function will be in one array.

Parameter

$record

$row

$col

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Choose a format preset (Previous) Get the column XML/HTML attributes (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.