r93231 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93230‎ | r93231 | r93232 >
Date:18:53, 26 July 2011
Author:yaron
Status:deferred
Tags:
Comment:
Fixed method name: getAllowedParameters() => getParameters()
Modified paths:
  • /trunk/extensions/SemanticForms/includes/forminputs/SF_FormInput.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/forminputs/SF_FormInput.php
@@ -90,7 +90,7 @@
9191 /**
9292 * Returns the set of parameters for this form input.
9393 */
94 - public static function getAllowedParameters() {
 94+ public static function getParameters() {
9595 $params = array();
9696 $params[] = array( 'name' => 'mandatory', 'type' => 'boolean', 'description' => wfMsg( 'sf_forminputs_mandatory' ) );
9797 $params[] = array( 'name' => 'restricted', 'type' => 'boolean', 'description' => wfMsg( 'sf_forminputs_restricted' ) );