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>
30 <name>price_set_id
</name>
31 <table>civicrm_price_set
</table>
40 <required>true
</required>
41 <comment>Variable name/programmatic handle for this field.
</comment>
48 <name>index_name
</name>
49 <fieldName>name
</fieldName>
57 <required>true
</required>
58 <localizable>true
</localizable>
59 <comment>Text for form field label (also friendly name for administering this field).
</comment>
66 <name>html_type
</name>
69 <required>true
</required>
71 <callback>CRM_Price_BAO_PriceField::htmlTypes
</callback>
79 <name>is_enter_qty
</name>
80 <title>Price Field Quantity Required?
</title>
83 <comment>Enter a quantity for this field?
</comment>
91 <title>Price Field Pre Text
</title>
93 <localizable>true
</localizable>
94 <comment>Description and/or help text to display before this field.
</comment>
103 <name>help_post
</name>
104 <title>Price Field Post Text
</title>
106 <localizable>true
</localizable>
107 <comment>Description and/or help text to display after this field.
</comment>
109 <type>TextArea
</type>
120 <comment>Order in which the fields should appear
</comment>
127 <name>is_display_amounts
</name>
128 <title>Price Field Show Amounts?
</title>
131 <comment>Should the price be displayed next to the label for each option?
</comment>
133 <type>CheckBox
</type>
137 <name>options_per_line
</name>
138 <title>Price Field Options per Row
</title>
139 <type>int unsigned
</type>
141 <comment>number of options per line for checkbox and radio
</comment>
148 <name>is_active
</name>
149 <title>Price Field Is Active?
</title>
151 <comment>Is this price field active
</comment>
155 <type>CheckBox
</type>
159 <name>is_required
</name>
160 <title>Price Field is Required?
</title>
162 <comment>Is this price field required (value must be
> 1)
</comment>
166 <type>CheckBox
</type>
170 <name>active_on
</name>
171 <title>Price Field Start Date
</title>
172 <type>datetime
</type>
173 <default>NULL
</default>
174 <comment>If non-zero, do not show this field before the date specified
</comment>
177 <type>CheckBox
</type>
181 <name>expire_on
</name>
182 <title>Price Field End Date
</title>
183 <type>datetime
</type>
184 <default>NULL
</default>
185 <comment>If non-zero, do not show this field after the date specified
</comment>
188 <type>Select Date
</type>
192 <name>javascript
</name>
193 <title>Price Field Javascript
</title>
196 <comment>Optional scripting attributes for field
</comment>
203 <name>visibility_id
</name>
204 <title>Price Field Visibility
</title>
205 <type>int unsigned
</type>
207 <comment>Implicit FK to civicrm_option_group with name = 'visibility'
</comment>
210 <optionGroupName>visibility
</optionGroupName>
218 <type>int unsigned
</type>
219 <default>NULL
</default>
220 <comment>Number of Participants Per field
</comment>