Merge pull request #3915 from eileenmcnaughton/CRM-15168
[civicrm-core.git] / xml / schema / Core / CustomGroup.xml
index 24b6aaa7cbf981e3255157b2e25957d3779b1bf2..f264952515b1787b2c6923ee0935d038886158a7 100644 (file)
   <base>CRM/Core</base>
   <class>CustomGroup</class>
   <name>civicrm_custom_group</name>
-  <comment>All extended (custom) properties are associated with a group. These are logical sets of related data.</comment>
+  <comment>All extended (custom) properties are associated with a group. These are logical sets of related data.
+  </comment>
   <add>1.1</add>
   <log>true</log>
-    <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Unique Custom Group ID</comment>
-      <add>1.1</add>
+  <field>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Unique Custom Group ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-     <name>name</name>
-     <type>varchar</type>
-     <length>64</length>
-     <comment>Variable name/programmatic handle for this group.</comment>
-     <add>1.1</add>
+    <name>name</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Variable name/programmatic handle for this group.</comment>
+    <add>1.1</add>
   </field>
   <field>
-     <name>title</name>
-     <type>varchar</type>
-     <length>64</length>
-     <required>true</required>
-     <localizable>true</localizable>
-     <comment>Friendly Name.</comment>
-     <add>1.1</add>
+    <name>title</name>
+    <type>varchar</type>
+    <length>64</length>
+    <required>true</required>
+    <localizable>true</localizable>
+    <comment>Friendly Name.</comment>
+    <add>1.1</add>
   </field>
   <field>
-     <name>extends</name>
-     <type>varchar</type>
-     <length>255</length>
-     <default>'Contact'</default>
-     <comment>Type of object this group extends (can add other options later e.g. contact_address, etc.).</comment>
-     <add>1.1</add>
+    <name>extends</name>
+    <type>varchar</type>
+    <length>255</length>
+    <default>'Contact'</default>
+    <comment>Type of object this group extends (can add other options later e.g. contact_address, etc.).</comment>
+    <add>1.1</add>
   </field>
   <field>
-     <name>extends_entity_column_name</name>
-     <type>varchar</type>
-     <length>64</length>
-     <comment>linking custom group for dynamic object</comment>
-     <add>1.6</add>
-     <drop>2.2</drop>
+    <name>extends_entity_column_name</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>linking custom group for dynamic object</comment>
+    <add>1.6</add>
+    <drop>2.2</drop>
   </field>
   <field>
-     <name>extends_entity_column_id</name>
-     <type>int unsigned</type>
-     <default>NULL</default>
-     <comment>FK to civicrm_option_value.id (for option group custom_data_type.)</comment>
-     <add>2.2</add>
+    <name>extends_entity_column_id</name>
+    <type>int unsigned</type>
+    <default>NULL</default>
+    <comment>FK to civicrm_option_value.id (for option group custom_data_type.)</comment>
+    <add>2.2</add>
   </field>
-   <field>
-     <name>extends_entity_column_value</name>
-     <type>varchar</type>
-     <length>255</length>
-     <comment>linking custom group for dynamic object</comment>
-     <add>1.6</add>
+  <field>
+    <name>extends_entity_column_value</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>linking custom group for dynamic object</comment>
+    <add>1.6</add>
+  </field>
+  <field>
+    <name>style</name>
+    <type>varchar</type>
+    <length>15</length>
+    <comment>Visual relationship between this form and its parent.</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_SelectValues::customGroupStyle</callback>
+    </pseudoconstant>
+    <add>1.1</add>
+    <html>
+      <type>Select</type>
+    </html>
+  </field>
+  <field>
+    <name>collapse_display</name>
+    <type>int unsigned</type>
+    <default>0</default>
+    <comment>Will this group be in collapsed or expanded mode on initial display ?</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>help_pre</name>
+    <type>text</type>
+    <localizable>true</localizable>
+    <comment>Description and/or help text to display before fields in form.</comment>
+    <html>
+      <type>TextArea</type>
+      <rows>4</rows>
+      <cols>80</cols>
+    </html>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>help_post</name>
+    <type>text</type>
+    <localizable>true</localizable>
+    <comment>Description and/or help text to display after fields in form.</comment>
+    <html>
+      <type>TextArea</type>
+      <rows>4</rows>
+      <cols>80</cols>
+    </html>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>weight</name>
+    <type>int</type>
+    <required>true</required>
+    <default>1</default>
+    <comment>Controls display order when multiple extended property groups are setup for the same class.</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>is_active</name>
+    <type>boolean</type>
+    <comment>Is this property active?</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>table_name</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Name of the table that holds the values for this group.</comment>
+    <add>2.0</add>
+  </field>
+  <field>
+    <name>is_multiple</name>
+    <type>boolean</type>
+    <comment>Does this group hold multiple values?</comment>
+    <add>2.0</add>
+  </field>
+  <field>
+    <name>min_multiple</name>
+    <type>int unsigned</type>
+    <comment>minimum number of multiple records (typically 0?)</comment>
+    <add>2.2</add>
   </field>
