Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Price</base> | |
5 | <class>Field</class> | |
6 | <name>civicrm_price_field</name> | |
7 | <add>1.8</add> | |
8 | <log>true</log> | |
9 | <field> | |
10 | <name>id</name> | |
11 | <type>int unsigned</type> | |
12 | <required>true</required> | |
13 | <comment>Price Field</comment> | |
14 | <add>1.8</add> | |
15 | </field> | |
16 | <primaryKey> | |
17 | <name>id</name> | |
18 | <autoincrement>true</autoincrement> | |
19 | </primaryKey> | |
20 | <field> | |
21 | <name>price_set_id</name> | |
22 | <type>int unsigned</type> | |
23 | <required>true</required> | |
24 | <comment>FK to civicrm_price_set</comment> | |
25 | <add>1.8</add> | |
26 | </field> | |
27 | <foreignKey> | |
28 | <name>price_set_id</name> | |
29 | <table>civicrm_price_set</table> | |
30 | <key>id</key> | |
31 | <add>1.8</add> | |
32 | </foreignKey> | |
33 | <field> | |
34 | <name>name</name> | |
35 | <type>varchar</type> | |
36 | <title>Name</title> | |
37 | <length>255</length> | |
38 | <required>true</required> | |
39 | <comment>Variable name/programmatic handle for this field.</comment> | |
40 | <add>1.8</add> | |
41 | </field> | |
42 | <index> | |
43 | <name>index_name</name> | |
44 | <fieldName>name</fieldName> | |
45 | <add>1.8</add> | |
46 | </index> | |
47 | <field> | |
48 | <name>label</name> | |
49 | <type>varchar</type> | |
50 | <title>Label</title> | |
51 | <length>255</length> | |
52 | <required>true</required> | |
53 | <localizable>true</localizable> | |
54 | <comment>Text for form field label (also friendly name for administering this field).</comment> | |
55 | <add>1.8</add> | |
56 | </field> | |
57 | <field> | |
58 | <name>html_type</name> | |
59 | <type>enum</type> | |
60 | <values>Text, Select, Radio, CheckBox</values> | |
61 | <required>true</required> | |
62 | <add>1.8</add> | |
63 | </field> | |
64 | <field> | |
65 | <name>is_enter_qty</name> | |
66 | <type>boolean</type> | |
67 | <default>0</default> | |
68 | <comment>Enter a quantity for this field?</comment> | |
69 | <add>1.8</add> | |
70 | </field> | |
71 | <field> | |
72 | <name>help_pre</name> | |
73 | <type>text</type> | |
74 | <localizable>true</localizable> | |
75 | <comment>Description and/or help text to display before this field.</comment> | |
76 | <htmlType>textarea</htmlType> | |
77 | <rows>4</rows> | |
78 | <cols>80</cols> | |
79 | <add>1.8</add> | |
80 | </field> | |
81 | <field> | |
82 | <name>help_post</name> | |
83 | <type>text</type> | |
84 | <localizable>true</localizable> | |
85 | <comment>Description and/or help text to display after this field.</comment> | |
86 | <htmlType>textarea</htmlType> | |
87 | <rows>4</rows> | |
88 | <cols>80</cols> | |
89 | <add>1.8</add> | |
90 | </field> | |
91 | <field> | |
92 | <name>weight</name> | |
93 | <type>int</type> | |
94 | <default>1</default> | |
95 | <comment>Order in which the fields should appear</comment> | |
96 | <add>1.8</add> | |
97 | </field> | |
98 | <field> | |
99 | <name>is_display_amounts</name> | |
100 | <type>boolean</type> | |
101 | <default>1</default> | |
102 | <comment>Should the price be displayed next to the label for each option?</comment> | |
103 | </field> | |
104 | <field> | |
105 | <name>options_per_line</name> | |
106 | <type>int unsigned</type> | |
107 | <default>1</default> | |
108 | <comment>number of options per line for checkbox and radio</comment> | |
109 | <add>1.8</add> | |
110 | </field> | |
111 | <field> | |
112 | <name>is_active</name> | |
113 | <type>boolean</type> | |
114 | <comment>Is this price field active</comment> | |
115 | <default>1</default> | |
116 | <add>1.8</add> | |
117 | </field> | |
118 | <field> | |
119 | <name>is_required</name> | |
120 | <type>boolean</type> | |
121 | <comment>Is this price field required (value must be > 1)</comment> | |
122 | <default>1</default> | |
123 | <add>1.8</add> | |
124 | </field> | |
125 | <field> | |
126 | <name>active_on</name> | |
127 | <type>datetime</type> | |
128 | <default>NULL</default> | |
129 | <comment>If non-zero, do not show this field before the date specified</comment> | |
130 | <add>1.8</add> | |
131 | </field> | |
132 | <field> | |
133 | <name>expire_on</name> | |
134 | <type>datetime</type> | |
135 | <default>NULL</default> | |
136 | <comment>If non-zero, do not show this field after the date specified</comment> | |
137 | <add>1.8</add> | |
138 | </field> | |
139 | <field> | |
140 | <name>javascript</name> | |
141 | <type>varchar</type> | |
142 | <length>255</length> | |
143 | <comment>Optional scripting attributes for field</comment> | |
144 | <add>1.8</add> | |
145 | </field> | |
146 | <field> | |
147 | <name>visibility_id</name> | |
148 | <type>int unsigned</type> | |
149 | <default>1</default> | |
150 | <comment>Implicit FK to civicrm_option_group with name = \'visibility\'</comment> | |
151 | <add>3.2</add> | |
4080e473 AS |
152 | <pseudoconstant> |
153 | <optionGroupName>visibility</optionGroupName> | |
154 | </pseudoconstant> | |
6a488035 TO |
155 | </field> |
156 | <field> | |
157 | <name>count</name> | |
158 | <type>int unsigned</type> | |
159 | <default>NULL</default> | |
160 | <comment>Number of Participants Per field</comment> | |
161 | <add>3.2</add> | |
162 | <drop>3.3</drop> | |
163 | </field> | |
164 | </table> | |
165 |