PHP Класс TbButtonColumn

Used to set buttons to use Glyphicons instead of the defaults images.
Наследование: extends CButtonColumn
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$deleteButtonIcon the delete button icon (defaults to 'trash').
$updateButtonIcon the update button icon (defaults to 'pencil').
$viewButtonIcon the view button icon (defaults to 'eye-open').

Защищенные методы

Метод Описание
initDefaultButtons ( ) ### .initDefaultButtons()
renderButton ( string $id, array $button, integer $row, mixed $data ) ### .renderButton()

Описание методов

initDefaultButtons() защищенный метод

Initializes the default buttons (view, update and delete).
protected initDefaultButtons ( )

renderButton() защищенный метод

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

Описание свойств

$deleteButtonIcon публичное свойство

the delete button icon (defaults to 'trash').
public $deleteButtonIcon

$updateButtonIcon публичное свойство

the update button icon (defaults to 'pencil').
public $updateButtonIcon

$viewButtonIcon публичное свойство

the view button icon (defaults to 'eye-open').
public $viewButtonIcon