Structures_DataGrid_Column::format()

Structures_DataGrid_Column::format()  -- Choose a format preset

Synopsis

require_once 'Structures/DataGrid/Column.php';

void Structures_DataGrid_Column::format ($type, mixed $type,...)

ïÐÉÓÁÎÉÅ

EXPERIMENTAL: the behaviour of this method may change in future releases.

This method allows to associate an "automatic" predefined formatter to the column, for common needs as formatting dates, numbers, ...

The currently supported predefined formatters are :

ðÁÒÁÍÅÔÒ

$type

mixed $type,...

Predefined formatter name, followed by formatter-specific parameters

Throws

throws no exceptions thrown

Examples

úÁÍÅÔËÁ

üÔÁ ÆÕÎËÃÉÑ ÎÅ ÄÏÌÖÎÁ ×ÙÚÙ×ÁÔØÓÑ ÓÔÁÔÉÞÅÓËÉ.


HIVE: All information for read only. Please respect copyright!
Hosted by hive ÊÃÁ: Êèåâñêàÿ ãîðîäñêàÿ áèáëèîòåêà