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 TbTabs

Bootstrap Javascript tabs widget.

CComponent
Extended by CBaseController
Extended by CWidget
Extended by TbTabs
Package: bootstrap\widgets
Copyright: Copyright © Christoffer Niska 2011-
License: New BSD License
Author: Christoffer Niska <ChristofferNiska@gmail.com>
See: http://twitter.github.com/bootstrap/javascript.html#tabs
Located at crisu83/yii-bootstrap/widgets/TbTabs.php

Methods summary

public
# init( )

Initializes the widget.

Initializes the widget.

Overrides

CWidget::init
public
# run( )

Run this widget.

Run this widget.

Overrides

CWidget::run
protected array
# normalizeTabs( array $tabs, array & $panes, integer & $i = 0 )

Normalizes the tab configuration.

Normalizes the tab configuration.

Parameters

$tabs
array
$tabs the tab configuration
$panes
array
$panes a reference to the panes array
$i
integer
$i the current index

Returns

array
the items

Methods inherited from CWidget

__construct(), actions(), getController(), getId(), getOwner(), getViewFile(), getViewPath(), render(), setId()

Methods inherited from CBaseController

beginCache(), beginClip(), beginContent(), beginWidget(), createWidget(), endCache(), endClip(), endContent(), endWidget(), renderFile(), renderInternal(), widget()

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

Constants summary

string PLACEMENT_ABOVE 'above'
#
string PLACEMENT_BELOW 'below'
#
string PLACEMENT_LEFT 'left'
#
string PLACEMENT_RIGHT 'right'
#

Properties summary

public string $type
#

the type of tabs to display. Defaults to 'tabs'. Valid values are 'tabs' and 'pills'. Please not that Javascript pills are not fully supported in Bootstrap yet!

the type of tabs to display. Defaults to 'tabs'. Valid values are 'tabs' and 'pills'. Please not that Javascript pills are not fully supported in Bootstrap yet!

See

TbMenu::$type
public string $placement
#

the placement of the tabs. Valid values are 'above', 'below', 'left' and 'right'.

the placement of the tabs. Valid values are 'above', 'below', 'left' and 'right'.

public array $tabs
#

the tab configuration.

the tab configuration.

public boolean $encodeLabel
#

whether to encode item labels.

whether to encode item labels.

public string[] $events
#

the Javascript event handlers.

the Javascript event handlers.

public array $htmlOptions
#

the HTML attributes for the widget container.

the HTML attributes for the widget container.

Properties inherited from CWidget

$actionPrefix, $skin

Magic properties inherited from CWidget

$controller, $id, $owner, $viewPath

Phundament App Class Reference API documentation generated by ApiGen 2.8.0