Merge pull request #3915 from eileenmcnaughton/CRM-15168
[civicrm-core.git] / xml / schema / Core / Setting.xml
index 0d22f70a25b6f265f344c2f83a354fb6df904b05..08f2978b9c82857cca89c4f4415c45d77253354b 100644 (file)
@@ -8,6 +8,7 @@
   <add>4.1</add>
   <field>
       <name>id</name>
+    <title>Setting ID</title>
       <type>int unsigned</type>
       <required>true</required>
       <add>4.1</add>
@@ -18,6 +19,7 @@
   </primaryKey>
   <field>
        <name>group_name</name>
+    <title>Setting Group</title>
        <type>varchar</type>
        <length>64</length>
        <required>true</required>
@@ -26,6 +28,7 @@
   </field>
   <field>
        <name>name</name>
+    <title>Setting Name</title>
        <type>varchar</type>
        <length>255</length>
        <comment>Unique name for setting</comment>
   </field>
   <field>
       <name>domain_id</name>
+    <title>Setting Domain</title>
       <type>int unsigned</type>
       <required>true</required>
+      <pseudoconstant>
+          <table>civicrm_domain</table>
+          <keyColumn>id</keyColumn>
+          <labelColumn>name</labelColumn>
+      </pseudoconstant>
       <comment>Which Domain is this menu item for</comment>
       <add>4.1</add>
   </field>
@@ -59,6 +68,7 @@
   </foreignKey>
   <field>
       <name>contact_id</name>
+    <title>Setting Contact</title>
       <type>int unsigned</type>
       <comment>FK to Contact ID if the setting is localized to a contact</comment>
       <add>4.1</add>
   </foreignKey>
   <field>
        <name>is_domain</name>
+    <title>Is Domain Setting?</title>
        <type>boolean</type>
        <comment>Is this setting a contact specific or site wide setting?</comment>
        <add>4.1</add>
   </field>
   <field>
     <name>component_id</name>
+    <title>Setting Component</title>
     <type>int unsigned</type>
     <comment>Component that this menu item belongs to</comment>
     <add>4.1</add>
@@ -86,6 +98,9 @@
       <keyColumn>id</keyColumn>
       <labelColumn>name</labelColumn>
     </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <foreignKey>
        <name>component_id</name>
   </foreignKey>
   <field>
     <name>created_date</name>
+    <title>Setting Created Date</title>
     <type>datetime</type>
     <comment>When was the setting created</comment>
     <add>4.1</add>
   </field>
   <field>
     <name>created_id</name>
+    <title>Setting Created By</title>
     <type>int unsigned</type>
     <comment>FK to civicrm_contact, who created this setting</comment>
     <add>4.1</add>