@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | |
47 | 47 | /** |
48 | 48 | * @param string $title |
49 | - * @param number $niveau |
|
49 | + * @param integer $niveau |
|
50 | 50 | * @param string $dividing |
51 | 51 | * @return HtmlHeader |
52 | 52 | */ |
@@ -143,6 +143,9 @@ discard block |
||
143 | 143 | return $this->addItem($message); |
144 | 144 | } |
145 | 145 | |
146 | + /** |
|
147 | + * @param HtmlFormField $field |
|
148 | + */ |
|
146 | 149 | private function addCompoValidation($js,$compo,$field){ |
147 | 150 | $validation=$field->getValidation(); |
148 | 151 | if(isset($validation)){ |
@@ -195,6 +198,9 @@ discard block |
||
195 | 198 | $this->addEventsOnRun($js); |
196 | 199 | } |
197 | 200 | |
201 | + /** |
|
202 | + * @param string $paramName |
|
203 | + */ |
|
198 | 204 | public function addValidationParam($paramName,$paramValue){ |
199 | 205 | $this->_validationParams[$paramName]=$paramValue; |
200 | 206 | return $this; |
@@ -68,8 +68,9 @@ discard block |
||
68 | 68 | |
69 | 69 | $table->setRowCount(0, \sizeof($captions)); |
70 | 70 | $table->setHeaderValues($captions); |
71 | - if(isset($this->_compileParts)) |
|
72 | - $table->setCompileParts($this->_compileParts); |
|
71 | + if(isset($this->_compileParts)) { |
|
72 | + $table->setCompileParts($this->_compileParts); |
|
73 | + } |
|
73 | 74 | if(isset($this->_searchField) && isset($js)){ |
74 | 75 | $this->_searchField->postOn("change", $this->_urls,"{'s':$(this).val()}","-#".$this->identifier." tbody",["preventDefault"=>false]); |
75 | 76 | } |
@@ -275,8 +276,9 @@ discard block |
||
275 | 276 | private function getDefaultButton($icon,$class=null){ |
276 | 277 | $bt=$this->getFieldButton(""); |
277 | 278 | $bt->asIcon($icon); |
278 | - if(isset($class)) |
|
279 | - $bt->addToProperty("class", $class); |
|
279 | + if(isset($class)) { |
|
280 | + $bt->addToProperty("class", $class); |
|
281 | + } |
|
280 | 282 | return $bt; |
281 | 283 | } |
282 | 284 |