phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
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
class
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\common\html\BaseHtml
BaseHtml for HTML components.
Definition
BaseHtml.php:17
Ajax\semantic\html\views\HtmlCardGroups
Semantic html Cards group.
Definition
HtmlCardGroups.php:12
Ajax\semantic\html\views\HtmlCard
Definition
HtmlCard.php:7
Ajax\semantic\html\views\HtmlItems
Semantic html Items component.
Definition
HtmlItems.php:14
Ajax\semantic\traits\SemanticHtmlViewsTrait
Definition
SemanticHtmlViewsTrait.php:10
Ajax\semantic\traits\SemanticHtmlViewsTrait\htmlCardGroups
htmlCardGroups($identifier, $cards=array())
Definition
SemanticHtmlViewsTrait.php:28
Ajax\semantic\traits\SemanticHtmlViewsTrait\htmlCard
htmlCard($identifier)
Definition
SemanticHtmlViewsTrait.php:19
Ajax\semantic\traits\SemanticHtmlViewsTrait\addHtmlComponent
addHtmlComponent(BaseHtml $htmlComponent)
Ajax\semantic\traits\SemanticHtmlViewsTrait\htmlItems
htmlItems($identifier, $items=array())
Definition
SemanticHtmlViewsTrait.php:37
Ajax\semantic\traits
Definition
SemanticComponentsTrait.php:3
Ajax
semantic
traits
SemanticHtmlViewsTrait.php
Generated on Sun Dec 10 2023 16:16:09 for
phpMv-UI
by
doxygen
1.9.8