Completed
Push — master ( db82f0...0ba4b1 )
by Jean-Christophe
03:22
created

HtmlSemSingleElement::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 4
nc 1
nop 3
1
<?php
2
3
namespace Ajax\semantic\html\base;
4
5
use Ajax\common\html\HtmlSingleElement;
6
use Ajax\semantic\html\base\traits\BaseTrait;
7
8
/**
9
 * Base class for Semantic single elements
10
 * @author jc
11
 * @version 1.001
12
 */
13
14
class HtmlSemSingleElement extends HtmlSingleElement {
15
	use BaseTrait;
16
	public function __construct($identifier, $tagName="br",$baseClass="ui") {
17
		parent::__construct($identifier, $tagName);
18
		$this->_baseClass=$baseClass;
19
		$this->setClass($baseClass);
20
	}
21
}