1 | <?php |
||
8 | class Popup extends SimpleExtComponent { |
||
9 | |||
10 | public function __construct(JsUtils $js) { |
||
14 | |||
15 | /** |
||
16 | * |
||
17 | * @param string $value default : click |
||
18 | * @return $this |
||
19 | */ |
||
20 | public function setOn($value="click") { |
||
23 | |||
24 | /** |
||
25 | * This event fires immediately when the show instance method is called. |
||
26 | * @param string $jsCode |
||
27 | * @return $this |
||
28 | */ |
||
29 | public function setOnShow($jsCode) { |
||
32 | |||
33 | public function setExclusive($value){ |
||
36 | |||
37 | /** |
||
38 | * Defines the css selector of the displayed popup |
||
39 | * @param string $popup the css selector of the popup |
||
40 | * @return \Ajax\semantic\components\Popup |
||
41 | */ |
||
42 | public function setPopup($popup){ |
||
45 | //TODO other events implementation |
||
46 | } |