phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
BaseWidget.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ajax\common\html
;
4
5
use
Ajax\service\JString
;
6
12
#[\AllowDynamicProperties()]
13
abstract
class
BaseWidget
{
14
protected
$identifier
;
15
protected
$_identifier
;
16
protected
$_libraryId
;
17
protected
$_self
;
18
19
public
function
__construct
(
$identifier
) {
20
$this->identifier=$this->
cleanIdentifier
(
$identifier
);
21
$this->_identifier=
$this->identifier
;
22
$this->_self=$this;
23
}
24
25
public
function
getIdentifier
() {
26
return
$this->identifier
;
27
}
28
29
public
function
setIdentifier
(
$identifier
) {
30
$this->identifier=$this->
cleanIdentifier
(
$identifier
);
31
return
$this;
32
}
33
34
protected
function
cleanIdentifier
($id) {
35
return
JString::cleanIdentifier
($id);
36
}
40
public
function
getLibraryId
() {
41
if
( isset($this->_libraryId)){
42
return
$this->_libraryId
;
43
}
44
return
$this->identifier
;
45
}
46
50
public
function
setLibraryId
(
$_libraryId
) {
51
$this->_libraryId =
$_libraryId
;
52
}
53
54
}
Ajax\common\html\BaseWidget\$_libraryId
$_libraryId
Definition:
BaseWidget.php:16
JString
Ajax\common\html\BaseWidget\__construct
__construct($identifier)
Definition:
BaseWidget.php:19
Ajax\common\html\BaseWidget\setLibraryId
setLibraryId($_libraryId)
Definition:
BaseWidget.php:50
Ajax\common\html\BaseWidget\getIdentifier
getIdentifier()
Definition:
BaseWidget.php:25
Ajax\common\html\BaseWidget\$identifier
$identifier
Definition:
BaseWidget.php:14
Ajax\common\html
Definition:
BaseHtml.php:2
Ajax\common\html\BaseWidget\cleanIdentifier
cleanIdentifier($id)
Definition:
BaseWidget.php:34
Ajax\common\html\BaseWidget
BaseWidget for Twitter Bootstrap, jQuery UI or Semantic rich components.
Definition:
BaseWidget.php:13
Ajax\service\JString\cleanIdentifier
static cleanIdentifier($id)
Definition:
JString.php:75
Ajax\common\html\BaseWidget\$_self
$_self
Definition:
BaseWidget.php:17
Ajax\common\html\BaseWidget\setIdentifier
setIdentifier($identifier)
Definition:
BaseWidget.php:29
Ajax\common\html\BaseWidget\getLibraryId
getLibraryId()
Definition:
BaseWidget.php:40
Ajax\common\html\BaseWidget\$_identifier
$_identifier
Definition:
BaseWidget.php:15
Ajax
common
html
BaseWidget.php
Generated on Thu Sep 19 2024 23:26:03 for
phpMv-UI
by
doxygen
1.8.13