Index: trunk/extensions/SemanticForms/includes/SF_TemplateField.inc |
— | — | @@ -12,10 +12,10 @@ |
13 | 13 | var $label; |
14 | 14 | var $semantic_field; |
15 | 15 | var $semantic_field_call; |
16 | | - var $is_list; |
17 | 16 | var $is_relation; |
18 | 17 | var $field_type; |
19 | 18 | var $possible_values; |
| 19 | + var $is_list; |
20 | 20 | |
21 | 21 | function newWithValues($name, $label) { |
22 | 22 | $f = new SFTemplateField(); |
— | — | @@ -26,10 +26,11 @@ |
27 | 27 | |
28 | 28 | // setSemanticData() - called when template is parsed during the creation |
29 | 29 | // of a form |
30 | | - function setSemanticData($semantic_field, $is_relation) { |
| 30 | + function setSemanticData($semantic_field, $is_relation, $is_list) { |
31 | 31 | $this->semantic_field = str_replace('\\', '', $semantic_field); |
32 | 32 | $this->is_relation = $is_relation; |
33 | 33 | $this->possible_values = array(); |
| 34 | + $this->is_list = $is_list; |
34 | 35 | // set field type if it's an attribute |
35 | 36 | // HACK - also set type (to 'relation') if it's a relation |
36 | 37 | if ($this->is_relation) { |