Overview

Packages

  • bootstrap
    • behaviors
    • components
    • form
    • gii
    • helpers
    • widgets

Classes

  • TbActiveForm
  • TbAffix
  • TbAlert
  • TbBreadcrumb
  • TbButtonColumn
  • TbCollapse
  • TbDataColumn
  • TbDetailView
  • TbGridView
  • TbHeroUnit
  • TbListView
  • TbModal
  • TbNav
  • TbNavbar
  • TbPager
  • TbScrollspy
  • TbTabs
  • TbThumbnails
  • TbTypeAhead
  • Overview
  • Package
  • Class
  • Tree

Class TbButtonColumn

Bootstrap button column widget.

CButtonColumn
Extended by TbButtonColumn
Package: bootstrap\widgets
Copyright: Copyright © Christoffer Niska 2013-
License: New BSD License
Author: Antonio Ramirez <ramirez.cobos@gmail.com>
Author: Christoffer Niska <ChristofferNiska@gmail.com>
Located at widgets/TbButtonColumn.php
Methods summary
protected
# initDefaultButtons( )

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

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

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

Renders a link button.

Renders a link button.

Parameters

$id
string
$id the ID of the button
$button
array
$button the button configuration which may contain 'label', 'url', 'imageUrl' and 'options' elements.
$row
integer
$row the row number (zero-based)
$data
mixed
$data the data object associated with the row
Properties summary
public string $viewButtonIcon TbHtml::ICON_EYE_OPEN
#

the view button icon (defaults to TbHtml::ICON_EYE_OPEN).

the view button icon (defaults to TbHtml::ICON_EYE_OPEN).

public string $updateButtonIcon TbHtml::ICON_PENCIL
#

the update button icon (defaults to TbHtml::ICON_PENCIL).

the update button icon (defaults to TbHtml::ICON_PENCIL).

public string $deleteButtonIcon TbHtml::ICON_TRASH
#

the delete button icon (defaults to TbHtml::ICON_TRASH).

the delete button icon (defaults to TbHtml::ICON_TRASH).

Yiistrap API documentation generated by ApiGen 2.8.0