1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
5 <class>OptionValue
</class>
6 <name>civicrm_option_value
</name>
11 <title>Option Value ID
</title>
12 <type>int unsigned
</type>
13 <required>true
</required>
14 <comment>Option ID
</comment>
19 <autoincrement>true
</autoincrement>
22 <name>option_group_id
</name>
23 <title>Option Group ID
</title>
24 <type>int unsigned
</type>
25 <required>true
</required>
26 <comment>Group which this option belongs to.
</comment>
29 <table>civicrm_option_group
</table>
30 <keyColumn>id
</keyColumn>
31 <nameColumn>name
</nameColumn>
32 <labelColumn>title
</labelColumn>
36 <label>Option Group
</label>
40 <name>option_group_id
</name>
41 <table>civicrm_option_group
</table>
44 <onDelete>CASCADE
</onDelete>
48 <title>Option Label
</title>
50 <required>true
</required>
52 <localizable>true
</localizable>
53 <comment>Option string as displayed to users - e.g. the label in an HTML OPTION tag.
</comment>
58 <title>Option Value
</title>
61 <required>true
</required>
62 <comment>The actual value stored (as a foreign key) in the data record. Functions which need lookup option_value.title should use civicrm_option_value.option_group_id plus civicrm_option_value.value as the key.
</comment>
68 <title>Option Name
</title>
72 <comment>Stores a fixed (non-translated) name for this option value. Lookup functions should use the name as the key for the option value row.
</comment>
77 <title>Option Grouping Name
</title>
80 <comment>Use to sort and/or set display properties for sub-set(s) of options within an option group. EXAMPLE: Use for college_interest field, to differentiate partners from non-partners.
</comment>
85 <type>int unsigned
</type>
87 <comment>Bitwise logic can be used to create subsets of options within an option_group for different uses.
</comment>
94 <name>is_default
</name>
95 <title>Option is Default?
</title>
98 <comment>Is this the default option for the group?
</comment>
104 <type>int unsigned
</type>
105 <required>true
</required>
106 <comment>Controls display sort order.
</comment>
110 <name>description
</name>
111 <title>Option Description
</title>
114 <type>TextArea
</type>
118 <localizable>true
</localizable>
119 <comment>Optional description.
</comment>
123 <name>is_optgroup
</name>
124 <title>Option is Header?
</title>
127 <comment>Is this row simply a display header? Expected usage is to render these as OPTGROUP tags within a SELECT field list of options?
</comment>
131 <name>is_reserved
</name>
132 <title>Option Is Reserved?
</title>
135 <comment>Is this a predefined system object?
</comment>
139 <name>is_active
</name>
140 <title>Option Is Active
</title>
143 <comment>Is this option active?
</comment>
147 <name>component_id
</name>
148 <title>Component ID
</title>
149 <type>int unsigned
</type>
150 <comment>Component that this option value belongs/caters to.
</comment>
153 <table>civicrm_component
</table>
154 <keyColumn>id
</keyColumn>
155 <labelColumn>name
</labelColumn>
159 <label>Component
</label>
163 <name>component_id
</name>
164 <table>civicrm_component
</table>
169 <name>domain_id
</name>
170 <title>Domain ID
</title>
171 <type>int unsigned
</type>
173 <table>civicrm_domain
</table>
174 <keyColumn>id
</keyColumn>
175 <labelColumn>name
</labelColumn>
177 <comment>Which Domain is this option value for
</comment>
179 <label>Domain
</label>
184 <name>domain_id
</name>
185 <table>civicrm_domain
</table>
190 <name>visibility_id
</name>
191 <title>Option Visibility
</title>
192 <type>int unsigned
</type>
193 <default>NULL
</default>
196 <optionGroupName>visibility
</optionGroupName>
204 <default>NULL
</default>
205 <comment>crm-i icon class
</comment>
213 <comment>Hex color value e.g. #ffffff
</comment>
214 <default>NULL
</default>
218 <name>index_option_group_id_value
</name>
219 <fieldName length=
"128">value
</fieldName>
220 <fieldName>option_group_id
</fieldName>
224 <name>index_option_group_id_name
</name>
225 <fieldName length=
"128">name
</fieldName>
226 <fieldName>option_group_id
</fieldName>