1 | <?php |
||
18 | class TbModal extends CWidget { |
||
19 | |||
20 | /** |
||
21 | * @var boolean indicates whether to automatically open the modal when initialized. Defaults to 'false'. |
||
22 | */ |
||
23 | public $autoOpen = false; |
||
24 | |||
25 | /** |
||
26 | * @var boolean indicates whether the modal should use transitions. Defaults to 'true'. |
||
27 | */ |
||
28 | public $fade = true; |
||
29 | |||
30 | /** |
||
31 | * @var array the options for the Bootstrap Javascript plugin. |
||
32 | */ |
||
33 | public $options = array(); |
||
34 | |||
35 | /** |
||
36 | * @var string[] the Javascript event handlers. |
||
37 | */ |
||
38 | public $events = array(); |
||
39 | |||
40 | /** |
||
41 | * @var array the HTML attributes for the widget container. |
||
42 | */ |
||
43 | public $htmlOptions = array(); |
||
44 | |||
45 | /** |
||
|
|||
46 | * @var array the HTML attributes for the modal-dialog div. |
||
47 | */ |
||
48 | public $modalDialogOptions = array(); |
||
49 | |||
50 | /** |
||
51 | * @var array the HTML attributes for the modal-content div. |
||
52 | */ |
||
53 | public $modalContentOptions = array(); |
||
54 | |||
55 | /** |
||
56 | *### .init() |
||
57 | * |
||
58 | * Initializes the widget. |
||
59 | */ |
||
60 | public function init() { |
||
101 | |||
102 | /** |
||
103 | *### .run() |
||
104 | * |
||
105 | * Runs the widget. |
||
106 | */ |
||
107 | public function run() { |
||
126 | } |
||
127 |