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>
31 <title>Setting Name
</title>
34 <comment>Unique name for setting
</comment>
38 <name>index_group_name
</name>
39 <fieldName>group_name
</fieldName>
40 <fieldName>name
</fieldName>
46 <comment>data associated with this group / name combo
</comment>
50 <name>domain_id
</name>
51 <title>Setting Domain
</title>
52 <type>int unsigned
</type>
53 <required>true
</required>
55 <table>civicrm_domain
</table>
56 <keyColumn>id
</keyColumn>
57 <labelColumn>name
</labelColumn>
59 <comment>Which Domain is this menu item for
</comment>
63 <name>domain_id
</name>
64 <table>civicrm_domain
</table>
66 <onDelete>CASCADE
</onDelete>
70 <name>contact_id
</name>
71 <title>Setting Contact
</title>
72 <type>int unsigned
</type>
73 <comment>FK to Contact ID if the setting is localized to a contact
</comment>
77 <name>contact_id
</name>
78 <table>civicrm_contact
</table>
80 <onDelete>CASCADE
</onDelete>
84 <name>is_domain
</name>
85 <title>Is Domain Setting?
</title>
87 <comment>Is this setting a contact specific or site wide setting?
</comment>
91 <name>component_id
</name>
92 <title>Setting Component
</title>
93 <type>int unsigned
</type>
94 <comment>Component that this menu item belongs to
</comment>
97 <table>civicrm_component
</table>
98 <keyColumn>id
</keyColumn>
99 <labelColumn>name
</labelColumn>
106 <name>component_id
</name>
107 <table>civicrm_component
</table>
112 <name>created_date
</name>
113 <title>Setting Created Date
</title>
114 <type>datetime
</type>
115 <comment>When was the setting created
</comment>
119 <name>created_id
</name>
120 <title>Setting Created By
</title>
121 <type>int unsigned
</type>
122 <comment>FK to civicrm_contact, who created this setting
</comment>
126 <name>created_id
</name>
127 <table>civicrm_contact
</table>
130 <onDelete>SET NULL
</onDelete>