Constructeur Structures_DataGrid_Column::Structures_DataGrid_Column

Constructeur Structures_DataGrid_Column::Structures_DataGrid_Column() – Constructeur

Synopsis

require_once 'Structures/DataGrid/Column.php';

void constructor Structures_DataGrid_Column::Structures_DataGrid_Column ( string $label , string $field = = null , string $orderBy = = null , string $attributes = array() , string $autoFillValue = = null , mixed $formatter = = null , array $formatterArgs = array() )

Description

Crée les paramètres par défaut du style d'un tableau

Parameter

string $label

Le label de la colonne à afficher

string $field

Le nom du champ pour la colonne

string $orderBy

Le champ ou l'expression à utiliser pour le tri

string $attributes

Les attributs HTML pour la balise TR

string $autoFillValue

La valeur à utilser pour l'auto-complétion

mixed $formatter

Formatteur de callback. Voir setFormatter()

array $formatterArgs

Tableau associatif d'arguments passé comme second argument au formatteur de callback

Throws

No exceptions thrown.

Note

This function can not be called statically.