Completed
Push — master ( 1d23a1...916f6f )
by Jean-Christophe
03:30
created

SemanticHtmlCollectionsTrait::htmlCheckbox()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
eloc 2
nc 1
nop 4
1
<?php
2
namespace Ajax\semantic\traits;
3
4
use Ajax\semantic\html\collections\HtmlTable;
5
6
7
trait SemanticHtmlCollectionsTrait {
8
9
	public abstract function addHtmlComponent($htmlComponent);
10
11
	/**
12
	 * @param string $identifier
13
	 * @param int $rowCount
14
	 * @param int $colCount
15
	 */
16
	public function htmlTable($identifier, $rowCount, $colCount){
17
		return $this->addHtmlComponent(new HtmlTable($identifier, $rowCount, $colCount));
18
	}
19
}