@@ -22,6 +22,9 @@ discard block |
||
22 | 22 | private $_colSizing=true; |
23 | 23 | private $_implicitRows=false; |
24 | 24 | |
25 | + /** |
|
26 | + * @param string $identifier |
|
27 | + */ |
|
25 | 28 | public function __construct($identifier, $numRows=1, $numCols=NULL, $createCols=true, $implicitRows=false) { |
26 | 29 | parent::__construct($identifier, "div", "ui grid"); |
27 | 30 | $this->_implicitRows=$implicitRows; |
@@ -162,7 +165,7 @@ discard block |
||
162 | 165 | /** |
163 | 166 | * return the row at $index |
164 | 167 | * @param int $index |
165 | - * @return \Ajax\semantic\html\collections\HtmlGridRow |
|
168 | + * @return \Ajax\common\html\HtmlDoubleElement |
|
166 | 169 | */ |
167 | 170 | public function getRow($index) { |
168 | 171 | return $this->getItem($index); |
@@ -73,6 +73,9 @@ discard block |
||
73 | 73 | } |
74 | 74 | } |
75 | 75 | |
76 | + /** |
|
77 | + * @param HtmlForm $form |
|
78 | + */ |
|
76 | 79 | protected function _generateFields($form,$values,$headers,$sepFirst,$sepLast,$wrappers){ |
77 | 80 | $wrapper=null; |
78 | 81 | //$fields=\array_slice($values, $sepFirst+1,$sepLast-$sepFirst); |
@@ -138,12 +141,20 @@ discard block |
||
138 | 141 | $this->content[$this->_toolbarPosition]=$this->_toolbar; |
139 | 142 | } |
140 | 143 | |
144 | + /** |
|
145 | + * @param integer $index |
|
146 | + * @param string $title |
|
147 | + */ |
|
141 | 148 | public function addDividerBefore($index,$title){ |
142 | 149 | $index=$this->_getIndex($index); |
143 | 150 | $this->_instanceViewer->addHeaderDividerBefore($index, $title); |
144 | 151 | return $this; |
145 | 152 | } |
146 | 153 | |
154 | + /** |
|
155 | + * @param string $index |
|
156 | + * @param string $contentAfter |
|
157 | + */ |
|
147 | 158 | public function addWrapper($index,$contentBefore,$contentAfter=null){ |
148 | 159 | $index=$this->_getIndex($index); |
149 | 160 | $this->_instanceViewer->addWrapper($index, $contentBefore,$contentAfter); |