@@ -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); |
@@ -72,6 +72,9 @@ discard block |
||
| 72 | 72 | } |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | + /** |
|
| 76 | + * @param HtmlForm $form |
|
| 77 | + */ |
|
| 75 | 78 | protected function _generateFields($form,$values,$headers,$sepFirst,$wrappers){ |
| 76 | 79 | $wrapper=null; |
| 77 | 80 | if(isset($headers[$sepFirst+1])) |
@@ -136,12 +139,20 @@ discard block |
||
| 136 | 139 | $this->content[$this->_toolbarPosition]=$this->_toolbar; |
| 137 | 140 | } |
| 138 | 141 | |
| 142 | + /** |
|
| 143 | + * @param integer $index |
|
| 144 | + * @param string $title |
|
| 145 | + */ |
|
| 139 | 146 | public function addDividerBefore($index,$title){ |
| 140 | 147 | $index=$this->_getIndex($index); |
| 141 | 148 | $this->_instanceViewer->addHeaderDividerBefore($index, $title); |
| 142 | 149 | return $this; |
| 143 | 150 | } |
| 144 | 151 | |
| 152 | + /** |
|
| 153 | + * @param string $index |
|
| 154 | + * @param string $contentAfter |
|
| 155 | + */ |
|
| 145 | 156 | public function addWrapper($index,$contentBefore,$contentAfter=null){ |
| 146 | 157 | $index=$this->_getIndex($index); |
| 147 | 158 | $this->_instanceViewer->addWrapper($index, $contentBefore,$contentAfter); |