http://www.mediawiki.org/wiki/Special:Code/MediaWiki/82840
Revision: 82840
Author: demon
Date: 2011-02-26 10:55:44 +0000 (Sat, 26 Feb 2011)
Log Message:
-----------
Null -> null, reorder docs to match signature
Modified Paths:
--------------
trunk/phase3/includes/Xml.php
Modified: trunk/phase3/includes/Xml.php
===================================================================
--- trunk/phase3/includes/Xml.php 2011-02-26 09:56:25 UTC (rev 82839)
+++ trunk/phase3/includes/Xml.php 2011-02-26 10:55:44 UTC (rev 82840)
@@ -446,14 +446,14 @@
* Build a drop-down box from a textual list.
*
* @param $name Mixed: Name and id for the drop-down
- * @param $class Mixed: CSS classes for the drop-down
+ * @param $list Mixed: Correctly formatted text (newline delimited) to
be used to generate the options
* @param $other Mixed: Text for the "Other reasons" option
- * @param $list Mixed: Correctly formatted text (newline delimited) to
be used to generate the options
* @param $selected Mixed: Option which should be pre-selected
+ * @param $class Mixed: CSS classes for the drop-down
* @param $tabindex Mixed: Value of the tabindex attribute
* @return string
*/
- public static function listDropDown( $name= '', $list = '', $other =
'', $selected = '', $class = '', $tabindex = Null ) {
+ public static function listDropDown( $name= '', $list = '', $other =
'', $selected = '', $class = '', $tabindex = null ) {
$optgroup = false;
$options = self::option( $other, 'other', $selected === 'other'
);
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs