1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
6 <name>civicrm_setting
</name>
7 <comment>Table to store civicrm settings for civicrm core and components.
</comment>
11 <title>Setting ID
</title>
12 <type>int unsigned
</type>
13 <required>true
</required>
18 <autoincrement>true
</autoincrement>
21 <name>group_name
</name>
22 <title>Setting Group
</title>
25 <required>true
</required>
26 <comment>group name for setting element, useful in caching setting elements
</comment>
32 <title>Setting Name
</title>
35 <comment>Unique name for setting
</comment>
39 <name>index_group_name
</name>
40 <fieldName>group_name
</fieldName>
41 <fieldName>name
</fieldName>
48 <comment>data associated with this group / name combo
</comment>
49 <serialize>PHP
</serialize>
53 <name>domain_id
</name>
54 <title>Setting Domain
</title>
55 <type>int unsigned
</type>
56 <required>true
</required>
58 <table>civicrm_domain
</table>
59 <keyColumn>id
</keyColumn>
60 <labelColumn>name
</labelColumn>
62 <comment>Which Domain is this menu item for
</comment>
66 <name>domain_id
</name>
67 <table>civicrm_domain
</table>
69 <onDelete>CASCADE
</onDelete>
73 <name>contact_id
</name>
74 <title>Setting Contact
</title>
75 <type>int unsigned
</type>
76 <comment>FK to Contact ID if the setting is localized to a contact
</comment>
80 <name>contact_id
</name>
81 <table>civicrm_contact
</table>
83 <onDelete>CASCADE
</onDelete>
87 <name>is_domain
</name>
88 <title>Is Domain Setting?
</title>
90 <comment>Is this setting a contact specific or site wide setting?
</comment>
94 <name>component_id
</name>
95 <title>Setting Component
</title>
96 <type>int unsigned
</type>
97 <comment>Component that this menu item belongs to
</comment>
100 <table>civicrm_component
</table>
101 <keyColumn>id
</keyColumn>
102 <labelColumn>name
</labelColumn>
109 <name>component_id
</name>
110 <table>civicrm_component
</table>
115 <name>created_date
</name>
116 <title>Setting Created Date
</title>
117 <type>datetime
</type>
118 <comment>When was the setting created
</comment>
122 <name>created_id
</name>
123 <title>Setting Created By
</title>
124 <type>int unsigned
</type>
125 <comment>FK to civicrm_contact, who created this setting
</comment>
129 <name>created_id
</name>
130 <table>civicrm_contact
</table>
133 <onDelete>SET NULL
</onDelete>
136 <name>index_domain_contact_name
</name>
137 <fieldName>domain_id
</fieldName>
138 <fieldName>contact_id
</fieldName>
139 <fieldName>name
</fieldName>
140 <unique>true
</unique>