PHP Class TbModal

See also:
Inheritance: extends CWidget
显示文件 Open project: yinhe/yincart Class Usage Examples

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 ( ) ### .init()
run ( ) ### .run()

Method Details

init() public method

Initializes the widget.
public init ( )

run() public method

Runs the widget.
public run ( )

Property Details

$autoOpen public_oe property

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

$events public_oe property

the Javascript event handlers.
public $events

$fade public_oe property

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

$htmlOptions public_oe property

the HTML attributes for the widget container.
public $htmlOptions

$options public_oe property

the options for the Bootstrap Javascript plugin.
public $options