A clever method which loads and instantiate data source drivers.
Can be called in various ways:
Detect the source type and load the appropriate driver with default options:
$driver =& Structures_DataGrid::dataSourceFactory($source); |
Detect the source type and load the appropriate driver with custom options:
$driver =& Structures_DataGrid::dataSourceFactory($source, $options); |
Load a driver for an explicit type (faster, bypasses detection routine):
$driver =& Structures_DataGrid::dataSourceFactory($source, $options, $type); |
The data source respective to the driver
An associative array of the form: array(optionName => optionValue, ...)
The data source type constant (of the form DATAGRID_SOURCE_*)
Пред. | Начало | След. |
Structures_DataGrid::build() | Уровень выше | Structures_DataGrid::dump() |
HIVE: All information for read only. Please respect copyright! |