previousStructures_DataGrid::setDefaultSort (Previous) (Next) Structures_DataGrid::setRendererOptionnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Structures_DataGrid::setRenderer

Structures_DataGrid::setRenderer() – Set Renderer

Synopsis

require_once 'Structures/DataGrid.php';

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

Description

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 value

returns Renderer instance or PEAR_Error

Throws

throws no exceptions thrown

Note

This function can not be called statically.

previousStructures_DataGrid::setDefaultSort (Previous) (Next) Structures_DataGrid::setRendererOptionnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.