Ian province abbreviation patch - issue 724
[civicrm-core.git] / xml / schema / Core / CustomGroup.xml
index 91ac025f22f6aee1e2a2d4961eb252a2a618f769..afaf5ffb0f4ade01ace9810761b2da2c46f76ee2 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>
+    <title>Custom Group ID</title>
+    <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>
-  </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>
-  </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>
-  </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>
-  </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>
-  </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>
-  <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>
+    <name>name</name>
+    <type>varchar</type>
+    <title>Custom Group Name</title>
+    <length>64</length>
+    <comment>Variable name/programmatic handle for this group.</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>title</name>
+    <type>varchar</type>
+    <title>Custom Group Title</title>
+    <length>64</length>
+    <required>true</required>
+    <localizable>true</localizable>
+    <comment>Friendly Name.</comment>
+    <add>1.1</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>
+    <name>extends</name>
+    <type>varchar</type>
+    <title>Custom Group Extends</title>
+    <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>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>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>
+    <title>Custom Group Subtype List</title>
+    <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>
+    <title>Custom Group Subtype</title>
+    <length>255</length>
+    <comment>linking custom group for dynamic object</comment>
+    <add>1.6</add>
+  </field>
+  <field>
+    <name>style</name>
+    <type>varchar</type>
+    <title>Custom Group Style</title>
+    <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>
+    <title>Collapse Custom Group?</title>
+    <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>
+    <title>Custom Group Pre Text</title>
+    <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>
+    <title>Custom Group Post Text</title>
+    <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>
+    <title>Order</title>
+    <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>
+    <title>Custom Group Is Active?</title>
+    <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>
+    <title>Supports Multiple Records</title>
+    <comment>Does this group hold multiple values?</comment>
+    <add>2.0</add>
+  </field>
+  <field>
+    <name>min_multiple</name>
+    <type>int unsigned</type>
+    <title>Minimum Multiple Records</title>
+    <comment>minimum number of multiple records (typically 0?)</comment>
+    <add>2.2</add>
+  </field>
+  <field>
+    <name>max_multiple</name>
+    <type>int unsigned</type>
+    <title>Maximum Multiple Records</title>
+    <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>
+    <title>Collapse Group Display</title>
+    <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>
   <field>
     <name>created_id</name>
     <type>int unsigned</type>
+    <title>Custom Group Created By</title>
     <comment>FK to civicrm_contact, who created this custom group</comment>
     <add>3.0</add>
   </field>
   <field>
     <name>is_reserved</name>
     <type>boolean</type>
+    <title>Reserved Group?</title>
     <default>0</default>
     <comment>Is this a reserved Custom Group?</comment>
     <add>4.4</add>
   </field>
 </table>
-
-