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

Public Attributes

 $buttonSize = 'mini'
 $viewButtonContext = 'info'
 $updateButtonContext = 'warning'
 $deleteButtonContext = 'danger'
- Public Attributes inherited from TbButtonColumn
 $viewButtonIcon = 'eye-open'
 $updateButtonIcon = 'pencil'
 $deleteButtonIcon = 'trash'

Protected Member Functions

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

Detailed Description

Definition at line 19 of file TbButtonGroupColumn.php.

Member Function Documentation

TbButtonGroupColumn::initDefaultButtons ( )
protected

.initDefaultButtons()

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

Reimplemented from TbButtonColumn.

Definition at line 46 of file TbButtonGroupColumn.php.

TbButtonGroupColumn::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 from TbButtonColumn.

Definition at line 72 of file TbButtonGroupColumn.php.

Here is the caller graph for this function:

TbButtonGroupColumn::renderDataCellContent (   $row,
  $data 
)
protected

.renderDataCellContent()

Renders the data cell content. This method renders the view, update and delete buttons in the data cell.

Parameters
integer$rowthe row number (zero-based)
mixed$datathe data associated with the row

Definition at line 125 of file TbButtonGroupColumn.php.

Here is the call graph for this function:

Member Data Documentation

TbButtonGroupColumn::$buttonSize = 'mini'

Definition at line 24 of file TbButtonGroupColumn.php.

TbButtonGroupColumn::$deleteButtonContext = 'danger'

Definition at line 39 of file TbButtonGroupColumn.php.

TbButtonGroupColumn::$updateButtonContext = 'warning'

Definition at line 34 of file TbButtonGroupColumn.php.

TbButtonGroupColumn::$viewButtonContext = 'info'

Definition at line 29 of file TbButtonGroupColumn.php.


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