Passed
Push — master ( 9a9b82...74dc3c )
by Jean-Christophe
02:28
created

HtmlContentOnly::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 2
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Ajax\common\html;
4
5
class HtmlContentOnly extends HtmlDoubleElement{
6
	public function __construct($content,$identifier=""){
7
		parent::__construct($identifier);
8
		$this->_template='%wrapContentBefore%%content%%wrapContentAfter%';
9
		$this->setContent($content);
10
	}
11
}
12
13