1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
5 <class>PriceField
</class>
6 <name>civicrm_price_field
</name>
11 <title>Price Field ID
</title>
12 <type>int unsigned
</type>
13 <required>true
</required>
14 <comment>Price Field
</comment>
19 <autoincrement>true
</autoincrement>
22 <name>price_set_id
</name>
23 <title>Price Set
</title>
24 <type>int unsigned
</type>
25 <required>true
</required>
26 <comment>FK to civicrm_price_set
</comment>
28 <table>civicrm_price_set
</table>
29 <keyColumn>id
</keyColumn>
30 <labelColumn>title
</labelColumn>
35 <name>price_set_id
</name>
36 <table>civicrm_price_set
</table>
45 <required>true
</required>
46 <comment>Variable name/programmatic handle for this field.
</comment>
53 <name>index_name
</name>
54 <fieldName>name
</fieldName>
62 <required>true
</required>
63 <localizable>true
</localizable>
64 <comment>Text for form field label (also friendly name for administering this field).
</comment>
71 <name>html_type
</name>
74 <required>true
</required>
76 <callback>CRM_Price_BAO_PriceField::htmlTypes
</callback>
84 <name>is_enter_qty
</name>
85 <title>Price Field Quantity Required?
</title>
88 <comment>Enter a quantity for this field?
</comment>
96 <title>Price Field Pre Text
</title>
98 <localizable>true
</localizable>
99 <comment>Description and/or help text to display before this field.
</comment>
101 <type>TextArea
</type>
108 <name>help_post
</name>
109 <title>Price Field Post Text
</title>
111 <localizable>true
</localizable>
112 <comment>Description and/or help text to display after this field.
</comment>
114 <type>TextArea
</type>
125 <comment>Order in which the fields should appear
</comment>
132 <name>is_display_amounts
</name>
133 <title>Price Field Show Amounts?
</title>
136 <comment>Should the price be displayed next to the label for each option?
</comment>
138 <type>CheckBox
</type>
142 <name>options_per_line
</name>
143 <title>Price Field Options per Row
</title>
144 <type>int unsigned
</type>
146 <comment>number of options per line for checkbox and radio
</comment>
153 <name>is_active
</name>
154 <title>Price Field Is Active?
</title>
156 <comment>Is this price field active
</comment>
160 <type>CheckBox
</type>
164 <name>is_required
</name>
165 <title>Price Field is Required?
</title>
167 <comment>Is this price field required (value must be
> 1)
</comment>
171 <type>CheckBox
</type>
175 <name>active_on
</name>
176 <title>Price Field Start Date
</title>
177 <type>datetime
</type>
178 <default>NULL
</default>
179 <comment>If non-zero, do not show this field before the date specified
</comment>
182 <type>Select Date
</type>
183 <formatType>activityDateTime
</formatType>
187 <name>expire_on
</name>
188 <title>Price Field End Date
</title>
189 <type>datetime
</type>
190 <default>NULL
</default>
191 <comment>If non-zero, do not show this field after the date specified
</comment>
194 <type>Select Date
</type>
195 <formatType>activityDateTime
</formatType>
199 <name>javascript
</name>
200 <title>Price Field Javascript
</title>
203 <comment>Optional scripting attributes for field
</comment>
210 <name>visibility_id
</name>
211 <title>Price Field Visibility
</title>
212 <type>int unsigned
</type>
214 <comment>Implicit FK to civicrm_option_group with name = 'visibility'
</comment>
217 <optionGroupName>visibility
</optionGroupName>
225 <type>int unsigned
</type>
226 <default>NULL
</default>
227 <comment>Number of Participants Per field
</comment>