phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
SemanticHtmlViewsTrait.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ajax\semantic\traits
;
4
5
use
Ajax\semantic\html\views\HtmlCard
;
6
use
Ajax\semantic\html\views\HtmlCardGroups
;
7
use
Ajax\semantic\html\views\HtmlItems
;
8
use
Ajax\common\html\BaseHtml
;
9
10
trait
SemanticHtmlViewsTrait
{
11
12
abstract
public
function
addHtmlComponent(
BaseHtml
$htmlComponent);
13
19
public
function
htmlCard
($identifier) {
20
return
$this->addHtmlComponent(
new
HtmlCard
($identifier));
21
}
22
28
public
function
htmlCardGroups
($identifier, $cards=array()) {
29
return
$this->addHtmlComponent(
new
HtmlCardGroups
($identifier, $cards));
30
}
31
37
public
function
htmlItems
($identifier, $items=array()) {
38
return
$this->addHtmlComponent(
new
HtmlItems
($identifier, $items));
39
}
40
}
Ajax\semantic\traits\htmlCard
htmlCard($identifier)
Definition:
SemanticHtmlViewsTrait.php:19
Ajax\common\html\BaseHtml
BaseHtml for HTML components.
Definition:
BaseHtml.php:17
HtmlCardGroups
Ajax\semantic\html\views\HtmlCardGroups
Semantic html Cards group.
Definition:
HtmlCardGroups.php:12
SemanticHtmlViewsTrait
Ajax\semantic\html\views\HtmlCard
Definition:
HtmlCard.php:7
HtmlItems
Ajax\semantic\traits\htmlCardGroups
htmlCardGroups($identifier, $cards=array())
Definition:
SemanticHtmlViewsTrait.php:28
Ajax\semantic\html\views\HtmlItems
Semantic html Items component.
Definition:
HtmlItems.php:14
BaseHtml
Ajax\semantic\traits
Definition:
SemanticComponentsTrait.php:3
Ajax\semantic\traits\htmlItems
htmlItems($identifier, $items=array())
Definition:
SemanticHtmlViewsTrait.php:37
HtmlCard
Ajax
semantic
traits
SemanticHtmlViewsTrait.php
Generated on Thu Sep 19 2024 23:26:03 for
phpMv-UI
by
doxygen
1.8.13