Miscellaneous | |
PEAR Manual | |
require_once 'Structures/DataGrid/Column.php'; |
mixed
Structures_DataGrid_Column::setFormatter
(
mixed
$formatter
,
array
$arguments = array()
)
Define a formatting callback function with optional arguments for this column.
The callback function receives the following array as its first argument:
|
If you pass the optional $arguments parameter to setFormatter(), the callback function will receive it as its second argument.
Callback PHP pseudo-type (Array or String)
Associative array of parameters passed to as second argument to the callback function
returns PEAR_Error on failure
throws no exceptions thrown
This function can not be called statically.
Miscellaneous | |
PEAR Manual | |