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
4
5
7
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}
__construct($identifier, $cards=array())
getCardContent($cardIndex, $contentIndex)