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 <nameColumn>name
</nameColumn>
31 <labelColumn>title
</labelColumn>
36 <name>price_set_id
</name>
37 <table>civicrm_price_set
</table>
46 <required>true
</required>
47 <comment>Variable name/programmatic handle for this field.
</comment>
54 <name>index_name
</name>
55 <fieldName>name
</fieldName>
63 <required>true
</required>
64 <localizable>true
</localizable>
65 <comment>Text for form field label (also friendly name for administering this field).
</comment>
72 <name>html_type
</name>
75 <required>true
</required>
77 <callback>CRM_Price_BAO_PriceField::htmlTypes
</callback>
85 <name>is_enter_qty
</name>
86 <title>Price Field Quantity Required?
</title>
89 <comment>Enter a quantity for this field?
</comment>
97 <title>Price Field Pre Text
</title>
99 <localizable>true
</localizable>
100 <comment>Description and/or help text to display before this field.
</comment>
102 <type>TextArea
</type>
109 <name>help_post
</name>
110 <title>Price Field Post Text
</title>
112 <localizable>true
</localizable>
113 <comment>Description and/or help text to display after this field.
</comment>
115 <type>TextArea
</type>
126 <comment>Order in which the fields should appear
</comment>
133 <name>is_display_amounts
</name>
134 <title>Price Field Show Amounts?
</title>
137 <comment>Should the price be displayed next to the label for each option?
</comment>
139 <type>CheckBox
</type>
143 <name>options_per_line
</name>
144 <title>Price Field Options per Row
</title>
145 <type>int unsigned
</type>
147 <comment>number of options per line for checkbox and radio
</comment>
154 <name>is_active
</name>
155 <title>Price Field Is Active?
</title>
157 <comment>Is this price field active
</comment>
161 <type>CheckBox
</type>
165 <name>is_required
</name>
166 <title>Price Field is Required?
</title>
168 <comment>Is this price field required (value must be
> 1)
</comment>
172 <type>CheckBox
</type>
176 <name>active_on
</name>
177 <title>Price Field Start Date
</title>
178 <type>datetime
</type>
179 <default>NULL
</default>
180 <comment>If non-zero, do not show this field before the date specified
</comment>
183 <type>Select Date
</type>
184 <formatType>activityDateTime
</formatType>
188 <name>expire_on
</name>
189 <title>Price Field End Date
</title>
190 <type>datetime
</type>
191 <default>NULL
</default>
192 <comment>If non-zero, do not show this field after the date specified
</comment>
195 <type>Select Date
</type>
196 <formatType>activityDateTime
</formatType>
200 <name>javascript
</name>
201 <title>Price Field Javascript
</title>
204 <comment>Optional scripting attributes for field
</comment>
211 <name>visibility_id
</name>
212 <title>Price Field Visibility
</title>
213 <type>int unsigned
</type>
215 <comment>Implicit FK to civicrm_option_group with name = 'visibility'
</comment>
218 <optionGroupName>visibility
</optionGroupName>