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 TbAlert

Bootstrap alert widget.

CWidget
Extended by TbAlert
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#alerts
Located at widgets/TbAlert.php
Methods summary
public
# init( )

Initializes the widget.

Initializes the widget.

public
# run( )

Runs the widget.

Runs the widget.

Properties summary
public array $alerts
#

the alerts configurations (style=>config).

the alerts configurations (style=>config).

public string|boolean $closeText TbHtml::CLOSE_TEXT
#

the close link text. If this is set false, no close link will be displayed.

the close link text. If this is set false, no close link will be displayed.

public boolean $block true
#

indicates whether the alert should be an alert block. Defaults to 'true'.

indicates whether the alert should be an alert block. Defaults to 'true'.

public boolean $fade true
#

indicates whether alerts should use transitions. Defaults to 'true'.

indicates whether alerts should use transitions. Defaults to 'true'.

public string[] $events array()
#

the JavaScript event configuration (name=>handler).

the JavaScript event configuration (name=>handler).

public array $htmlOptions array()
#

the HTML attributes for the alert container.

the HTML attributes for the alert container.

Yiistrap API documentation generated by ApiGen 2.8.0