1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
5 <class>PriceField
</class>
6 <name>civicrm_price_field
</name>
11 <type>int unsigned
</type>
12 <required>true
</required>
13 <comment>Price Field
</comment>
18 <autoincrement>true
</autoincrement>
21 <name>price_set_id
</name>
22 <type>int unsigned
</type>
23 <required>true
</required>
24 <comment>FK to civicrm_price_set
</comment>
28 <name>price_set_id
</name>
29 <table>civicrm_price_set
</table>
38 <required>true
</required>
39 <comment>Variable name/programmatic handle for this field.
</comment>
46 <name>index_name
</name>
47 <fieldName>name
</fieldName>
55 <required>true
</required>
56 <localizable>true
</localizable>
57 <comment>Text for form field label (also friendly name for administering this field).
</comment>
64 <name>html_type
</name>
67 <required>true
</required>
69 <callback>CRM_Price_BAO_PriceField::htmlTypes
</callback>
77 <name>is_enter_qty
</name>
80 <comment>Enter a quantity for this field?
</comment>
89 <localizable>true
</localizable>
90 <comment>Description and/or help text to display before this field.
</comment>
99 <name>help_post
</name>
101 <localizable>true
</localizable>
102 <comment>Description and/or help text to display after this field.
</comment>
104 <type>TextArea
</type>
114 <comment>Order in which the fields should appear
</comment>
121 <name>is_display_amounts
</name>
124 <comment>Should the price be displayed next to the label for each option?
</comment>
126 <type>CheckBox
</type>
130 <name>options_per_line
</name>
131 <type>int unsigned
</type>
133 <comment>number of options per line for checkbox and radio
</comment>
140 <name>is_active
</name>
142 <comment>Is this price field active
</comment>
146 <type>CheckBox
</type>
150 <name>is_required
</name>
152 <comment>Is this price field required (value must be
> 1)
</comment>
156 <type>CheckBox
</type>
160 <name>active_on
</name>
161 <type>datetime
</type>
162 <default>NULL
</default>
163 <comment>If non-zero, do not show this field before the date specified
</comment>
166 <type>CheckBox
</type>
170 <name>expire_on
</name>
171 <type>datetime
</type>
172 <default>NULL
</default>
173 <comment>If non-zero, do not show this field after the date specified
</comment>
176 <type>Select Date
</type>
180 <name>javascript
</name>
183 <comment>Optional scripting attributes for field
</comment>
190 <name>visibility_id
</name>
191 <type>int unsigned
</type>
193 <comment>Implicit FK to civicrm_option_group with name = \'visibility\'
</comment>
196 <optionGroupName>visibility
</optionGroupName>
204 <type>int unsigned
</type>
205 <default>NULL
</default>
206 <comment>Number of Participants Per field
</comment>