Structures_DataGrid::fill (Previous) (Next) Structures_DataGrid::getColumnByField

View this page in Last updated: Mon, 02 Jul 2007
English | Dutch | French | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Structures_DataGrid::generateColumns()

Structures_DataGrid::generateColumns()  -- Generate columns from a fields list

Opis

This is a shortcut for adding simple columns easily, instead of creating them manually and calling addColumn() for each.

The generated columns are appended to the current column set.

Parametr

array $fields

Fields and labels. Array of the form: array(field => label, ...) The default is an empty array, which means: all fields fetched from the datasource

Wyjątki

throws no exceptions thrown

Uwagi

Ta funkcja nie może być wywołana statycznie.

Structures_DataGrid::fill (Previous) (Next) Structures_DataGrid::getColumnByField

Download Documentation Last updated: Mon, 02 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.