Structures_DataGrid_DataSource_DataObject

Structures_DataGrid_DataSource_DataObject -- PEAR::DB_DataObject Data Source Driver

Description

This class is a data source driver for a PEAR::DB::DB_DataObject object

Options

This driver accepts the following options:

Table 55-1. Options for this driver

OptionTypeDescriptionDefault Value
fieldsarrayWhich data fields to fetch from the datasource. An empty array means: all fields. Form: array(field1, field2, ...)array()
fields_propertystringThe name of a property that you can set within your DataObject. This property is expected to contain the same kind of information as the 'fields' option. If the 'fields' option is set, this one will not be used.'fb_fieldsToRender'
generate_columnsboolGenerate Structures_DataGrid_Column objects with labels. See the 'labels' option.false
labelsarrayData field to column label mapping. Only used when 'generate_columns' is true. Form: array(field => label, ...)array()
labels_propertystringThe name of a property that you can set within your DataObject. This property is expected to contain the same kind of information as the 'labels' option. If the 'labels' option is set, this one will not be used.'fb_fieldsLabels'