Index: trunk/phase3/includes/Xml.php |
— | — | @@ -446,14 +446,14 @@ |
447 | 447 | * Build a drop-down box from a textual list. |
448 | 448 | * |
449 | 449 | * @param $name Mixed: Name and id for the drop-down |
450 | | - * @param $class Mixed: CSS classes for the drop-down |
| 450 | + * @param $list Mixed: Correctly formatted text (newline delimited) to be used to generate the options |
451 | 451 | * @param $other Mixed: Text for the "Other reasons" option |
452 | | - * @param $list Mixed: Correctly formatted text (newline delimited) to be used to generate the options |
453 | 452 | * @param $selected Mixed: Option which should be pre-selected |
| 453 | + * @param $class Mixed: CSS classes for the drop-down |
454 | 454 | * @param $tabindex Mixed: Value of the tabindex attribute |
455 | 455 | * @return string |
456 | 456 | */ |
457 | | - public static function listDropDown( $name= '', $list = '', $other = '', $selected = '', $class = '', $tabindex = Null ) { |
| 457 | + public static function listDropDown( $name= '', $list = '', $other = '', $selected = '', $class = '', $tabindex = null ) { |
458 | 458 | $optgroup = false; |
459 | 459 | |
460 | 460 | $options = self::option( $other, 'other', $selected === 'other' ); |