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>
20 <autoincrement>true
</autoincrement>
23 <name>uf_group_id
</name>
24 <title>Profile ID
</title>
25 <type>int unsigned
</type>
26 <required>true
</required>
27 <comment>Which form does this field belong to.
</comment>
30 <table>civicrm_uf_group
</table>
31 <keyColumn>id
</keyColumn>
32 <labelColumn>title
</labelColumn>
39 <name>uf_group_id
</name>
40 <table>civicrm_uf_group
</table>
43 <onDelete>CASCADE
</onDelete>
46 <name>field_name
</name>
47 <title>Profile Field Name
</title>
50 <required>true
</required>
51 <comment>Name for CiviCRM field which is being exposed for sharing.
</comment>
53 <callback>CRM_Core_BAO_UFField::getAvailableFieldTitles
</callback>
58 <name>is_active
</name>
59 <title>Profile Field Is Active
</title>
62 <comment>Is this field currently shareable? If false, hide the field for all sharing contexts.
</comment>
67 <title>Profile Is View Only
</title>
70 <comment>the field is view only and not editable in user forms.
</comment>
74 <name>is_required
</name>
75 <title>Profile Field Is Required
</title>
78 <comment>Is this field required when included in a user or registration form?
</comment>
85 <required>true
</required>
87 <comment>Controls field display order when user framework fields are displayed in registration and account editing forms.
</comment>
91 <name>help_post
</name>
92 <title>Profile Field Post Help
</title>
94 <localizable>true
</localizable>
95 <comment>Description and/or help text to display after this field.
</comment>
100 <title>Profile Field Pre Help
</title>
102 <localizable>true
</localizable>
103 <comment>Description and/or help text to display before this field.
</comment>
107 <name>visibility
</name>
108 <title>Profile Field Visibility
</title>
111 <default>'User and User Admin Only'
</default>
112 <comment>In what context(s) is this field visible.
</comment>
114 <callback>CRM_Core_SelectValues::ufVisibility
</callback>
122 <name>in_selector
</name>
123 <title>Profile Field Is a Filter
</title>
126 <comment>Is this field included as a column in the selector table?
</comment>
130 <name>is_searchable
</name>
131 <title>Profile Field Is Searchable
</title>
134 <comment>Is this field included search form of profile?
</comment>
138 <name>location_type_id
</name>
139 <title>Profile Field Location Type
</title>
140 <type>int unsigned
</type>
141 <comment>Location type of this mapping, if required
</comment>
145 <name>location_type_id
</name>
146 <table>civicrm_location_type
</table>
149 <onDelete>SET NULL
</onDelete>
152 <name>phone_type_id
</name>
153 <title>Profile Field Phone Type
</title>
154 <type>int unsigned
</type>
155 <comment>Phone Type Id, if required
</comment>
158 <optionGroupName>phone_type
</optionGroupName>
162 <name>website_type_id
</name>
163 <title>Profile Field Website Type
</title>
164 <type>int unsigned
</type>
165 <comment>Website Type Id, if required
</comment>
168 <optionGroupName>website_type
</optionGroupName>
173 <title>Profile Field Label
</title>
176 <required>true
</required>
177 <localizable>true
</localizable>
178 <comment>To save label for fields.
</comment>
182 <name>field_type
</name>
183 <title>Profile Field Type
</title>
186 <comment>This field saves field type (ie individual,household.. field etc).
</comment>
190 <name>is_reserved
</name>
191 <title>Profile Field Is Reserved
</title>
193 <comment>Is this field reserved for use by some other CiviCRM functionality?
</comment>
197 <name>is_multi_summary
</name>
198 <title>Profile Field Supports Multiple
</title>
201 <comment>Include in multi-record listing?
</comment>
205 <name>IX_website_type_id
</name>
206 <title>Profile Field Website Type
</title>
207 <fieldName>website_type_id
</fieldName>