@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | /** |
| 130 | 130 | * returns the registerd classes in the given table |
| 131 | 131 | * |
| 132 | - * @param $table |
|
| 132 | + * @param string $table |
|
| 133 | 133 | * @return string[] |
| 134 | 134 | */ |
| 135 | 135 | private function getClasses($table) { |
@@ -225,6 +225,11 @@ discard block |
||
| 225 | 225 | ); |
| 226 | 226 | } |
| 227 | 227 | |
| 228 | + /** |
|
| 229 | + * @param string $table |
|
| 230 | + * @param string $idCol |
|
| 231 | + * @param string $id |
|
| 232 | + */ |
|
| 228 | 233 | private function update($table, $idCol, $id, $values) { |
| 229 | 234 | $query = $this->dbc->getQueryBuilder(); |
| 230 | 235 | $query->update($table); |
@@ -275,8 +280,8 @@ discard block |
||
| 275 | 280 | /** |
| 276 | 281 | * deletes an settings or admin entry from the given table |
| 277 | 282 | * |
| 278 | - * @param $table |
|
| 279 | - * @param $className |
|
| 283 | + * @param string $table |
|
| 284 | + * @param string $className |
|
| 280 | 285 | */ |
| 281 | 286 | private function remove($table, $className) { |
| 282 | 287 | $query = $this->dbc->getQueryBuilder(); |
@@ -362,6 +367,9 @@ discard block |
||
| 362 | 367 | return $sections; |
| 363 | 368 | } |
| 364 | 369 | |
| 370 | + /** |
|
| 371 | + * @param string $section |
|
| 372 | + */ |
|
| 365 | 373 | private function getBuiltInAdminSettings($section) { |
| 366 | 374 | $forms = []; |
| 367 | 375 | try { |
@@ -401,6 +409,9 @@ discard block |
||
| 401 | 409 | return $forms; |
| 402 | 410 | } |
| 403 | 411 | |
| 412 | + /** |
|
| 413 | + * @param string $section |
|
| 414 | + */ |
|
| 404 | 415 | private function getAdminSettingsFromDB($section, &$settings) { |
| 405 | 416 | $query = $this->dbc->getQueryBuilder(); |
| 406 | 417 | $query->select(['class', 'priority']) |