@@ -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); |
@@ -21,7 +21,6 @@ |
||
21 | 21 | |
22 | 22 | /** |
23 | 23 | * @param string $identifier |
24 | - * @param array $items |
|
25 | 24 | * @return HtmlCardGroups |
26 | 25 | */ |
27 | 26 | public function htmlCardGroups($identifier, $cards=array()) { |
@@ -7,6 +7,11 @@ |
||
7 | 7 | * @property mixed $content |
8 | 8 | */ |
9 | 9 | trait ContentPartTrait{ |
10 | + |
|
11 | + /** |
|
12 | + * @param \Ajax\semantic\html\elements\HtmlButtonGroups $element |
|
13 | + * @param string $partKey |
|
14 | + */ |
|
10 | 15 | public function addElementInPart($element,$partKey,$before=false,$force=false){ |
11 | 16 | $part=$this->getPart($partKey,null,$force); |
12 | 17 | if($part instanceof HtmlSemDoubleElement){ |
@@ -12,6 +12,10 @@ |
||
12 | 12 | |
13 | 13 | class HtmlViewContent extends HtmlSemDoubleElement { |
14 | 14 | use ContentPartTrait; |
15 | + |
|
16 | + /** |
|
17 | + * @param string $identifier |
|
18 | + */ |
|
15 | 19 | public function __construct($identifier, $content=array()) { |
16 | 20 | parent::__construct($identifier, "div", "content",[]); |
17 | 21 | $this->setContent($content); |