-
   <field>
-     <name>style</name>
-     <type>varchar</type>
-     <length>15</length>
-     <comment>Visual relationship between this form and its parent.</comment>
-     <pseudoconstant>
-       <callback>CRM_Core_SelectValues::customGroupStyle</callback>
-     </pseudoconstant>
-       <add>1.1</add>
-       <html>
-         <type>Select</type>
-       </html>
-  </field>
-  <field>
-     <name>collapse_display</name>
-     <type>int unsigned</type>
-     <default>0</default>
-     <comment>Will this group be in collapsed or expanded mode on initial display ?</comment>
-       <add>1.1</add>
-  </field>
-  <field>
-     <name>help_pre</name>
-     <type>text</type>
-     <localizable>true</localizable>
-     <comment>Description and/or help text to display before fields in form.</comment>
-     <html>
-       <type>TextArea</type>
-       <rows>4</rows>
-       <cols>80</cols>
-     </html>
-     <add>1.1</add>
-  </field>
-  <field>
-     <name>help_post</name>
-     <type>text</type>
-     <localizable>true</localizable>
-     <comment>Description and/or help text to display after fields in form.</comment>
-     <html>
-       <type>TextArea</type>
-       <rows>4</rows>
-       <cols>80</cols>
-     </html>
-     <add>1.1</add>
-  </field>
-  <field>
-      <name>weight</name>
-      <type>int</type>
-      <required>true</required>
-      <default>1</default>
-      <comment>Controls display order when multiple extended property groups are setup for the same class.</comment>
-       <add>1.1</add>
-  </field>
-  <field>
-       <name>is_active</name>
-       <type>boolean</type>
-       <comment>Is this property active?</comment>
-       <add>1.1</add>
-  </field>
-  <field>
-     <name>table_name</name>
-     <type>varchar</type>
-     <length>255</length>
-     <comment>Name of the table that holds the values for this group.</comment>
-     <add>2.0</add>
-  </field>
-  <field>
-       <name>is_multiple</name>
-       <type>boolean</type>
-       <comment>Does this group hold multiple values?</comment>
-       <add>2.0</add>
-  </field>
-  <field>
-       <name>min_multiple</name>
-       <type>int unsigned</type>
-       <comment>minimum number of multiple records (typically 0?)</comment>
-       <add>2.2</add>
-  </field>
-  <field>
-       <name>max_multiple</name>
-       <type>int unsigned</type>
-       <comment>maximum number of multiple records, if 0 - no max</comment>
-       <add>2.2</add>
-  </field>
-  <field>
-     <name>collapse_adv_display</name>
-     <type>int unsigned</type>
-     <default>0</default>
-     <comment>Will this group be in collapsed or expanded mode on advanced search display ?</comment>
-       <add>3.0</add>
+    <name>max_multiple</name>
+    <type>int unsigned</type>
+    <comment>maximum number of multiple records, if 0 - no max</comment>
+    <add>2.2</add>
+  </field>
+  <field>
+    <name>collapse_adv_display</name>
+    <type>int unsigned</type>
+    <default>0</default>
+    <comment>Will this group be in collapsed or expanded mode on advanced search display ?</comment>
+    <add>3.0</add>
   </field>
   <index>
     <name>UI_title_extends</name>