PHP 클래스 TbButtonColumn

Used to set buttons to use Glyphicons instead of the defaults images.
상속: extends CButtonColumn
파일 보기 프로젝트 열기: yinhe/yincart 1 사용 예제들

공개 프로퍼티들

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