PHP Class yupe\widgets\ToggleColumn

Inheritance: extends TbToggleColumn
Mostrar archivo Open project: yupe/yupe

Public Properties

Property Type Description
$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.

Protected Methods

Method Description
renderDataCellContent ( integer $row, mixed $data ) Renders the data cell content.

Private Methods

Method Description
getButtonLabel ( $value ) : string

Method Details

renderDataCellContent() protected method

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

Property Details

$checkedIcon public_oe property

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

$emptyIcon public_oe property

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

$uncheckedIcon public_oe property

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