phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
HtmlCardGroups.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
12
class
HtmlCardGroups
extends
HtmlViewGroups
{
13
14
public
function
__construct
(
$identifier
, $cards=array()) {
15
parent::__construct(
$identifier
,
"ui cards"
,$cards);
16
}
17
18
protected
function
createElement
(){
19
return
new
HtmlCard
(
"card-"
. $this->
count
());
20
}
21
22
public
function
newItem
(
$identifier
) {
23
return
new
HtmlCard
(
$identifier
);
24
}
25
26
public
function
getCard
($index) {
27
return
$this->
getItem
($index);
28
}
29
30
public
function
getCardContent
($cardIndex, $contentIndex) {
31
return
$this->
getItemContent
($cardIndex, $contentIndex);
32
}
33
34
}
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\HtmlViewGroups
Definition
HtmlViewGroups.php:10
Ajax\semantic\html\content\view\HtmlViewGroups\getItemContent
getItemContent($itemIndex, $contentIndex)
Definition
HtmlViewGroups.php:57
Ajax\semantic\html\content\view\HtmlViewGroups\getItem
getItem($index)
Definition
HtmlViewGroups.php:53
Ajax\semantic\html\views\HtmlCardGroups
Semantic html Cards group.
Definition
HtmlCardGroups.php:12
Ajax\semantic\html\views\HtmlCardGroups\getCard
getCard($index)
Definition
HtmlCardGroups.php:26
Ajax\semantic\html\views\HtmlCardGroups\__construct
__construct($identifier, $cards=array())
Definition
HtmlCardGroups.php:14
Ajax\semantic\html\views\HtmlCardGroups\newItem
newItem($identifier)
Definition
HtmlCardGroups.php:22
Ajax\semantic\html\views\HtmlCardGroups\createElement
createElement()
Definition
HtmlCardGroups.php:18
Ajax\semantic\html\views\HtmlCardGroups\getCardContent
getCardContent($cardIndex, $contentIndex)
Definition
HtmlCardGroups.php:30
Ajax\semantic\html\views\HtmlCard
Definition
HtmlCard.php:7
Ajax\semantic\html\views
Definition
HtmlCard.php:3
Ajax
semantic
html
views
HtmlCardGroups.php
Generated on Sun Dec 10 2023 16:16:09 for
phpMv-UI
by
doxygen
1.9.8