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 <comment>Enter a quantity for this field?
</comment>
101 <type>CheckBox
</type>
105 <name>help_pre
</name>
106 <title>Price Field Pre Text
</title>
108 <localizable>true
</localizable>
109 <comment>Description and/or help text to display before this field.
</comment>
111 <type>TextArea
</type>
118 <name>help_post
</name>
119 <title>Price Field Post Text
</title>
121 <localizable>true
</localizable>
122 <comment>Description and/or help text to display after this field.
</comment>
124 <type>TextArea
</type>
135 <comment>Order in which the fields should appear
</comment>
142 <name>is_display_amounts
</name>
143 <title>Price Field Show Amounts?
</title>
146 <comment>Should the price be displayed next to the label for each option?
</comment>
148 <type>CheckBox
</type>
152 <name>options_per_line
</name>
153 <title>Price Field Options per Row
</title>
154 <type>int unsigned
</type>
156 <comment>number of options per line for checkbox and radio
</comment>
163 <name>is_active
</name>
164 <title>Price Field Is Active?
</title>
166 <comment>Is this price field active
</comment>
170 <type>CheckBox
</type>
174 <name>is_required
</name>
175 <title>Price Field is Required?
</title>
177 <comment>Is this price field required (value must be
> 1)
</comment>
181 <type>CheckBox
</type>
185 <name>active_on
</name>
186 <title>Price Field Start Date
</title>
187 <type>datetime
</type>
188 <default>NULL
</default>
189 <comment>If non-zero, do not show this field before the date specified
</comment>
192 <type>Select Date
</type>
193 <formatType>activityDateTime
</formatType>
197 <name>expire_on
</name>
198 <title>Price Field End Date
</title>
199 <type>datetime
</type>
200 <default>NULL
</default>
201 <comment>If non-zero, do not show this field after the date specified
</comment>
204 <type>Select Date
</type>
205 <formatType>activityDateTime
</formatType>
209 <name>javascript
</name>
210 <title>Price Field Javascript
</title>
213 <comment>Optional scripting attributes for field
</comment>
220 <name>visibility_id
</name>
221 <title>Price Field Visibility
</title>
222 <type>int unsigned
</type>
224 <comment>Implicit FK to civicrm_option_group with name = 'visibility'
</comment>
227 <optionGroupName>visibility
</optionGroupName>