1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Contact
</base>
6 <name>civicrm_group
</name>
7 <comment>Provide grouping of related contacts
</comment>
11 <labelField>title
</labelField>
13 <add>civicrm/group/add?reset=
1</add>
14 <view>civicrm/group/search?force=
1&context=smog
&gid=[id]
&component_mode=
1</view>
15 <update>civicrm/group?reset=
1&action=update
&id=[id]
</update>
16 <delete>civicrm/group?reset=
1&action=delete
&id=[id]
</delete>
20 <type>int unsigned
</type>
21 <title>Group ID
</title>
22 <required>true
</required>
23 <comment>Group ID
</comment>
31 <autoincrement>true
</autoincrement>
36 <title>Group Name
</title>
38 <comment>Internal name of Group.
</comment>
44 <title>Group Title
</title>
46 <localizable>true
</localizable>
47 <comment>Name of Group.
</comment>
54 <name>description
</name>
56 <title>Group Description
</title>
62 <comment>Optional verbose description of the group.
</comment>
68 <title>Group Source
</title>
70 <comment>Module or process which created this group.
</comment>
74 <name>saved_search_id
</name>
75 <type>int unsigned
</type>
76 <title>Saved Search ID
</title>
77 <comment>FK to saved search table.
</comment>
79 <label>Saved Search
</label>
84 <name>saved_search_id
</name>
85 <table>civicrm_saved_search
</table>
88 <onDelete>CASCADE
</onDelete>
91 <name>is_active
</name>
93 <title>Group Enabled
</title>
94 <comment>Is this entry active?
</comment>
98 <name>visibility
</name>
101 <title>Group Visibility Setting
</title>
102 <default>'User and User Admin Only'
</default>
103 <comment>In what context(s) is this field visible.
</comment>
105 <callback>CRM_Core_SelectValues::groupVisibility
</callback>
113 <name>where_clause
</name>
115 <title>Group Where Clause
</title>
116 <comment>the sql where clause if a saved search acl
</comment>
117 <readonly>true
</readonly>
121 <name>select_tables
</name>
123 <title>Tables For Select Clause
</title>
124 <comment>the tables to be included in a select data
</comment>
125 <readonly>true
</readonly>
126 <serialize>PHP
</serialize>
130 <name>where_tables
</name>
132 <title>Tables For Where Clause
</title>
133 <comment>the tables to be included in the count statement
</comment>
134 <readonly>true
</readonly>
135 <serialize>PHP
</serialize>
139 <name>group_type
</name>
141 <title>Group Type
</title>
143 <comment>FK to group type
</comment>
145 <optionGroupName>group_type
</optionGroupName>
147 <serialize>SEPARATOR_BOOKEND
</serialize>
151 <name>cache_date
</name>
152 <type>timestamp
</type>
153 <title>Group Cache Date
</title>
154 <required>false
</required>
155 <readonly>true
</readonly>
156 <comment>Date when we created the cache for a smart group
</comment>
160 <name>UI_cache_date
</name>
161 <fieldName>cache_date
</fieldName>
165 <name>refresh_date
</name>
166 <type>timestamp
</type>
167 <title>Next Group Refresh Time
</title>
168 <required>false
</required>
169 <readonly>true
</readonly>
170 <comment>Date and time when we need to refresh the cache next.
</comment>
176 <title>Group Parents
</title>
177 <comment>IDs of the parent(s)
</comment>
179 <serialize>COMMA
</serialize>
181 <callback>CRM_Core_PseudoConstant::allGroup
</callback>
185 <name>children
</name>
187 <title>Group Children
</title>
188 <comment>IDs of the child(ren)
</comment>
192 <name>is_hidden
</name>
194 <title>Group is Hidden
</title>
196 <comment>Is this group hidden?
</comment>
200 <name>is_reserved
</name>
202 <title>Group is Reserved
</title>
207 <name>index_group_type
</name>
208 <fieldName>group_type
</fieldName>
212 <name>UI_title
</name>
213 <fieldName>title
</fieldName>
214 <unique>true
</unique>
219 <fieldName>name
</fieldName>
220 <unique>true
</unique>
224 <name>created_id
</name>
225 <type>int unsigned
</type>
226 <title>Created By Contact ID
</title>
227 <comment>FK to contact table.
</comment>
229 <label>Created By
</label>
234 <name>created_id
</name>
235 <table>civicrm_contact
</table>
238 <onDelete>SET NULL
</onDelete>
241 <name>modified_id
</name>
242 <type>int unsigned
</type>
243 <title>Modified By Contact ID
</title>
244 <comment>FK to contact table.
</comment>
246 <label>Modified By
</label>
248 <readonly>true
</readonly>
252 <name>modified_id
</name>
253 <table>civicrm_contact
</table>
256 <onDelete>SET NULL
</onDelete>
259 <name>frontend_title
</name>
261 <title>Public Group Title
</title>
263 <localizable>true
</localizable>
264 <comment>Alternative public title for this Group.
</comment>
265 <default>NULL
</default>
272 <name>frontend_description
</name>
274 <title>Public Group Description
</title>
276 <type>TextArea
</type>
280 <comment>Alternative public description of the group.
</comment>
281 <localizable>true
</localizable>
282 <default>NULL
</default>