@@ -337,6 +337,7 @@ discard block |
||
337 | 337 | |
338 | 338 | /** |
339 | 339 | * Helper function. Parse an option form element. |
340 | + * @param string $key |
|
340 | 341 | */ |
341 | 342 | protected function parseOptionFormElement($element, $key) { |
342 | 343 | $children_keys = element_children($element); |
@@ -483,6 +484,7 @@ discard block |
||
483 | 484 | |
484 | 485 | /** |
485 | 486 | * Helper function. Return a server option. |
487 | + * @param integer $default |
|
486 | 488 | */ |
487 | 489 | protected function getOption($option, $default = NULL) { |
488 | 490 | $options = $this->getOptions(); |
@@ -692,6 +694,7 @@ discard block |
||
692 | 694 | * Helper function. Escape a field or index name. |
693 | 695 | * |
694 | 696 | * Force names to be strictly alphanumeric-plus-underscore. |
697 | + * @param string $name |
|
695 | 698 | */ |
696 | 699 | protected static function escapeName($name) { |
697 | 700 | return preg_replace('/[^A-Za-z0-9_]+/', '', $name); |