r93206 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93205‎ | r93206 | r93207 >
Date:16:43, 26 July 2011
Author:ankitgarg833
Status:deferred
Tags:
Comment:
adding $fieldObj->getDelimiter() to SFTemplateField::create call in generatepages
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_Utils.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_Utils.php
@@ -211,7 +211,7 @@
212212 $form_input_array = $sf_array['sf'];
213213 $smw_array = $fieldObj->getObject('Property'); //this returns an array with property values filled
214214 $prop_array = $smw_array['smw'];
215 - $field_t = SFTemplateField::create( $fieldObj->getName(), $fieldObj->getLabel(), $prop_array['name'], $fieldObj->isList() );
 215+ $field_t = SFTemplateField::create( $fieldObj->getName(), $fieldObj->getLabel(), $prop_array['name'], $fieldObj->isList() ,$fieldObj->getDelimiter());
216216 $template_fields[] = $field_t;
217217 }
218218 $template_text = SFTemplateField::createTemplateText( $template->getName(), $template_fields, null, $psSchemaObj->categoryName, null, null, null );