PHP 클래스 yupe\widgets\ToggleColumn

상속: extends TbToggleColumn
파일 보기 프로젝트 열기: yupe/yupe

공개 프로퍼티들

프로퍼티 타입 설명
$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