Structures_DataGrid::bindDataSource()

Structures_DataGrid::bindDataSource() -- Binds a Structures_DataGrid_DataSource object to the DataGrid.

Synopsis

object bindDataSource (Structures_DataGrid_DataSource $source)

Description

Binds a Structures_DataGrid_DataSource object to the DataGrid.

Parameter

Structures_DataGrid_DataSource $source

The DataSource object

Return value

mixed - TRUE upon success otherwise a PEAR_Error upon failure

Example