phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
Popup.php
Go to the documentation of this file.
1<?php
2
4
6
8
9 public function __construct(JsUtils $js) {
10 parent::__construct($js);
11 $this->uiName="popup";
12 }
13
19 public function setOn($value="click") {
20 return $this->setParam("on", $value);
21 }
22
28 public function setOnShow($jsCode) {
29 $jsCode=str_ireplace("\"","%quote%", $jsCode);
30 return $this->setParam("onShow", "%function(){".$jsCode."}%");
31 }
32
33 public function setExclusive($value){
34 return $this->setParam("exclusive", $value);
35 }
36
42 public function setPopup($popup){
43 return $this->setParam("popup", $popup);
44 }
45
46 public function setInline($value){
47 return $this->setParam("inline", $value);
48 }
49
50 public function setPosition($value){
51 return $this->setParam("position", $value);
52 }
53
54 public function setSetFluidWidth($value){
55 return $this->setParam("setFluidWidth", $value);
56 }
57}
JQuery PHP library.
Definition JsUtils.php:23
setOnShow($jsCode)
This event fires immediately when the show instance method is called.
Definition Popup.php:28
setOn($value="click")
Definition Popup.php:19
setPopup($popup)
Defines the css selector of the displayed popup.
Definition Popup.php:42