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
3namespace Ajax\bootstrap\html;
4
8
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);
25 }
26}
JQuery PHP library.
Definition JsUtils.php:23
bootstrap(Bootstrap $bootstrap=NULL)
getter or setter of the Twitter Bootstrap variable
Definition JsUtils.php:140