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

HtmlSemCollection   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 2
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
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
}