phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
HtmlLinkTrait.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ajax\common\html\html5
;
4
5
trait
HtmlLinkTrait
{
6
7
abstract
public
function
setProperty
($name,$value);
8
abstract
public
function
getProperty
($name);
9
10
public
function
setHref
($value) {
11
$this->
setProperty
(
"href"
, $value);
12
}
13
14
public
function
getHref
() {
15
return
$this->
getProperty
(
"href"
);
16
}
17
18
public
function
setTarget
($value=
"_self"
) {
19
return
$this->
setProperty
(
"target"
, $value);
20
}
21
}
Ajax\common\html\html5
Definition:
HtmlImg.php:3
Ajax\common\html\html5\setHref
setHref($value)
Definition:
HtmlLinkTrait.php:10
Ajax\common\html\html5\setTarget
setTarget($value="_self")
Definition:
HtmlLinkTrait.php:18
Ajax\common\html\traits\setProperty
setProperty($name, $value)
Definition:
BaseHtmlPropertiesTrait.php:30
Ajax\common\html\html5\getHref
getHref()
Definition:
HtmlLinkTrait.php:14
Ajax\common\html\html5\getProperty
getProperty($name)
Definition:
BaseHtmlPropertiesTrait.php:35
HtmlLinkTrait
Ajax
common
html
html5
HtmlLinkTrait.php
Generated on Thu Sep 19 2024 23:26:03 for
phpMv-UI
by
doxygen
1.8.13