This driver supports the following operation modes:
Tableau 57-1. Supported operations modes of this driver
Mode | Supported? |
---|---|
Multiple field sorting | yes |
Insert, update and delete records | no |
This driver accepts the following options:
Tableau 57-2. Options for this driver
Option | Type | Description | Default Value |
---|---|---|---|
fields | array | Which data fields to fetch from the datasource. An empty array means: all fields. Form: array(field1, field2, ...) | array() |
fields_property | string | The 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_columns | bool | Generate Structures_DataGrid_Column objects with labels. See the 'labels' option. DEPRECATED: use Structures_DataGrid::generateColumns() instead | false |
labels | array | Data field to column label mapping. Only used when 'generate_columns' is true. Form: array(field => label, ...) DEPRECATED: use Structures_DataGrid::generateColumns() instead | array() |
labels_property | string | The 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_fieldLabels' |
primary_key | array | Name(s), or numerical index(es) of the field(s) which contain a unique record identifier (only use several fields in case of a multiple-fields primary key) | null |
Précédent | Sommaire | Suivant |
Structures_DataGrid_DataSource_CSV | Niveau supérieur | Structures_DataGrid_DataSource_DB |