PHP Class TbAlert

See also: http://twitter.github.com/bootstrap/javascript.html#alerts
Inheritance: extends CWidget
Mostrar archivo Open project: yinhe/yincart

Public Properties

Property Type Description
$alerts the alerts configurations.
$block indicates whether the alert should be an alert block. Defaults to 'true'.
$closeText the close link text. If this is set false, no close link will be displayed.
$events the Javascript event handlers.
$fade indicates whether alerts should use transitions. Defaults to 'true'.
$htmlOptions the HTML attributes for the widget container.
$userComponentId User-component for getting flash messages.

Public Methods

Method Description
init ( ) ### .init()
run ( ) ### .run()

Method Details

init() public method

Initializes the widget.
public init ( )

run() public method

Runs the widget.
public run ( )

Property Details

$alerts public_oe property

the alerts configurations.
public $alerts

$block public_oe property

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

$closeText public_oe property

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

$events public_oe property

the Javascript event handlers.
public $events

$fade public_oe property

indicates whether alerts should use transitions. Defaults to 'true'.
public $fade

$htmlOptions public_oe property

the HTML attributes for the widget container.
public $htmlOptions

$userComponentId public_oe property

User-component for getting flash messages.
public $userComponentId