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 TbCollapse

Bootstrap collapse widget.

CWidget
Extended by TbCollapse
Package: bootstrap\widgets
Copyright: Copyright © Christoffer Niska 2013-
License: New BSD License
Author: Christoffer Niska <christoffer.niska@gmail.com>
See: http://twitter.github.com/bootstrap/javascript.html#collapse
Located at widgets/TbCollapse.php
Methods summary
public
# init( )

Initializes the widget.

Initializes the widget.

public
# run( )

Runs the widget.

Runs the widget.

Properties summary
public string $tagName 'div'
#

the HTML tag for the container.

the HTML tag for the container.

public string $content
#

the content text.

the content text.

public string $view
#

the path to a partial view.

the path to a partial view.

public string $parent
#

the CSS selector for the parent element.

the CSS selector for the parent element.

public boolean $toggle
#

whether to be collapsed on invocation.

whether to be collapsed on invocation.

public string[] $events array()
#

$events the JavaScript event configuration (name=>handler).

$events the JavaScript event configuration (name=>handler).

public array $htmlOptions array()
#

the HTML attributes for the container.

the HTML attributes for the container.

public array $viewData array()
#

additional data to be passed to the view.

additional data to be passed to the view.

Yiistrap API documentation generated by ApiGen 2.8.0