Structures_DataGrid_DataSource_XML

Structures_DataGrid_DataSource_XML -- XML data source driver

Description

This driver accepts the following options:

Supported operations modes

This driver supports the following operation modes:

Таблица 57-1. Supported operations modes of this driver

ModeSupported?
Multiple field sortingno
Insert, update and delete recordsno

Options

This driver accepts the following options:

Таблица 57-2. Options for this driver

OptionTypeDescriptionDefault Value
fieldAttributestringWhich attribute of the XML source should be used as column field name (only used if the XML source has attributes).null
fieldsarrayWhich data fields to fetch from the datasource. An empty array means: all fields. Form: array(field1, field2, ...)array()
generate_columnsboolGenerate Structures_DataGrid_Column objects with labels. See the 'labels' option. DEPRECATED: use Structures_DataGrid::generateColumns() insteadfalse
labelAttributestringWhich attribute of the XML source should be used as column label (only used if 'generate_columns' is true and the XML source has attributes).null
labelsarrayData field to column label mapping. Only used when 'generate_columns' is true. Form: array(field => label, ...) DEPRECATED: use Structures_DataGrid::generateColumns() insteadarray()
primary_keyarrayName(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
xpathstringXPath to a subset of the XML data.''

HIVE: All information for read only. Please respect copyright!
Hosted by hive ÊÃÁ: Êèåâñêàÿ ãîðîäñêàÿ áèáëèîòåêà