phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
HtmlCarouselItem.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ajax\bootstrap\html\content
;
4
5
use
Ajax\common\html\BaseHtml
;
6
use
Ajax\JsUtils
;
7
8
class
HtmlCarouselItem
extends
BaseHtml
{
9
protected
$imageSrc
;
10
protected
$imageAlt
;
11
protected
$caption
;
12
13
public
function
__construct
(
$identifier
) {
14
parent::__construct(
$identifier
);
15
$this->_template=include __DIR__.
'/../templates/tplCarouselItem.php'
;
16
}
17
18
public
function
getImageSrc
() {
19
return
$this->imageSrc
;
20
}
21
22
public
function
setImageSrc
(
$imageSrc
) {
23
$this->imageSrc=
$imageSrc
;
24
return
$this;
25
}
26
27
public
function
getImageAlt
() {
28
return
$this->imageAlt
;
29
}
30
31
public
function
setImageAlt
(
$imageAlt
) {
32
$this->imageAlt=
$imageAlt
;
33
return
$this;
34
}
35
36
public
function
getCaption
() {
37
return
$this->caption
;
38
}
39
40
public
function
setCaption
(
$caption
) {
41
$this->caption=
$caption
;
42
return
$this;
43
}
44
45
/*
46
* (non-PHPdoc)
47
* @see \Ajax\bootstrap\html\base\BaseHtml::run()
48
*/
49
public
function
run
(
JsUtils
$js) {
50
51
}
52
53
public
function
__toString
() {
54
return
$this->
compile
();
55
}
56
57
public
function
setClass
($value) {
58
$this->
setProperty
(
"class"
, $value);
59
}
60
}
Ajax\JsUtils
JQuery PHP library.
Definition
JsUtils.php:23
Ajax\bootstrap\html\content\HtmlCarouselItem
Definition
HtmlCarouselItem.php:8
Ajax\bootstrap\html\content\HtmlCarouselItem\getImageAlt
getImageAlt()
Definition
HtmlCarouselItem.php:27
Ajax\bootstrap\html\content\HtmlCarouselItem\setImageSrc
setImageSrc($imageSrc)
Definition
HtmlCarouselItem.php:22
Ajax\bootstrap\html\content\HtmlCarouselItem\run
run(JsUtils $js)
Definition
HtmlCarouselItem.php:49
Ajax\bootstrap\html\content\HtmlCarouselItem\setCaption
setCaption($caption)
Definition
HtmlCarouselItem.php:40
Ajax\bootstrap\html\content\HtmlCarouselItem\$caption
$caption
Definition
HtmlCarouselItem.php:11
Ajax\bootstrap\html\content\HtmlCarouselItem\$imageAlt
$imageAlt
Definition
HtmlCarouselItem.php:10
Ajax\bootstrap\html\content\HtmlCarouselItem\__construct
__construct($identifier)
Definition
HtmlCarouselItem.php:13
Ajax\bootstrap\html\content\HtmlCarouselItem\__toString
__toString()
Definition
HtmlCarouselItem.php:53
Ajax\bootstrap\html\content\HtmlCarouselItem\getImageSrc
getImageSrc()
Definition
HtmlCarouselItem.php:18
Ajax\bootstrap\html\content\HtmlCarouselItem\$imageSrc
$imageSrc
Definition
HtmlCarouselItem.php:9
Ajax\bootstrap\html\content\HtmlCarouselItem\getCaption
getCaption()
Definition
HtmlCarouselItem.php:36
Ajax\bootstrap\html\content\HtmlCarouselItem\setClass
setClass($value)
Definition
HtmlCarouselItem.php:57
Ajax\bootstrap\html\content\HtmlCarouselItem\setImageAlt
setImageAlt($imageAlt)
Definition
HtmlCarouselItem.php:31
Ajax\common\html\BaseHtml
BaseHtml for HTML components.
Definition
BaseHtml.php:17
Ajax\common\html\BaseHtml\compile
compile(JsUtils $js=NULL, &$view=NULL)
Definition
BaseHtml.php:207
Ajax\common\html\BaseWidget\$identifier
$identifier
Definition
BaseWidget.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
HtmlCarouselItem.php
Generated on Sun Dec 10 2023 16:15:52 for
phpMv-UI
by
doxygen
1.9.8