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,...)

Description

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 :

Paramètres

$type

mixed $type,...

Predefined formatter name, followed by formatter-specific parameters

Valeurs renvoyées

throws no exceptions thrown

Examples

Note

Cette fonction ne peut pas être appelée de façon statique.