phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
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
,
HtmlLinkTrait
{
10
11
public
function
__construct
(
$identifier
, $href=
"#"
,
$content
=
"Link"
) {
12
parent::__construct(
$identifier
,
"a"
);
13
$this->
setHref
($href);
14
$this->content=
$content
;
15
}
16
17
/*
18
* (non-PHPdoc)
19
* @see \Ajax\bootstrap\html\base\HtmlSingleElement::run()
20
*/
21
public
function
run
(
JsUtils
$js) {
22
$this->_bsComponent=$js->
bootstrap
()->generic(
"#"
.$this->identifier);
23
$this->
addEventsOnRun
($js);
24
return
$this->_bsComponent
;
25
}
26
}
Ajax\JsUtils
JQuery PHP library.
Definition
JsUtils.php:23
Ajax\JsUtils\bootstrap
bootstrap(Bootstrap $bootstrap=NULL)
getter or setter of the Twitter Bootstrap variable
Definition
JsUtils.php:140
Ajax\bootstrap\html\HtmlLink
Definition
HtmlLink.php:9
Ajax\bootstrap\html\HtmlLink\run
run(JsUtils $js)
SimpleExtComponent\Ajax\common\html\BaseHtmlrun()\Ajax\common\html\BaseHtmlrun()
Definition
HtmlLink.php:21
Ajax\bootstrap\html\HtmlLink\__construct
__construct($identifier, $href="#", $content="Link")
Definition
HtmlLink.php:11
Ajax\bootstrap\html\base\HtmlBsDoubleElement
Definition
HtmlBsDoubleElement.php:10
Ajax\common\html\BaseHtml\$_bsComponent
$_bsComponent
Definition
BaseHtml.php:27
Ajax\common\html\BaseWidget\$identifier
$identifier
Definition
BaseWidget.php:14
Ajax\common\html\HtmlDoubleElement\$content
$content
Definition
HtmlDoubleElement.php:14
Ajax\common\html\html5\HtmlLinkTrait
Definition
HtmlLinkTrait.php:5
Ajax\common\html\html5\HtmlLinkTrait\setHref
setHref($value)
Definition
HtmlLinkTrait.php:10
Ajax\common\html\traits\BaseHtmlEventsTrait\addEventsOnRun
addEventsOnRun(JsUtils $js=NULL)
Definition
BaseHtmlEventsTrait.php:91
Ajax\bootstrap\html
Ajax
bootstrap
html
HtmlLink.php
Generated on Sun Dec 10 2023 16:15:54 for
phpMv-UI
by
doxygen
1.9.8