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
3
namespace
Ajax\semantic\components
;
4
5
use
Ajax\JsUtils
;
6
7
class
Popup
extends
SimpleSemExtComponent
{
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
}
Ajax\JsUtils
JQuery PHP library.
Definition
JsUtils.php:23
Ajax\common\components\BaseComponent\$js
$js
Definition
BaseComponent.php:20
Ajax\common\components\BaseComponent\setParam
setParam($key, $value)
Definition
BaseComponent.php:35
Ajax\semantic\components\Popup
Definition
Popup.php:7
Ajax\semantic\components\Popup\setSetFluidWidth
setSetFluidWidth($value)
Definition
Popup.php:54
Ajax\semantic\components\Popup\setOnShow
setOnShow($jsCode)
This event fires immediately when the show instance method is called.
Definition
Popup.php:28
Ajax\semantic\components\Popup\setExclusive
setExclusive($value)
Definition
Popup.php:33
Ajax\semantic\components\Popup\setInline
setInline($value)
Definition
Popup.php:46
Ajax\semantic\components\Popup\setOn
setOn($value="click")
Definition
Popup.php:19
Ajax\semantic\components\Popup\setPosition
setPosition($value)
Definition
Popup.php:50
Ajax\semantic\components\Popup\setPopup
setPopup($popup)
Defines the css selector of the displayed popup.
Definition
Popup.php:42
Ajax\semantic\components\Popup\__construct
__construct(JsUtils $js)
Definition
Popup.php:9
Ajax\semantic\components\SimpleSemExtComponent
Definition
SimpleSemExtComponent.php:8
Ajax\semantic\components
Definition
Accordion.php:3
Ajax
semantic
components
Popup.php
Generated on Sun Dec 10 2023 16:15:59 for
phpMv-UI
by
doxygen
1.9.8