Structures_DataGrid::bind()

Structures_DataGrid::bind() -- A simple way to add a record set to the datagrid

Synopsis

require_once 'Structures/DataGrid.php';

bool Structures_DataGrid::bind (mixed $container [, array $options = array() [, string $type = NULL]])

Description

This package is not documented yet.

Parameter

mixed $container

The record set in any of the supported data source types

array $options

Optional. The options to be used for the data source

string $type

Optional. The data source type

Return value

returns True if successful, otherwise PEAR_Error.

Throws

throws no exceptions thrown

Examples

Note

This function can not be called statically.