phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
HtmlDatalist.php
Go to the documentation of this file.
1
<?php
2
namespace
Ajax\semantic\html\elements\html5
;
3
4
use
Ajax\common\html\HtmlDoubleElement
;
5
use
Ajax\common\html\HtmlCollection
;
6
7
class
HtmlDatalist
extends
HtmlCollection
{
8
9
public
function
__construct
(
$identifier
) {
10
parent::__construct(
$identifier
,
"datalist"
);
11
}
12
13
protected
function
createItem
($value) {
14
$elm =
new
HtmlDoubleElement
(
""
,
"option"
);
15
$elm->setProperty(
"value"
, $value);
16
$elm->setContent($value);
17
return
$elm;
18
}
19
20
protected
function
createCondition
($value) {
21
return
true
;
22
}
23
}
24
Ajax\common\html\BaseWidget\$identifier
$identifier
Definition
BaseWidget.php:14
Ajax\common\html\HtmlCollection
Base class for Html collections.
Definition
HtmlCollection.php:15
Ajax\common\html\HtmlDoubleElement
Definition
HtmlDoubleElement.php:8
Ajax\semantic\html\elements\html5\HtmlDatalist
Definition
HtmlDatalist.php:7
Ajax\semantic\html\elements\html5\HtmlDatalist\createCondition
createCondition($value)
Definition
HtmlDatalist.php:20
Ajax\semantic\html\elements\html5\HtmlDatalist\createItem
createItem($value)
The item factory.
Definition
HtmlDatalist.php:13
Ajax\semantic\html\elements\html5\HtmlDatalist\__construct
__construct($identifier)
Definition
HtmlDatalist.php:9
Ajax\semantic\html\elements\html5
Definition
HtmlDatalist.php:2
Ajax
semantic
html
elements
html5
HtmlDatalist.php
Generated on Sun Dec 10 2023 16:16:07 for
phpMv-UI
by
doxygen
1.9.8