PHP 클래스 TbButtonGroupColumn

Renders the buttons as a button group
상속: extends TbButtonColumn
파일 보기 프로젝트 열기: yinhe/yincart

공개 프로퍼티들

프로퍼티 타입 설명
$buttonSize the button size ('mini','small','normal','large')
$deleteButtonType the delete button type ('info','primary','warning','danger','success' defaults to 'danger')
$updateButtonType the update button type ('info','primary','warning','danger','success' defaults to 'warning').
$viewButtonType the view button type ('info','primary','warning','danger','success' defaults to 'info').

보호된 메소드들

메소드 설명
initDefaultButtons ( ) ### .initDefaultButtons()
renderButton ( string $id, array $button, integer $row, mixed $data ) ### .renderButton()
renderDataCellContent ( integer $row, mixed $data ) ### .renderDataCellContent()

메소드 상세

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

renderDataCellContent() 보호된 메소드

Renders the data cell content. This method renders the view, update and delete 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

프로퍼티 상세

$buttonSize 공개적으로 프로퍼티

the button size ('mini','small','normal','large')
public $buttonSize

$deleteButtonType 공개적으로 프로퍼티

the delete button type ('info','primary','warning','danger','success' defaults to 'danger')
public $deleteButtonType

$updateButtonType 공개적으로 프로퍼티

the update button type ('info','primary','warning','danger','success' defaults to 'warning').
public $updateButtonType

$viewButtonType 공개적으로 프로퍼티

the view button type ('info','primary','warning','danger','success' defaults to 'info').
public $viewButtonType