Completed
Push — master ( e6529d...cd0fd2 )
by Jean-Christophe
03:35
created
Ajax/semantic/html/collections/HtmlGrid.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 	/**
50 50
 	 * return the row at $index
51 51
 	 * @param int $index
52
-	 * @return \Ajax\semantic\html\collections\HtmlGridRow
52
+	 * @return \Ajax\common\html\HtmlDoubleElement
53 53
 	 */
54 54
 	public function getRow($index){
55 55
 		return $this->getItem($index);
Please login to merge, or discard this patch.
Spacing   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -14,22 +14,22 @@  discard block
 block discarded – undo
14 14
  * @author jc
15 15
  * @version 1.001
16 16
  */
17
-class HtmlGrid extends HtmlCollection{
17
+class HtmlGrid extends HtmlCollection {
18 18
 
19 19
 	private $_createCols;
20 20
 	private $_colSizing=true;
21
-	public function __construct( $identifier,$numRows=1,$numCols=NULL,$createCols=true){
22
-		parent::__construct( $identifier, "div");
21
+	public function __construct($identifier, $numRows=1, $numCols=NULL, $createCols=true) {
22
+		parent::__construct($identifier, "div");
23 23
 		$this->_createCols=$createCols;
24
-		if(isset($numCols)){
24
+		if (isset($numCols)) {
25 25
 			//if($this->_createCols){
26 26
 				$this->_colSizing=false;
27 27
 			//}
28 28
 			$cols=Wide::getConstants()["W".$numCols];
29 29
 			$this->setClass($cols." column");
30 30
 		}
31
-		$this->addToProperty("class","ui grid");
32
-		$this->setNumRows($numRows,$numCols);
31
+		$this->addToProperty("class", "ui grid");
32
+		$this->setNumRows($numRows, $numCols);
33 33
 	}
34 34
 
35 35
 	/**
@@ -38,9 +38,9 @@  discard block
 block discarded – undo
38 38
 	 * @param int $numCols
39 39
 	 * @return \Ajax\semantic\html\collections\HtmlGrid
40 40
 	 */
41
-	public function setNumRows($numRows,$numCols=NULL){
41
+	public function setNumRows($numRows, $numCols=NULL) {
42 42
 		$count=$this->count();
43
-		for($i=$count;$i<$numRows;$i++){
43
+		for ($i=$count; $i<$numRows; $i++) {
44 44
 			$this->addItem($numCols);
45 45
 		}
46 46
 		return $this;
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 	 * @param int $index
52 52
 	 * @return \Ajax\semantic\html\collections\HtmlGridRow
53 53
 	 */
54
-	public function getRow($index){
54
+	public function getRow($index) {
55 55
 		return $this->getItem($index);
56 56
 	}
57 57
 
@@ -60,9 +60,9 @@  discard block
 block discarded – undo
60 60
 	 * @param int $col
61 61
 	 * @return \Ajax\semantic\html\collections\HtmlGridCol
62 62
 	 */
63
-	public function getCell($row,$col){
63
+	public function getCell($row, $col) {
64 64
 		$row=$this->getItem($row);
65
-		if(isset($row)){
65
+		if (isset($row)) {
66 66
 			$col=$row->getItem($col);
67 67
 		}
68 68
 		return $col;
@@ -73,8 +73,8 @@  discard block
 block discarded – undo
73 73
 	 * @param boolean $vertically
74 74
 	 * @return \Ajax\semantic\html\collections\HtmlGrid
75 75
 	 */
76
-	public function setDivided($vertically=false){
77
-		$value=($vertically===true)?"vertically divided":"divided";
76
+	public function setDivided($vertically=false) {
77
+		$value=($vertically===true) ? "vertically divided" : "divided";
78 78
 		return $this->addToProperty("class", $value);
79 79
 	}
80 80
 
@@ -83,8 +83,8 @@  discard block
 block discarded – undo
83 83
 	 * @param boolean $internal true for internal cells
84 84
 	 * @return \Ajax\semantic\html\collections\HtmlGrid
85 85
 	 */
86
-	public function setCelled($internal=false){
87
-		$value=($internal===true)?"internal celled":"celled";
86
+	public function setCelled($internal=false) {
87
+		$value=($internal===true) ? "internal celled" : "celled";
88 88
 		return $this->addToProperty("class", $value);
89 89
 	}
90 90
 
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 	 * automatically resize all elements to split the available width evenly
93 93
 	 * @return \Ajax\semantic\html\collections\HtmlGrid
94 94
 	 */
95
-	public function setEqualWidth(){
95
+	public function setEqualWidth() {
96 96
 		return $this->addToProperty("class", "equal width");
97 97
 	}
98 98
 
@@ -101,9 +101,9 @@  discard block
 block discarded – undo
101 101
 	 * @param string $value
102 102
 	 * @return \Ajax\semantic\html\collections\HtmlGrid
103 103
 	 */
104
-	public function setPadded($value=NULL){
105
-		if(isset($value))
106
-			$this->addToPropertyCtrl("class", $value,array("vertically","horizontally"));
104
+	public function setPadded($value=NULL) {
105
+		if (isset($value))
106
+			$this->addToPropertyCtrl("class", $value, array("vertically", "horizontally"));
107 107
 		return $this->addToProperty("class", "padded");
108 108
 	}
109 109
 
@@ -111,41 +111,41 @@  discard block
 block discarded – undo
111 111
 	 * @param boolean $very
112 112
 	 * @return \Ajax\semantic\html\collections\HtmlGrid
113 113
 	 */
114
-	public function setRelaxed($very=false){
115
-		$value=($very===true)?"very relaxed":"relaxed";
114
+	public function setRelaxed($very=false) {
115
+		$value=($very===true) ? "very relaxed" : "relaxed";
116 116
 		return $this->addToProperty("class", $value);
117 117
 	}
118 118
 
119
-	public function setTextAlignment($value=TextAlignment::LEFT){
120
-		return $this->addToPropertyCtrl("class", $value,TextAlignment::getConstants());
119
+	public function setTextAlignment($value=TextAlignment::LEFT) {
120
+		return $this->addToPropertyCtrl("class", $value, TextAlignment::getConstants());
121 121
 	}
122 122
 
123
-	public function setVerticalAlignment($value=VerticalAlignment::MIDDLE){
124
-		return $this->addToPropertyCtrl("class", $value,VerticalAlignment::getConstants());
123
+	public function setVerticalAlignment($value=VerticalAlignment::MIDDLE) {
124
+		return $this->addToPropertyCtrl("class", $value, VerticalAlignment::getConstants());
125 125
 	}
126 126
 
127 127
 	/**
128 128
 	 * {@inheritDoc}
129 129
 	 * @see \Ajax\common\html\HtmlCollection::createItem()
130 130
 	 */
131
-	protected function createItem($value){
132
-		if($this->_createCols===false)
131
+	protected function createItem($value) {
132
+		if ($this->_createCols===false)
133 133
 			$value=null;
134
-		$item=new HtmlGridRow($this->identifier."-row-".($this->count()+1),$value,$this->_colSizing);
134
+		$item=new HtmlGridRow($this->identifier."-row-".($this->count()+1), $value, $this->_colSizing);
135 135
 		return $item;
136 136
 	}
137 137
 
138
-	public function setValues($values){
138
+	public function setValues($values) {
139 139
 		$count=$this->count();
140
-		if($this->_createCols===false){
141
-			for($i=$count;$i<\sizeof($values);$i++){
140
+		if ($this->_createCols===false) {
141
+			for ($i=$count; $i<\sizeof($values); $i++) {
142 142
 				$colSize=\sizeof($values[$i]);
143
-				$this->addItem(new HtmlGridRow($this->identifier."-row-".($this->count()+1),$colSize,$this->_colSizing));
143
+				$this->addItem(new HtmlGridRow($this->identifier."-row-".($this->count()+1), $colSize, $this->_colSizing));
144 144
 			}
145 145
 		}
146
-		$count=\min(array($this->count(),\sizeof($values)));
147
-		for($i=0;$i<$count;$i++){
148
-			$this->content[$i]->setValues($values[$i],$this->_createCols===false);
146
+		$count=\min(array($this->count(), \sizeof($values)));
147
+		for ($i=0; $i<$count; $i++) {
148
+			$this->content[$i]->setValues($values[$i], $this->_createCols===false);
149 149
 		}
150 150
 	}
151 151
 
Please login to merge, or discard this patch.
Ajax/semantic/html/content/HtmlGridRow.php 2 patches
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,6 +16,10 @@  discard block
 block discarded – undo
16 16
 class HtmlGridRow extends HtmlCollection{
17 17
 
18 18
 	private $_colSize;
19
+
20
+	/**
21
+	 * @param string $identifier
22
+	 */
19 23
 	public function __construct( $identifier,$numCols=NULL,$colSizing=false){
20 24
 		parent::__construct( $identifier,"div");
21 25
 		$this->setClass("row");
@@ -49,7 +53,7 @@  discard block
 block discarded – undo
49 53
 	/**
50 54
 	 * return the col at $index
51 55
 	 * @param int $index
52
-	 * @return \Ajax\semantic\html\collections\HtmlGridCol
56
+	 * @return \Ajax\common\html\HtmlDoubleElement
53 57
 	 */
54 58
 	public function getCol($index){
55 59
 		return $this->getItem($index);
Please login to merge, or discard this patch.
Spacing   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -13,21 +13,21 @@  discard block
 block discarded – undo
13 13
  * @author jc
14 14
  * @version 1.001
15 15
  */
16
-class HtmlGridRow extends HtmlCollection{
16
+class HtmlGridRow extends HtmlCollection {
17 17
 
18 18
 	private $_colSize;
19
-	public function __construct( $identifier,$numCols=NULL,$colSizing=false){
20
-		parent::__construct( $identifier,"div");
19
+	public function __construct($identifier, $numCols=NULL, $colSizing=false) {
20
+		parent::__construct($identifier, "div");
21 21
 		$this->setClass("row");
22 22
 		$width=null;
23
-		if(isset($numCols)){
24
-			$numCols=min(16,$numCols);
25
-			$numCols=max(1,$numCols);
26
-			if($colSizing)
27
-				$width=(int)(16/$numCols);
23
+		if (isset($numCols)) {
24
+			$numCols=min(16, $numCols);
25
+			$numCols=max(1, $numCols);
26
+			if ($colSizing)
27
+				$width=(int) (16 / $numCols);
28 28
 			else
29
-				$this->_colSize=16/$numCols;
30
-			for ($i=0;$i<$numCols;$i++){
29
+				$this->_colSize=16 / $numCols;
30
+			for ($i=0; $i<$numCols; $i++) {
31 31
 				$this->addItem($width);
32 32
 			}
33 33
 		}
@@ -38,12 +38,12 @@  discard block
 block discarded – undo
38 38
 	 * @param int $width
39 39
 	 * @return \Ajax\semantic\html\content\HtmlGridRow
40 40
 	 */
41
-	public function setWidth($width){
42
-		if(\is_int($width)){
41
+	public function setWidth($width) {
42
+		if (\is_int($width)) {
43 43
 			$width=Wide::getConstants()["W".$width];
44 44
 		}
45 45
 		$this->addToPropertyCtrl("class", $width, Wide::getConstants());
46
-		return $this->addToPropertyCtrl("class", "column",array("column"));
46
+		return $this->addToPropertyCtrl("class", "column", array("column"));
47 47
 	}
48 48
 
49 49
 	/**
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 	 * @param int $index
52 52
 	 * @return \Ajax\semantic\html\collections\HtmlGridCol
53 53
 	 */
54
-	public function getCol($index){
54
+	public function getCol($index) {
55 55
 		return $this->getItem($index);
56 56
 	}
57 57
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	 * stretch the row contents to take up the entire column height
60 60
 	 * @return \Ajax\semantic\html\content\HtmlGridRow
61 61
 	 */
62
-	public function setStretched(){
62
+	public function setStretched() {
63 63
 		return $this->addToProperty("class", "stretched");
64 64
 	}
65 65
 
@@ -67,23 +67,23 @@  discard block
 block discarded – undo
67 67
 	 * @param string $color
68 68
 	 * @return \Ajax\semantic\html\content\HtmlGridRow
69 69
 	 */
70
-	public function setColor($color){
71
-		return $this->addToPropertyCtrl("class", $color,Color::getConstants());
70
+	public function setColor($color) {
71
+		return $this->addToPropertyCtrl("class", $color, Color::getConstants());
72 72
 	}
73 73
 
74
-	public function setTextAlignment($value=TextAlignment::LEFT){
75
-		return $this->addToPropertyCtrl("class", $value,TextAlignment::getConstants());
74
+	public function setTextAlignment($value=TextAlignment::LEFT) {
75
+		return $this->addToPropertyCtrl("class", $value, TextAlignment::getConstants());
76 76
 	}
77 77
 
78
-	public function setValues($values,$force=false){
78
+	public function setValues($values, $force=false) {
79 79
 		$count=$this->count();
80
-		if($force===true){
81
-			for($i=$count;$i<\sizeof($values);$i++){
82
-				$this->addItem(new HtmlGridCol($this->identifier."-col-".($this->count()+1),null));
80
+		if ($force===true) {
81
+			for ($i=$count; $i<\sizeof($values); $i++) {
82
+				$this->addItem(new HtmlGridCol($this->identifier."-col-".($this->count()+1), null));
83 83
 			}
84 84
 		}
85
-		$count=\min(array($this->count(),\sizeof($values)));
86
-		for($i=0;$i<$count;$i++){
85
+		$count=\min(array($this->count(), \sizeof($values)));
86
+		for ($i=0; $i<$count; $i++) {
87 87
 			$this->content[$i]->setValue($values[$i]);
88 88
 		}
89 89
 	}
@@ -92,8 +92,8 @@  discard block
 block discarded – undo
92 92
 	 * {@inheritDoc}
93 93
 	 * @see \Ajax\common\html\HtmlCollection::createItem()
94 94
 	 */
95
-	protected function createItem($value){
96
-		$col=new HtmlGridCol($this->identifier."-col-".($this->count()+1),$value);
95
+	protected function createItem($value) {
96
+		$col=new HtmlGridCol($this->identifier."-col-".($this->count()+1), $value);
97 97
 		return $col;
98 98
 	}
99 99
 }
100 100
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/base/VerticalAlignment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
 use Ajax\common\BaseEnum;
6 6
 
7 7
 class VerticalAlignment extends BaseEnum {
8
-	const TOP="top aligned",MIDDLE="middle aligned",BOTTOM="bottom aligned";
8
+	const TOP="top aligned", MIDDLE="middle aligned", BOTTOM="bottom aligned";
9 9
 }
10 10
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/content/HtmlGridCol.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@  discard block
 block discarded – undo
12 12
  * @author jc
13 13
  * @version 1.001
14 14
  */
15
-class HtmlGridCol extends HtmlSemDoubleElement{
16
-	public function __construct($identifier,$width){
17
-		parent::__construct($identifier,"div");
15
+class HtmlGridCol extends HtmlSemDoubleElement {
16
+	public function __construct($identifier, $width) {
17
+		parent::__construct($identifier, "div");
18 18
 		$this->setClass("column");
19
-		if(isset($width))
19
+		if (isset($width))
20 20
 			$this->setWidth($width);
21 21
 	}
22 22
 
@@ -25,12 +25,12 @@  discard block
 block discarded – undo
25 25
 	 * @param int $width
26 26
 	 * @return \Ajax\semantic\html\content\HtmlGridCol
27 27
 	 */
28
-	public function setWidth($width){
29
-		if(\is_int($width)){
28
+	public function setWidth($width) {
29
+		if (\is_int($width)) {
30 30
 			$width=Wide::getConstants()["W".$width];
31 31
 		}
32 32
 		$this->addToPropertyCtrl("class", $width, Wide::getConstants());
33
-		return $this->addToPropertyCtrl("class", "wide",array("wide"));
33
+		return $this->addToPropertyCtrl("class", "wide", array("wide"));
34 34
 	}
35 35
 
36 36
 	/**
@@ -38,15 +38,15 @@  discard block
 block discarded – undo
38 38
 	 * @param string $value left or right
39 39
 	 * @return \Ajax\semantic\html\content\HtmlGridCol
40 40
 	 */
41
-	public function setFloated($value="left"){
41
+	public function setFloated($value="left") {
42 42
 		return $this->addToProperty("class", $value." floated");
43 43
 	}
44 44
 
45
-	public function setTextAlignment($value=TextAlignment::LEFT){
46
-		return $this->addToPropertyCtrl("class", $value,TextAlignment::getConstants());
45
+	public function setTextAlignment($value=TextAlignment::LEFT) {
46
+		return $this->addToPropertyCtrl("class", $value, TextAlignment::getConstants());
47 47
 	}
48 48
 
49
-	public function setValue($value){
49
+	public function setValue($value) {
50 50
 		$this->content=$value;
51 51
 	}
52 52
 }
53 53
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/Semantic.php 1 patch
Spacing   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	 * @param string $identifier
60 60
 	 * @param string $icon
61 61
 	 */
62
-	public function htmlIcon($identifier,$icon){
62
+	public function htmlIcon($identifier, $icon) {
63 63
 		return $this->addHtmlComponent(new HtmlIcon($identifier, $icon));
64 64
 	}
65 65
 
@@ -68,14 +68,14 @@  discard block
 block discarded – undo
68 68
 	 * @param string $size
69 69
 	 * @param array $icons
70 70
 	 */
71
-	public function htmlIconGroups($identifier,$size="",$icons=array()){
72
-		$group=new HtmlIconGroups($identifier,$size);
73
-		if(JArray::isAssociative($icons)){
74
-			foreach ($icons as $icon=>$size){
75
-				$group->add($icon,$size);
71
+	public function htmlIconGroups($identifier, $size="", $icons=array()) {
72
+		$group=new HtmlIconGroups($identifier, $size);
73
+		if (JArray::isAssociative($icons)) {
74
+			foreach ($icons as $icon=>$size) {
75
+				$group->add($icon, $size);
76 76
 			}
77
-		}else{
78
-			foreach ($icons as $icon){
77
+		}else {
78
+			foreach ($icons as $icon) {
79 79
 				$group->add($icon);
80 80
 			}
81 81
 		}
@@ -87,8 +87,8 @@  discard block
 block discarded – undo
87 87
 	 * @param array $elements
88 88
 	 * @param boolean $asIcons
89 89
 	 */
90
-	public function htmlButtonGroups($identifier,$elements=array(),$asIcons=false){
91
-		return $this->addHtmlComponent(new HtmlButtonGroups($identifier, $elements,$asIcons));
90
+	public function htmlButtonGroups($identifier, $elements=array(), $asIcons=false) {
91
+		return $this->addHtmlComponent(new HtmlButtonGroups($identifier, $elements, $asIcons));
92 92
 	}
93 93
 
94 94
 	/**
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 	 * @param string $identifier
97 97
 	 * @param string $content
98 98
 	 */
99
-	public function htmlContainer($identifier,$content=""){
99
+	public function htmlContainer($identifier, $content="") {
100 100
 		return $this->addHtmlComponent(new HtmlContainer($identifier, $content));
101 101
 	}
102 102
 
@@ -104,8 +104,8 @@  discard block
 block discarded – undo
104 104
 	 * @param string $identifier
105 105
 	 * @param string $content
106 106
 	 */
107
-	public function htmlDivider($identifier,$content="",$tagName="div"){
108
-		return $this->addHtmlComponent(new HtmlDivider($identifier, $content,$tagName));
107
+	public function htmlDivider($identifier, $content="", $tagName="div") {
108
+		return $this->addHtmlComponent(new HtmlDivider($identifier, $content, $tagName));
109 109
 	}
110 110
 
111 111
 	/**
@@ -113,16 +113,16 @@  discard block
 block discarded – undo
113 113
 	 * @param string $content
114 114
 	 * @param string $tagName
115 115
 	 */
116
-	public function htmlLabel($identifier,$content="",$tagName="div"){
117
-		return $this->addHtmlComponent(new HtmlLabel($identifier, $content,$tagName));
116
+	public function htmlLabel($identifier, $content="", $tagName="div") {
117
+		return $this->addHtmlComponent(new HtmlLabel($identifier, $content, $tagName));
118 118
 	}
119 119
 
120 120
 	/**
121 121
 	 * @param string $identifier
122 122
 	 * @param array $items
123 123
 	 */
124
-	public function htmlMenu($identifier,$items=array()){
125
-		return $this->addHtmlComponent(new HtmlMenu($identifier,$items));
124
+	public function htmlMenu($identifier, $items=array()) {
125
+		return $this->addHtmlComponent(new HtmlMenu($identifier, $items));
126 126
 	}
127 127
 
128 128
 	/**
@@ -130,8 +130,8 @@  discard block
 block discarded – undo
130 130
 	 * @param string $value
131 131
 	 * @param array $items
132 132
 	 */
133
-	public function htmlDropdown($identifier, $value="", $items=array()){
134
-		return $this->addHtmlComponent(new HtmlDropdown($identifier,$value,$items));
133
+	public function htmlDropdown($identifier, $value="", $items=array()) {
134
+		return $this->addHtmlComponent(new HtmlDropdown($identifier, $value, $items));
135 135
 	}
136 136
 
137 137
 	/**
@@ -139,8 +139,8 @@  discard block
 block discarded – undo
139 139
 	 * @param string $identifier
140 140
 	 * @param string $content
141 141
 	 */
142
-	public function htmlMessage($identifier, $content=""){
143
-		return $this->addHtmlComponent(new HtmlMessage($identifier,$content));
142
+	public function htmlMessage($identifier, $content="") {
143
+		return $this->addHtmlComponent(new HtmlMessage($identifier, $content));
144 144
 	}
145 145
 
146 146
 	/**
@@ -148,8 +148,8 @@  discard block
 block discarded – undo
148 148
 	 * @param string $identifier
149 149
 	 * @param string $content
150 150
 	 */
151
-	public function htmlSegment($identifier, $content=""){
152
-		return $this->addHtmlComponent(new HtmlSegment($identifier,$content));
151
+	public function htmlSegment($identifier, $content="") {
152
+		return $this->addHtmlComponent(new HtmlSegment($identifier, $content));
153 153
 	}
154 154
 
155 155
 	/**
@@ -157,19 +157,19 @@  discard block
 block discarded – undo
157 157
 	 * @param string $identifier
158 158
 	 * @param array $items the segments
159 159
 	 */
160
-	public function htmlSegmentGroups($identifier, $items=array()){
161
-		return $this->addHtmlComponent(new HtmlSegmentGroups($identifier,$items));
160
+	public function htmlSegmentGroups($identifier, $items=array()) {
161
+		return $this->addHtmlComponent(new HtmlSegmentGroups($identifier, $items));
162 162
 	}
163 163
 
164 164
 	/**
165 165
 	 * @param string $identifier
166 166
 	 * @param mixed $content
167 167
 	 */
168
-	public function htmlPopup(BaseHtml $container,$identifier,$content){
169
-		return $this->addHtmlComponent(new HtmlPopup($container,$identifier,$content));
168
+	public function htmlPopup(BaseHtml $container, $identifier, $content) {
169
+		return $this->addHtmlComponent(new HtmlPopup($container, $identifier, $content));
170 170
 	}
171 171
 
172
-	public function htmlGrid($identifier,$numRows=1,$numCols=NULL,$createCols=true){
173
-		return $this->addHtmlComponent(new HtmlGrid($identifier,$numRows,$numCols,$createCols));
172
+	public function htmlGrid($identifier, $numRows=1, $numCols=NULL, $createCols=true) {
173
+		return $this->addHtmlComponent(new HtmlGrid($identifier, $numRows, $numCols, $createCols));
174 174
 	}
175 175
 }
176 176
\ No newline at end of file
Please login to merge, or discard this patch.