phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
HtmlItems.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ajax\semantic\html\views
;
4
5
6
use
Ajax\semantic\html\content\view\HtmlViewGroups
;
7
use
Ajax\semantic\html\content\view\HtmlItem
;
8
14
class
HtmlItems
extends
HtmlViewGroups
{
15
16
public
function
__construct
(
$identifier
, $items=[]) {
17
parent::__construct(
$identifier
,
"ui items"
,$items);
18
}
19
20
protected
function
createElement
(){
21
return
new
HtmlItem
(
"item-"
. $this->
count
());
22
}
23
24
public
function
newItem
(
$identifier
) {
25
return
new
HtmlItem
(
$identifier
);
26
}
27
}
Ajax\common\html\BaseWidget\$identifier
$identifier
Definition
BaseWidget.php:14
Ajax\common\html\HtmlCollection\count
count()
Definition
HtmlCollection.php:100
Ajax\semantic\html\content\view\HtmlItem
Semantic html item use in Items component.
Definition
HtmlItem.php:10
Ajax\semantic\html\content\view\HtmlViewGroups
Definition
HtmlViewGroups.php:10
Ajax\semantic\html\views\HtmlItems
Semantic html Items component.
Definition
HtmlItems.php:14
Ajax\semantic\html\views\HtmlItems\newItem
newItem($identifier)
Definition
HtmlItems.php:24
Ajax\semantic\html\views\HtmlItems\createElement
createElement()
Definition
HtmlItems.php:20
Ajax\semantic\html\views\HtmlItems\__construct
__construct($identifier, $items=[])
Definition
HtmlItems.php:16
Ajax\semantic\html\views
Definition
HtmlCard.php:3
Ajax
semantic
html
views
HtmlItems.php
Generated on Sun Dec 10 2023 16:16:09 for
phpMv-UI
by
doxygen
1.9.8