PHP Класс yupe\widgets\ToggleColumn

Наследование: extends TbToggleColumn
Показать файл Открыть проект

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

Свойство Тип Описание
$checkedIcon the glyph icon toggle button "checked" state. You may set this property to be false to render a text link instead.
$emptyIcon the glyph icon toggle button "empty" state (example for null value)
$uncheckedIcon the glyph icon toggle button "unchecked" state. You may set this property to be false to render a text link instead.

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

Метод Описание
renderDataCellContent ( integer $row, mixed $data ) Renders the data cell content.

Приватные методы

Метод Описание
getButtonLabel ( $value ) : string

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

renderDataCellContent() защищенный Метод

This method renders the view, update and toggle 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

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

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

the glyph icon toggle button "checked" state. You may set this property to be false to render a text link instead.
public $checkedIcon

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

the glyph icon toggle button "empty" state (example for null value)
public $emptyIcon

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

the glyph icon toggle button "unchecked" state. You may set this property to be false to render a text link instead.
public $uncheckedIcon