PHP Class TbGroupButtonColumn

Used to set buttons group.
Inheritance: extends CButtonColumn
Show file Open project: yinhe/yincart

Protected Methods

Method Description
renderButton ( string $id, array $button, integer $row, mixed $data ) Renders a link button.
renderDataCellContent ( integer $row, mixed $data ) Renders the data cell content.

Method Details

renderButton() protected method

Renders a link button.
protected renderButton ( string $id, array $button, integer $row, mixed $data )
$id string the ID of the button
$button array the button configuration which may contain 'label', 'url', 'imageUrl' and 'options' elements.
$row integer the row number (zero-based)
$data mixed the data object associated with the row

renderDataCellContent() protected method

This method renders the view, update and delete buttons in the data cell.
protected renderDataCellContent ( integer $row, mixed $data )
$row integer the row number (zero-based)
$data mixed the data associated with the row