Code Duplication    Length = 2-4 lines in 4 locations

Ajax/semantic/html/collections/menus/HtmlAccordionMenu.php 1 location

@@ 37-38 (lines=2) @@
34
	 * @see BaseHtml::run()
35
	 */
36
	public function run(JsUtils $js) {
37
		if(isset($this->_bsComponent)===false)
38
			$this->_bsComponent=$js->semantic()->accordion("#".$this->identifier,$this->params);
39
			$this->addEventsOnRun($js);
40
			return $this->_bsComponent;
41
	}

Ajax/semantic/html/modules/HtmlAccordion.php 1 location

@@ 65-66 (lines=2) @@
62
	 * @see BaseHtml::run()
63
	 */
64
	public function run(JsUtils $js) {
65
		if(isset($this->_bsComponent)===false)
66
			$this->_bsComponent=$js->semantic()->accordion("#".$this->identifier,$this->params);
67
			$this->addEventsOnRun($js);
68
			return $this->_bsComponent;
69
	}

Ajax/semantic/html/modules/HtmlTab.php 1 location

@@ 234-235 (lines=2) @@
231
	 * @see BaseHtml::run()
232
	 */
233
	public function run(JsUtils $js) {
234
		if(isset($this->_bsComponent)===false)
235
			$this->_bsComponent=$js->semantic()->tab("#".$this->identifier." .item",$this->params);
236
			$this->addEventsOnRun($js);
237
			return $this->_bsComponent;
238
	}

Ajax/semantic/html/modules/HtmlDropdown.php 1 location

@@ 328-331 (lines=4) @@
325
	 */
326
	public function run(JsUtils $js) {
327
		if($this->propertyContains("class", "simple")===false){
328
			if(isset($this->_bsComponent)===false){
329
				$this->_bsComponent=$js->semantic()->dropdown("#".$this->identifier,$this->_params);
330
				$this->_bsComponent->setItemSelector(".item");
331
			}
332
			$this->addEventsOnRun($js);
333
			return $this->_bsComponent;
334
		}