Phundament App Class Reference
  • Package
  • Class
  • Tree

Packages

  • bootstrap
    • widgets
      • input
  • Image
  • None
  • p3admin
  • p3extensions
    • behaviors
    • commands
    • components
    • helpers
    • widgets
  • p3media
    • actions
    • controllers
    • models
  • p3pages
    • models
  • p3widgets
    • components
    • models
  • PHP
  • system
    • db
      • ar
    • gii
    • web
      • auth
      • helpers
      • widgets
  • yiiext
    • widgets
      • fancybox
      • lipsum
  • zii
    • widgets
      • grid

Classes

  • TbActiveForm
  • TbAlert
  • TbBadge
  • TbBreadcrumbs
  • TbButton
  • TbButtonColumn
  • TbButtonGroup
  • TbCarousel
  • TbCollapse
  • TbDataColumn
  • TbDetailView
  • TbDropdown
  • TbGridView
  • TbHeroUnit
  • TbLabel
  • TbListView
  • TbMenu
  • TbModal
  • TbNavbar
  • TbPager
  • TbProgress
  • TbScrollSpy
  • TbTabs
  • TbThumbnails
  • TbTypeahead

Class TbButtonColumn

Bootstrap button column widget. Used to set buttons to use Glyphicons instead of the defaults images.

CComponent
Extended by CGridColumn
Extended by CButtonColumn
Extended by TbButtonColumn
Package: bootstrap\widgets
Copyright: Copyright © Christoffer Niska 2011-
License: New BSD License
Author: Christoffer Niska <ChristofferNiska@gmail.com>
Located at crisu83/yii-bootstrap/widgets/TbButtonColumn.php

Methods summary

protected
# initDefaultButtons( )

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

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

Overrides

CButtonColumn::initDefaultButtons
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

Overrides

CButtonColumn::renderButton

Methods inherited from CButtonColumn

init(), registerClientScript(), renderDataCellContent()

Methods inherited from CGridColumn

__construct(), getHasFooter(), renderDataCell(), renderFilterCell(), renderFilterCellContent(), renderFooterCell(), renderFooterCellContent(), renderHeaderCell(), renderHeaderCellContent()

Methods inherited from CComponent

__call(), __get(), __isset(), __set(), __unset(), asa(), attachBehavior(), attachBehaviors(), attachEventHandler(), canGetProperty(), canSetProperty(), detachBehavior(), detachBehaviors(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), getEventHandlers(), hasEvent(), hasEventHandler(), hasProperty(), raiseEvent()

Magic methods summary

Properties summary

public string $viewButtonIcon
#

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

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

public string $updateButtonIcon
#

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

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

public string $deleteButtonIcon
#

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

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

Properties inherited from CButtonColumn

$afterDelete, $buttons, $deleteButtonImageUrl, $deleteButtonLabel, $deleteButtonOptions, $deleteButtonUrl, $deleteConfirmation, $footerHtmlOptions, $headerHtmlOptions, $htmlOptions, $template, $updateButtonImageUrl, $updateButtonLabel, $updateButtonOptions, $updateButtonUrl, $viewButtonImageUrl, $viewButtonLabel, $viewButtonOptions, $viewButtonUrl

Properties inherited from CGridColumn

$cssClassExpression, $filterHtmlOptions, $footer, $grid, $header, $id, $visible

Magic properties inherited from CGridColumn

$hasFooter

Phundament App Class Reference API documentation generated by ApiGen 2.8.0