diff --git a/includes/functions.php b/includes/functions.php index 1c4c5150..0eef6694 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -142,19 +142,21 @@ function isAssoc($arr) /** * * Display a selector field for a form. Arguments are: -* $name: Field name -* $options: Array of options -* $selected: Selected option (optional) -* If $options is an associative array this should be the key -* +* @param string $name: Field name +* @param array $options: Array of options +* @param string $selected: Selected option (optional) +* @param string $id: $options is an associative array this should be the key +* @param string $event: onChange event (optional) */ -function SelectorOptions($name, $options, $selected = null, $id = null) +function SelectorOptions($name, $options, $selected = null, $id = null, $event = null) { echo '