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>
20 <autoincrement>true
</autoincrement>
23 <name>price_set_id
</name>
24 <title>Price Set
</title>
25 <type>int unsigned
</type>
26 <required>true
</required>
27 <comment>FK to civicrm_price_set
</comment>
29 <table>civicrm_price_set
</table>
30 <keyColumn>id
</keyColumn>
31 <nameColumn>name
</nameColumn>
32 <labelColumn>title
</labelColumn>
37 <name>price_set_id
</name>
38 <table>civicrm_price_set
</table>
47 <required>true
</required>
48 <comment>Variable name/programmatic handle for this field.
</comment>
55 <name>index_name
</name>
56 <fieldName>name
</fieldName>
64 <required>true
</required>
65 <localizable>true
</localizable>
66 <comment>Text for form field label (also friendly name for administering this field).
</comment>
73 <name>html_type
</name>
76 <required>true
</required>
78 <callback>CRM_Price_BAO_PriceField::htmlTypes
</callback>
86 <name>is_enter_qty
</name>
87 <title>Price Field Quantity Required?
</title>
90 <comment>Enter a quantity for this field?
</comment>
98 <title>Price Field Pre Text
</title>
100 <localizable>true
</localizable>
101 <comment>Description and/or help text to display before this field.
</comment>
103 <type>TextArea
</type>
110 <name>help_post
</name>
111 <title>Price Field Post Text
</title>
113 <localizable>true
</localizable>
114 <comment>Description and/or help text to display after this field.
</comment>
116 <type>TextArea
</type>
127 <comment>Order in which the fields should appear
</comment>
134 <name>is_display_amounts
</name>
135 <title>Price Field Show Amounts?
</title>
138 <comment>Should the price be displayed next to the label for each option?
</comment>
140 <type>CheckBox
</type>
144 <name>options_per_line
</name>
145 <title>Price Field Options per Row
</title>
146 <type>int unsigned
</type>
148 <comment>number of options per line for checkbox and radio
</comment>
155 <name>is_active
</name>
156 <title>Price Field Is Active?
</title>
158 <comment>Is this price field active
</comment>
162 <type>CheckBox
</type>
166 <name>is_required
</name>
167 <title>Price Field is Required?
</title>
169 <comment>Is this price field required (value must be
> 1)
</comment>
173 <type>CheckBox
</type>
177 <name>active_on
</name>
178 <title>Price Field Start Date
</title>
179 <type>datetime
</type>
180 <default>NULL
</default>
181 <comment>If non-zero, do not show this field before the date specified
</comment>
184 <type>Select Date
</type>
185 <formatType>activityDateTime
</formatType>
189 <name>expire_on
</name>
190 <title>Price Field End Date
</title>
191 <type>datetime
</type>
192 <default>NULL
</default>
193 <comment>If non-zero, do not show this field after the date specified
</comment>
196 <type>Select Date
</type>
197 <formatType>activityDateTime
</formatType>
201 <name>javascript
</name>
202 <title>Price Field Javascript
</title>
205 <comment>Optional scripting attributes for field
</comment>
212 <name>visibility_id
</name>
213 <title>Price Field Visibility
</title>
214 <type>int unsigned
</type>
216 <comment>Implicit FK to civicrm_option_group with name = 'visibility'
</comment>
219 <optionGroupName>visibility
</optionGroupName>