r24462 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24461‎ | r24462 | r24463 >
Date:15:19, 30 July 2007
Author:yaron
Status:old
Tags:
Comment:
Added more fields, for use by FormPrinter class
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormClasses.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormClasses.inc
@@ -156,6 +156,18 @@
157157 var $template_field;
158158 var $is_hidden;
159159 var $is_mandatory;
 160+ // the following fields are not set by the form-creation page
 161+ // (though they could be)
 162+ var $input_type;
 163+ var $size;
 164+ var $num_rows;
 165+ var $num_cols;
 166+ var $autocomplete_category;
 167+ var $no_autocomplete;
 168+ var $part_of_multiple;
 169+ // somewhat of a hack - this is an HTML-based value for a specific
 170+ // representation of a form
 171+ var $input_name;
160172
161173 function create($num, $template_field) {
162174 $f = new SFFormTemplateField();

Status & tagging log