@@ -21,13 +21,13 @@ |
||
| 21 | 21 | * @see \Ajax\bootstrap\html\base\HtmlSingleElement::run() |
| 22 | 22 | */ |
| 23 | 23 | public function run(JsUtils $js) { |
| 24 | - $this->_bsComponent=$js->semantic()->generic("#" . $this->identifier); |
|
| 24 | + $this->_bsComponent=$js->semantic()->generic("#".$this->identifier); |
|
| 25 | 25 | $this->addEventsOnRun($js); |
| 26 | 26 | return $this->_bsComponent; |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | public function addIcon($icon, $before=true) { |
| 30 | - return $this->addContent(new HtmlIcon("icon-" . $this->identifier, $icon), $before); |
|
| 30 | + return $this->addContent(new HtmlIcon("icon-".$this->identifier, $icon), $before); |
|
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | public static function icon($identifier, $icon, $href="#", $label=NULL) { |
@@ -16,8 +16,8 @@ |
||
| 16 | 16 | |
| 17 | 17 | public function addIcon($icon, $before=true) { |
| 18 | 18 | $content=$this->content; |
| 19 | - $this->content=new HtmlSemDoubleElement("content-" . $this->identifier, "div", "content"); |
|
| 19 | + $this->content=new HtmlSemDoubleElement("content-".$this->identifier, "div", "content"); |
|
| 20 | 20 | $this->content->setContent($content); |
| 21 | - $this->content->addContent(new HtmlIcon("icon" . $this->identifier, $icon), $before); |
|
| 21 | + $this->content->addContent(new HtmlIcon("icon".$this->identifier, $icon), $before); |
|
| 22 | 22 | } |
| 23 | 23 | } |
| 24 | 24 | \ No newline at end of file |
@@ -16,8 +16,8 @@ |
||
| 16 | 16 | |
| 17 | 17 | public function addIcon($icon, $before=true) { |
| 18 | 18 | $content=$this->content; |
| 19 | - $this->content=new HtmlSemDoubleElement("content-" . $this->identifier, "div", "content"); |
|
| 19 | + $this->content=new HtmlSemDoubleElement("content-".$this->identifier, "div", "content"); |
|
| 20 | 20 | $this->content->setContent($content); |
| 21 | - $this->content->addContent(new HtmlIcon("icon" . $this->identifier, $icon), $before); |
|
| 21 | + $this->content->addContent(new HtmlIcon("icon".$this->identifier, $icon), $before); |
|
| 22 | 22 | } |
| 23 | 23 | } |
| 24 | 24 | \ No newline at end of file |