PHP Class TbModalManager

See also: https://github.com/jschr/bootstrap-modal/
Inheritance: extends CWidget
Show file Open project: yinhe/yincart

Public Properties

Property Type Description
$autoOpen indicates whether to automatically open the modal when initialized. Defaults to 'false'.
$events the Javascript event handlers.
$fade indicates whether the modal should use transitions. Defaults to 'true'.
$htmlOptions the HTML attributes for the widget container.
$options the options for the Bootstrap Javascript plugin.

Public Methods

Method Description
init ( ) Initializes the widget.
registerClientScript ( integer $id ) Registers required
run ( ) Runs the widget.

Method Details

init() public method

Initializes the widget.
public init ( )

registerClientScript() public method

Registers required
public registerClientScript ( integer $id )
$id integer

run() public method

Runs the widget.
public run ( )

Property Details

$autoOpen public property

indicates whether to automatically open the modal when initialized. Defaults to 'false'.
public $autoOpen

$events public property

the Javascript event handlers.
public $events

$fade public property

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

$htmlOptions public property

the HTML attributes for the widget container.
public $htmlOptions

$options public property

the options for the Bootstrap Javascript plugin.
public $options