\TbButtonColumn

## Bootstrap button column widget.

Used to set buttons to use Glyphicons instead of the defaults images.

Summary

Methods
Properties
Constants
No public methods found
$viewButtonIcon
$updateButtonIcon
$deleteButtonIcon
No constants found
initDefaultButtons()
renderButton()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$viewButtonIcon

$viewButtonIcon : string

Type

string — the view button icon (defaults to 'eye-open').

$updateButtonIcon

$updateButtonIcon : string

Type

string — the update button icon (defaults to 'pencil').

$deleteButtonIcon

$deleteButtonIcon : string

Type

string — the delete button icon (defaults to 'trash').

Methods

initDefaultButtons()

initDefaultButtons()

### .initDefaultButtons()

Initializes the default buttons (view, update and delete).

renderButton()

renderButton(string $id, array $button, integer $row, mixed $data)

### .renderButton()

Renders a link button.

Parameters

string $id

the ID of the button

array $button

the button configuration which may contain 'label', 'url', 'imageUrl' and 'options' elements.

integer $row

the row number (zero-based)

mixed $data

the data object associated with the row