@@ -14,6 +14,11 @@ discard block |
||
14 | 14 | */ |
15 | 15 | class HtmlGridRow extends HtmlDoubleElement { |
16 | 16 | private $cols; |
17 | + |
|
18 | + /** |
|
19 | + * @param string $identifier |
|
20 | + * @param integer $numCols |
|
21 | + */ |
|
17 | 22 | public function __construct($identifier,$numCols=NULL){ |
18 | 23 | parent::__construct($identifier,"div"); |
19 | 24 | $this->setProperty("class", "row"); |
@@ -85,6 +90,11 @@ discard block |
||
85 | 90 | $this->delete($size,$start+1, $width); |
86 | 91 | } |
87 | 92 | } |
93 | + |
|
94 | + /** |
|
95 | + * @param integer $start |
|
96 | + * @param integer $width |
|
97 | + */ |
|
88 | 98 | public function delete($size=CssSize::SIZE_MD,$start,$width){ |
89 | 99 | while($start<sizeof($this->cols)+1 && $width>0){ |
90 | 100 | $col=$this->getColAt($start,false); |
@@ -16,6 +16,10 @@ |
||
16 | 16 | class HtmlGridSystem extends HtmlDoubleElement { |
17 | 17 | private $rows; |
18 | 18 | |
19 | + /** |
|
20 | + * @param string $identifier |
|
21 | + * @param integer $numCols |
|
22 | + */ |
|
19 | 23 | public function __construct($identifier,$numRows=1,$numCols=NULL){ |
20 | 24 | parent::__construct($identifier,"div"); |
21 | 25 | $this->setProperty("class", "container-fluid"); |