Structures_DataGrid::setRenderer()

Structures_DataGrid::setRenderer()  -- Set Renderer

Synopsis

require_once 'Structures/DataGrid.php';

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

Описание

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

Параметр

string $type

The defined renderer string

array $options

Rendering options

Возвращаемое значение

returns Renderer instance or PEAR_Error

Throws

throws no exceptions thrown

См. также

see Structures_DataGrid::attachRenderer

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