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

HtmlSemCollection::__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\HtmlCollection;
6
use Ajax\semantic\html\base\traits\BaseTrait;
7
/**
8
 * Base class for Semantic Html collections
9
 * @author jc
10
 * @version 1.001
11
 */
12
abstract class HtmlSemCollection extends HtmlCollection{
13
	use BaseTrait;
14
	public function __construct( $identifier, $tagName="div",$baseClass="ui"){
15
		parent::__construct( $identifier, $tagName="div");
16
		$this->_baseClass=$baseClass;
17
		$this->setClass($baseClass);
18
	}
19
}