phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
HtmlTabContent.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ajax\bootstrap\html\content
;
4
5
6
use
Ajax\bootstrap\html\base\HtmlBsDoubleElement
;
12
class
HtmlTabContent
extends
HtmlBsDoubleElement
{
13
14
public
function
__construct
(
$identifier
,
$tagName
=
"div"
) {
15
parent::__construct(
$identifier
,
$tagName
);
16
$this->
setProperty
(
"class"
,
"tab-content"
);
17
$this->content=array ();
// HtmlTabContentItem
18
}
19
20
public
function
addTabItem
(
$identifier
) {
21
$tabItem=
new
HtmlTabContentItem
(
$identifier
);
22
$this->content []=$tabItem;
23
}
24
25
public
function
getTabItem
($index) {
26
if
($index<
sizeof
($this->content))
27
return
$this->content [$index];
28
}
29
30
public
function
getTabItems
() {
31
return
$this->content
;
32
}
33
}
Ajax\bootstrap\html\base\HtmlBsDoubleElement
Definition
HtmlBsDoubleElement.php:10
Ajax\bootstrap\html\content\HtmlTabContent
Twitter Bootstrap HTML TabContent component.
Definition
HtmlTabContent.php:12
Ajax\bootstrap\html\content\HtmlTabContent\getTabItems
getTabItems()
Definition
HtmlTabContent.php:30
Ajax\bootstrap\html\content\HtmlTabContent\__construct
__construct($identifier, $tagName="div")
Definition
HtmlTabContent.php:14
Ajax\bootstrap\html\content\HtmlTabContent\addTabItem
addTabItem($identifier)
Definition
HtmlTabContent.php:20
Ajax\bootstrap\html\content\HtmlTabContent\getTabItem
getTabItem($index)
Definition
HtmlTabContent.php:25
Ajax\bootstrap\html\content\HtmlTabContentItem
Inner element for Twitter Bootstrap HTML Dropdown component.
Definition
HtmlTabContentItem.php:12
Ajax\common\html\BaseHtml\$tagName
$tagName
Definition
BaseHtml.php:21
Ajax\common\html\BaseWidget\$identifier
$identifier
Definition
BaseWidget.php:14
Ajax\common\html\HtmlDoubleElement\$content
$content
Definition
HtmlDoubleElement.php:14
Ajax\common\html\traits\BaseHtmlPropertiesTrait\setProperty
setProperty($name, $value)
Definition
BaseHtmlPropertiesTrait.php:30
Ajax\bootstrap\html\content
Definition
HtmlCarouselControl.php:3
Ajax
bootstrap
html
content
HtmlTabContent.php
Generated on Sun Dec 10 2023 16:15:52 for
phpMv-UI
by
doxygen
1.9.8