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 TbAlert

Bootstrap alert widget.

CComponent
Extended by CBaseController
Extended by CWidget
Extended by TbAlert
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#alerts
Located at crisu83/yii-bootstrap/widgets/TbAlert.php

Methods summary

public
# init( )

Initializes the widget.

Initializes the widget.

Overrides

CWidget::init
public
# run( )

Runs the widget.

Runs the widget.

Overrides

CWidget::run

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 TYPE_SUCCESS 'success'
#
string TYPE_INFO 'info'
#
string TYPE_WARNING 'warning'
#
string TYPE_ERROR 'error'
#
string TYPE_DANGER 'danger'
#

Properties summary

public array $alerts
#

the alerts configurations.

the alerts configurations.

public string|boolean $closeText
#

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
#

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
#

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

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

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