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>
102 <comment>Is this setting a contact specific or site wide setting?
</comment>
106 <name>component_id
</name>
107 <title>Component ID
</title>
108 <type>int unsigned
</type>
109 <comment>Component that this menu item belongs to
</comment>
112 <table>civicrm_component
</table>
113 <keyColumn>id
</keyColumn>
114 <labelColumn>name
</labelColumn>
118 <label>Component
</label>
122 <name>component_id
</name>
123 <table>civicrm_component
</table>
128 <name>created_date
</name>
129 <title>Setting Created Date
</title>
130 <type>datetime
</type>
131 <comment>When was the setting created
</comment>
135 <name>created_id
</name>
136 <title>Created By Contact ID
</title>
137 <type>int unsigned
</type>
138 <comment>FK to civicrm_contact, who created this setting
</comment>
140 <label>Created By
</label>
145 <name>created_id
</name>
146 <table>civicrm_contact
</table>
149 <onDelete>SET NULL
</onDelete>
152 <name>index_domain_contact_name
</name>
153 <fieldName>domain_id
</fieldName>
154 <fieldName>contact_id
</fieldName>
155 <fieldName>name
</fieldName>
156 <unique>true
</unique>