@@ -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); |