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>
56 <name>domain_id
</name>
57 <title>Domain ID
</title>
58 <type>int unsigned
</type>
59 <required>true
</required>
61 <table>civicrm_domain
</table>
62 <keyColumn>id
</keyColumn>
63 <labelColumn>name
</labelColumn>
65 <comment>Which Domain is this menu item for
</comment>
72 <name>domain_id
</name>
73 <table>civicrm_domain
</table>
75 <onDelete>CASCADE
</onDelete>
79 <name>contact_id
</name>
80 <title>Contact ID
</title>
81 <type>int unsigned
</type>
82 <comment>FK to Contact ID if the setting is localized to a contact
</comment>
84 <label>Contact
</label>
89 <name>contact_id
</name>
90 <table>civicrm_contact
</table>
92 <onDelete>CASCADE
</onDelete>
96 <name>is_domain
</name>
97 <title>Is Domain Setting?
</title>
99 <comment>Is this setting a contact specific or site wide setting?
</comment>
103 <name>component_id
</name>
104 <title>Component ID
</title>
105 <type>int unsigned
</type>
106 <comment>Component that this menu item belongs to
</comment>
109 <table>civicrm_component
</table>
110 <keyColumn>id
</keyColumn>
111 <labelColumn>name
</labelColumn>
115 <label>Component
</label>
119 <name>component_id
</name>
120 <table>civicrm_component
</table>
125 <name>created_date
</name>
126 <title>Setting Created Date
</title>
127 <type>datetime
</type>
128 <comment>When was the setting created
</comment>
132 <name>created_id
</name>
133 <title>Created By Contact ID
</title>
134 <type>int unsigned
</type>
135 <comment>FK to civicrm_contact, who created this setting
</comment>
137 <label>Created By
</label>
142 <name>created_id
</name>
143 <table>civicrm_contact
</table>
146 <onDelete>SET NULL
</onDelete>
149 <name>index_domain_contact_name
</name>
150 <fieldName>domain_id
</fieldName>
151 <fieldName>contact_id
</fieldName>
152 <fieldName>name
</fieldName>
153 <unique>true
</unique>