Structures_DataGrid::setRenderer()

Structures_DataGrid::setRenderer()  -- Set Renderer

Referentiesamenvatting

require_once 'Structures/DataGrid.php';

mixed& Structures_DataGrid::setRenderer (string $type, array [$options = array()])

Beschrijving

Defines which renderer to be used by the DataGrid based on given $type and $options. To attach an existing renderer instance, use attachRenderer() instead.

Parameter

string $type

The defined renderer string

array $options

Rendering options

Return waarde

returns Renderer instance or PEAR_Error

Throws

throws no exceptions thrown

Zie

see Structures_DataGrid::attachRenderer

Note

Deze functie kan niet statisch worden aangeroepen.