1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
5 <class>PriceField
</class>
6 <name>civicrm_price_field
</name>
9 <component>CiviContribute
</component>
12 <title>Price Field ID
</title>
13 <type>int unsigned
</type>
14 <required>true
</required>
15 <comment>Price Field
</comment>
23 <autoincrement>true
</autoincrement>
26 <name>price_set_id
</name>
27 <title>Price Set ID
</title>
28 <type>int unsigned
</type>
29 <required>true
</required>
30 <comment>FK to civicrm_price_set
</comment>
32 <table>civicrm_price_set
</table>
33 <keyColumn>id
</keyColumn>
34 <nameColumn>name
</nameColumn>
35 <labelColumn>title
</labelColumn>
39 <label>Price Set
</label>
44 <name>price_set_id
</name>
45 <table>civicrm_price_set
</table>
54 <required>true
</required>
55 <comment>Variable name/programmatic handle for this field.
</comment>
62 <name>index_name
</name>
63 <fieldName>name
</fieldName>
71 <required>true
</required>
72 <localizable>true
</localizable>
73 <comment>Text for form field label (also friendly name for administering this field).
</comment>
80 <name>html_type
</name>
83 <required>true
</required>
85 <callback>CRM_Price_BAO_PriceField::htmlTypes
</callback>
90 <label>Html Type
</label>
94 <name>is_enter_qty
</name>
95 <title>Price Field Quantity Required?
</title>
98 <required>true
</required>
99 <comment>Enter a quantity for this field?
</comment>
102 <type>CheckBox
</type>
106 <name>help_pre
</name>
107 <title>Price Field Pre Text
</title>
109 <localizable>true
</localizable>
110 <comment>Description and/or help text to display before this field.
</comment>
112 <type>TextArea
</type>
119 <name>help_post
</name>
120 <title>Price Field Post Text
</title>
122 <localizable>true
</localizable>
123 <comment>Description and/or help text to display after this field.
</comment>
125 <type>TextArea
</type>
136 <comment>Order in which the fields should appear
</comment>
143 <name>is_display_amounts
</name>
144 <title>Price Field Show Amounts?
</title>
147 <required>true
</required>
148 <comment>Should the price be displayed next to the label for each option?
</comment>
150 <type>CheckBox
</type>
154 <name>options_per_line
</name>
155 <title>Price Field Options per Row
</title>
156 <type>int unsigned
</type>
158 <comment>number of options per line for checkbox and radio
</comment>
165 <name>is_active
</name>
166 <title>Price Field Is Active?
</title>
168 <comment>Is this price field active
</comment>
170 <required>true
</required>
173 <type>CheckBox
</type>
177 <name>is_required
</name>
178 <title>Price Field is Required?
</title>
180 <comment>Is this price field required (value must be
> 1)
</comment>
182 <required>true
</required>
185 <type>CheckBox
</type>
189 <name>active_on
</name>
190 <title>Price Field Start Date
</title>
191 <type>datetime
</type>
192 <default>NULL
</default>
193 <comment>If non-zero, do not show this field before the date specified
</comment>
196 <type>Select Date
</type>
197 <formatType>activityDateTime
</formatType>
201 <name>expire_on
</name>
202 <title>Price Field End Date
</title>
203 <type>datetime
</type>
204 <default>NULL
</default>
205 <comment>If non-zero, do not show this field after the date specified
</comment>
208 <type>Select Date
</type>
209 <formatType>activityDateTime
</formatType>
213 <name>javascript
</name>
214 <title>Price Field Javascript
</title>
217 <comment>Optional scripting attributes for field
</comment>
224 <name>visibility_id
</name>
225 <title>Price Field Visibility
</title>
226 <type>int unsigned
</type>
228 <comment>Implicit FK to civicrm_option_group with name = 'visibility'
</comment>
231 <optionGroupName>visibility
</optionGroupName>