1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
6 <name>civicrm_uf_field
</name>
7 <comment>User Framework fields and their properties.
</comment>
12 <title>Profile Field ID
</title>
13 <type>int unsigned
</type>
14 <required>true
</required>
15 <comment>Unique table ID
</comment>
23 <autoincrement>true
</autoincrement>
26 <name>uf_group_id
</name>
27 <title>Profile ID
</title>
28 <type>int unsigned
</type>
29 <required>true
</required>
30 <comment>Which form does this field belong to.
</comment>
33 <table>civicrm_uf_group
</table>
34 <keyColumn>id
</keyColumn>
35 <labelColumn>title
</labelColumn>
39 <label>Profile
</label>
43 <name>uf_group_id
</name>
44 <table>civicrm_uf_group
</table>
47 <onDelete>CASCADE
</onDelete>
50 <name>field_name
</name>
51 <title>Profile Field Name
</title>
54 <required>true
</required>
55 <comment>Name for CiviCRM field which is being exposed for sharing.
</comment>
57 <callback>CRM_Core_BAO_UFField::getAvailableFieldTitles
</callback>
62 <name>is_active
</name>
63 <title>Profile Field Is Active
</title>
66 <required>true
</required>
67 <comment>Is this field currently shareable? If false, hide the field for all sharing contexts.
</comment>
72 <title>Profile Is View Only
</title>
75 <required>true
</required>
76 <comment>the field is view only and not editable in user forms.
</comment>
80 <name>is_required
</name>
81 <title>Profile Field Is Required
</title>
84 <required>true
</required>
85 <comment>Is this field required when included in a user or registration form?
</comment>
92 <required>true
</required>
94 <comment>Controls field display order when user framework fields are displayed in registration and account editing forms.
</comment>
98 <name>help_post
</name>
99 <title>Profile Field Post Help
</title>
101 <localizable>true
</localizable>
102 <comment>Description and/or help text to display after this field.
</comment>
106 <name>help_pre
</name>
107 <title>Profile Field Pre Help
</title>
109 <localizable>true
</localizable>
110 <comment>Description and/or help text to display before this field.
</comment>
114 <name>visibility
</name>
115 <title>Profile Field Visibility
</title>
118 <default>'User and User Admin Only'
</default>
119 <comment>In what context(s) is this field visible.
</comment>
121 <callback>CRM_Core_SelectValues::ufVisibility
</callback>
129 <name>in_selector
</name>
130 <title>Profile Field Is a Filter
</title>
133 <required>true
</required>
134 <comment>Is this field included as a column in the selector table?
</comment>
138 <name>is_searchable
</name>
139 <title>Profile Field Is Searchable
</title>
142 <required>true
</required>
143 <comment>Is this field included search form of profile?
</comment>
147 <name>location_type_id
</name>
148 <title>Location Type ID
</title>
149 <type>int unsigned
</type>
150 <comment>Location type of this mapping, if required
</comment>
152 <label>Location Type
</label>
157 <name>location_type_id
</name>
158 <table>civicrm_location_type
</table>
161 <onDelete>SET NULL
</onDelete>
164 <name>phone_type_id
</name>
165 <title>Profile Field Phone Type
</title>
166 <type>int unsigned
</type>
167 <comment>Phone Type ID, if required
</comment>
170 <optionGroupName>phone_type
</optionGroupName>
174 <name>website_type_id
</name>
175 <title>Profile Field Website Type
</title>
176 <type>int unsigned
</type>
177 <comment>Website Type ID, if required
</comment>
180 <optionGroupName>website_type
</optionGroupName>
185 <title>Profile Field Label
</title>
188 <required>true
</required>
189 <localizable>true
</localizable>
190 <comment>To save label for fields.
</comment>
194 <name>field_type
</name>
195 <title>Profile Field Type
</title>
198 <comment>This field saves field type (ie individual,household.. field etc).
</comment>
202 <name>is_reserved
</name>
203 <title>Profile Field Is Reserved
</title>
206 <required>true
</required>
207 <comment>Is this field reserved for use by some other CiviCRM functionality?
</comment>
211 <name>is_multi_summary
</name>
212 <title>Profile Field Supports Multiple
</title>
215 <required>true
</required>
216 <comment>Include in multi-record listing?
</comment>
220 <name>IX_website_type_id
</name>
221 <title>Profile Field Website Type
</title>
222 <fieldName>website_type_id
</fieldName>