HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
TbButtonColumn Class Reference
Inheritance diagram for TbButtonColumn:

Public Attributes

 $viewButtonIcon = 'eye-open'
 $updateButtonIcon = 'pencil'
 $deleteButtonIcon = 'trash'

Protected Member Functions

 initDefaultButtons ()
 renderButton ($id, $button, $row, $data)

Detailed Description

Definition at line 20 of file TbButtonColumn.php.

Member Function Documentation

TbButtonColumn::initDefaultButtons ( )
protected

.initDefaultButtons()

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

Reimplemented in TbJsonButtonColumn, and TbButtonGroupColumn.

Definition at line 42 of file TbButtonColumn.php.

TbButtonColumn::renderButton (   $id,
  $button,
  $row,
  $data 
)
protected

.renderButton()

Renders a link button.

Parameters
string$idthe ID of the button
array$buttonthe button configuration which may contain 'label', 'url', 'imageUrl' and 'options' elements.
integer$rowthe row number (zero-based)
mixed$datathe data object associated with the row

Reimplemented in TbButtonGroupColumn.

Definition at line 67 of file TbButtonColumn.php.

Member Data Documentation

TbButtonColumn::$deleteButtonIcon = 'trash'

Definition at line 35 of file TbButtonColumn.php.

TbButtonColumn::$updateButtonIcon = 'pencil'

Definition at line 30 of file TbButtonColumn.php.

TbButtonColumn::$viewButtonIcon = 'eye-open'

Definition at line 25 of file TbButtonColumn.php.


The documentation for this class was generated from the following file: