Index: trunk/extensions/SemanticForms/includes/SF_Utils.php |
— | — | @@ -209,11 +209,9 @@ |
210 | 210 | $field_count++; |
211 | 211 | $sf_array = $fieldObj->getObject('FormInput');//this returns an array with property values filled |
212 | 212 | $form_input_array = $sf_array['sf']; |
213 | | - $field_t = SFTemplateField::create( $fieldObj->getName(), $fieldObj->getLabel() ); |
214 | 213 | $smw_array = $fieldObj->getObject('Property'); //this returns an array with property values filled |
215 | 214 | $prop_array = $smw_array['smw']; |
216 | | - $field_t->semantic_property = $prop_array['name']; |
217 | | - $field_t->is_list = $fieldObj->isList(); |
| 215 | + $field_t = SFTemplateField::create( $fieldObj->getName(), $fieldObj->getLabel(), $prop_array['name'], $fieldObj->isList() ); |
218 | 216 | $template_fields[] = $field_t; |
219 | 217 | } |
220 | 218 | $template_text = SFTemplateField::createTemplateText( $template->getName(), $template_fields, null, $psSchemaObj->categoryName, null, null, null ); |