r30836 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r30835‎ | r30836 | r30837 >
Date:15:43, 11 February 2008
Author:yaron
Status:old
Tags:
Comment:
New 'is_list' field
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormClasses.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormClasses.inc
@@ -244,7 +244,7 @@
245245 return $f;
246246 }
247247
248 - function createFromDefinition($field_name, $input_name, $is_mandatory, $is_hidden, $is_disabled, $input_type, $field_args, $all_fields, $strict_parsing) {
 248+ function createFromDefinition($field_name, $input_name, $is_mandatory, $is_hidden, $is_disabled, $is_list, $input_type, $field_args, $all_fields, $strict_parsing) {
249249 // see if this field matches one of the fields defined for this template -
250250 // if it is, use all available information about that field; if it's not,
251251 // either include it in the form or not, depending on whether the
@@ -272,6 +272,7 @@
273273 $f->field_args = $field_args;
274274 $f->input_name = $input_name;
275275 $f->is_disabled = $is_disabled;
 276+ $f->is_list = $is_list;
276277 return $f;
277278 }
278279

Status & tagging log