phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
HtmlLink.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ajax\bootstrap\html
;
4
5
use
Ajax\JsUtils
;
6
use
Ajax\bootstrap\html\base\HtmlBsDoubleElement
;
7
use
Ajax\common\html\html5\HtmlLinkTrait
;
8
9
class
HtmlLink
extends
HtmlBsDoubleElement
{
10
use
HtmlLinkTrait
;
11
12
public
function
__construct
(
$identifier
, $href=
"#"
,
$content
=
"Link"
) {
13
parent::__construct(
$identifier
,
"a"
);
14
$this->
setHref
($href);
15
$this->content=
$content
;
16
}
17
18
/*
19
* (non-PHPdoc)
20
* @see \Ajax\bootstrap\html\base\HtmlSingleElement::run()
21
*/
22
public
function
run
(
JsUtils
$js) {
23
$this->_bsComponent=$js->
bootstrap
()->generic(
"#"
.$this->identifier);
24
$this->
addEventsOnRun
($js);
25
return
$this->_bsComponent
;
26
}
27
}
Ajax\bootstrap\html
Ajax\bootstrap\html\HtmlLink\__construct
__construct($identifier, $href="#", $content="Link")
Definition:
HtmlLink.php:12
Ajax\common\html\html5\setHref
setHref($value)
Definition:
HtmlLinkTrait.php:10
Ajax\bootstrap\html\HtmlLink
Definition:
HtmlLink.php:9
Ajax\common\html\BaseHtml\$_bsComponent
$_bsComponent
Definition:
BaseHtml.php:28
Ajax\common\html\traits\addEventsOnRun
addEventsOnRun(JsUtils $js=NULL)
Definition:
BaseHtmlEventsTrait.php:91
Ajax\bootstrap\html\base\HtmlBsDoubleElement
Definition:
HtmlBsDoubleElement.php:10
Ajax\common\html\BaseWidget\$identifier
$identifier
Definition:
BaseWidget.php:14
HtmlBsDoubleElement
Ajax\JsUtils\bootstrap
bootstrap(Bootstrap $bootstrap=NULL)
getter or setter of the Twitter Bootstrap variable
Definition:
JsUtils.php:141
Ajax\JsUtils
JQuery PHP library.
Definition:
JsUtils.php:23
Ajax\bootstrap\html\HtmlLink\run
run(JsUtils $js)
Definition:
HtmlLink.php:22
JsUtils
Ajax\common\html\html5\HtmlLinkTrait
trait HtmlLinkTrait
Definition:
HtmlLinkTrait.php:5
Ajax\common\html\HtmlDoubleElement\$content
$content
Definition:
HtmlDoubleElement.php:14
Ajax
bootstrap
html
HtmlLink.php
Generated on Thu Sep 19 2024 23:26:03 for
phpMv-UI
by
doxygen
1.8.13