phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
HtmlImg.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ajax\common\html\html5
;
4
5
6
use
Ajax\common\html\HtmlSingleElement
;
7
8
class
HtmlImg
extends
HtmlSingleElement
{
9
10
public
function
__construct
(
$identifier
,$src=
""
,$alt=
""
) {
11
parent::__construct(
$identifier
,
"img"
);
12
$this->
setSrc
($src);
13
$this->
setAlt
($alt);
14
}
15
16
public
function
getSrc
() {
17
return
$this->
getProperty
(
"src"
);
18
}
19
20
public
function
setSrc
($src) {
21
$this->
setProperty
(
"src"
, $src);
22
return
$this;
23
}
24
25
public
function
getAlt
() {
26
return
$this->
getProperty
(
"alt"
);
27
}
28
29
public
function
setAlt
($alt) {
30
$this->
setProperty
(
"alt"
, $alt);
31
return
$this;
32
}
33
34
public
function
getTitle
() {
35
return
$this->
getProperty
(
"title"
);
36
}
37
38
public
function
setTitle
($title) {
39
$this->
setProperty
(
"title"
, $title);
40
return
$this;
41
}
42
}
Ajax\common\html\BaseWidget\$identifier
$identifier
Definition
BaseWidget.php:14
Ajax\common\html\HtmlSingleElement
Definition
HtmlSingleElement.php:7
Ajax\common\html\html5\HtmlImg
Definition
HtmlImg.php:8
Ajax\common\html\html5\HtmlImg\getAlt
getAlt()
Definition
HtmlImg.php:25
Ajax\common\html\html5\HtmlImg\setAlt
setAlt($alt)
Definition
HtmlImg.php:29
Ajax\common\html\html5\HtmlImg\setTitle
setTitle($title)
Definition
HtmlImg.php:38
Ajax\common\html\html5\HtmlImg\getTitle
getTitle()
Definition
HtmlImg.php:34
Ajax\common\html\html5\HtmlImg\__construct
__construct($identifier, $src="", $alt="")
Definition
HtmlImg.php:10
Ajax\common\html\html5\HtmlImg\getSrc
getSrc()
Definition
HtmlImg.php:16
Ajax\common\html\html5\HtmlImg\setSrc
setSrc($src)
Definition
HtmlImg.php:20
Ajax\common\html\traits\BaseHtmlPropertiesTrait\getProperty
getProperty($name)
Definition
BaseHtmlPropertiesTrait.php:35
Ajax\common\html\traits\BaseHtmlPropertiesTrait\setProperty
setProperty($name, $value)
Definition
BaseHtmlPropertiesTrait.php:30
Ajax\common\html\html5
Definition
HtmlImg.php:3
Ajax
common
html
html5
HtmlImg.php
Generated on Sun Dec 10 2023 16:15:56 for
phpMv-UI
by
doxygen
1.9.8