@@ -32,6 +32,10 @@ discard block |
||
32 | 32 | protected $_targetSelector; |
33 | 33 | |
34 | 34 | |
35 | + /** |
|
36 | + * @param string $identifier |
|
37 | + * @param string $model |
|
38 | + */ |
|
35 | 39 | public function __construct($identifier,$model,$modelInstance=NULL) { |
36 | 40 | parent::__construct($identifier, $model,$modelInstance); |
37 | 41 | $this->_init(new InstanceViewer($identifier), "table", new HtmlTable($identifier, 0,0), false); |
@@ -55,6 +59,9 @@ discard block |
||
55 | 59 | |
56 | 60 | |
57 | 61 | |
62 | + /** |
|
63 | + * @param string $op |
|
64 | + */ |
|
58 | 65 | protected function _generateBehavior($op,$params,JsUtils $js){ |
59 | 66 | if(isset($this->_urls[$op])){ |
60 | 67 | $params=\array_merge($params,["attr"=>"data-ajax"]); |
@@ -184,6 +191,9 @@ discard block |
||
184 | 191 | return $this; |
185 | 192 | } |
186 | 193 | |
194 | + /** |
|
195 | + * @param PositionInTable $part |
|
196 | + */ |
|
187 | 197 | private function addToolbarRow($part,$table,$captions){ |
188 | 198 | $hasPart=$table->hasPart($part); |
189 | 199 | if($hasPart){ |
@@ -221,9 +231,9 @@ discard block |
||
221 | 231 | |
222 | 232 | /** |
223 | 233 | * Paginates the DataTable element with a Semantic HtmlPaginationMenu component |
224 | - * @param number $page the active page number |
|
225 | - * @param number $items_per_page |
|
226 | - * @param number $pages_visibles |
|
234 | + * @param integer $page the active page number |
|
235 | + * @param integer $items_per_page |
|
236 | + * @param integer $pages_visibles |
|
227 | 237 | * @param number $total_rowcount |
228 | 238 | * @return DataTable |
229 | 239 | */ |