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>
21 <autoincrement>true
</autoincrement>
24 <name>group_name
</name>
25 <title>Setting Group
</title>
28 <required>true
</required>
29 <comment>group name for setting element, useful in caching setting elements
</comment>
35 <title>Setting Name
</title>
38 <comment>Unique name for setting
</comment>
42 <name>index_group_name
</name>
43 <fieldName>group_name
</fieldName>
44 <fieldName>name
</fieldName>
51 <comment>data associated with this group / name combo
</comment>
52 <serialize>PHP
</serialize>
59 <name>domain_id
</name>
60 <title>Domain ID
</title>
61 <type>int unsigned
</type>
62 <required>true
</required>
64 <table>civicrm_domain
</table>
65 <keyColumn>id
</keyColumn>
66 <labelColumn>name
</labelColumn>
68 <comment>Which Domain is this menu item for
</comment>
75 <name>domain_id
</name>
76 <table>civicrm_domain
</table>
78 <onDelete>CASCADE
</onDelete>
82 <name>contact_id
</name>
83 <title>Contact ID
</title>
84 <type>int unsigned
</type>
85 <comment>FK to Contact ID if the setting is localized to a contact
</comment>
87 <label>Contact
</label>
92 <name>contact_id
</name>
93 <table>civicrm_contact
</table>
95 <onDelete>CASCADE
</onDelete>
99 <name>is_domain
</name>
100 <title>Is Domain Setting?
</title>
103 <required>true
</required>
104 <comment>Is this setting a contact specific or site wide setting?
</comment>
108 <name>component_id
</name>
109 <title>Component ID
</title>
110 <type>int unsigned
</type>
111 <comment>Component that this menu item belongs to
</comment>
114 <table>civicrm_component
</table>
115 <keyColumn>id
</keyColumn>
116 <labelColumn>name
</labelColumn>
120 <label>Component
</label>
124 <name>component_id
</name>
125 <table>civicrm_component
</table>
130 <name>created_date
</name>
131 <title>Setting Created Date
</title>
132 <type>datetime
</type>
133 <comment>When was the setting created
</comment>
137 <name>created_id
</name>
138 <title>Created By Contact ID
</title>
139 <type>int unsigned
</type>
140 <comment>FK to civicrm_contact, who created this setting
</comment>
142 <label>Created By
</label>
147 <name>created_id
</name>
148 <table>civicrm_contact
</table>
151 <onDelete>SET NULL
</onDelete>
154 <name>index_domain_contact_name
</name>
155 <fieldName>domain_id
</fieldName>
156 <fieldName>contact_id
</fieldName>
157 <fieldName>name
</fieldName>
158 <unique>true
</unique>