Structures_DataGrid_Column::setFormatter()

Structures_DataGrid_Column::setFormatter()  -- Set Formatter Callback

Synopsis

require_once 'Structures/DataGrid/Column.php';

mixed Structures_DataGrid_Column::setFormatter (mixed $formatter, array [$arguments = array()])

Beschreibung

Define a formatting callback function with optional arguments for this column.

Parameter

mixed $formatter

Callback PHP pseudo-type (Array or String)

array $arguments

Associative array of parameters passed to as second argument to the callback function

Rückgabewert

returns PEAR_Error on failure

Fehler-Meldungen

throws no exceptions thrown

Siehe auch

see http://www.php.net/manual/en/language.pseudo-types.php

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.