Merge pull request #4360 from christianwach/wordpress-hooks
[civicrm-core.git] / xml / schema / Mailing / MailingGroup.xml
index 0d4553681809e7a0de4b70496441dbcff6fd39bc..3bb7ec4fa6c53e75f4784b3a6b3188573db6bbfd 100644 (file)
@@ -7,63 +7,70 @@
   <comment>Stores information about the groups that participate in this mailing..</comment>
   <archive>true</archive>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
+    <name>id</name>
+    <title>Mailing Group ID</title>
+    <type>int unsigned</type>
+    <required>true</required>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>mailing_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>The ID of a previous mailing to include/exclude recipients.</comment>
+    <name>mailing_id</name>
+    <title>Mailing</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>The ID of a previous mailing to include/exclude recipients.</comment>
   </field>
   <foreignKey>
-       <name>mailing_id</name>
-       <table>civicrm_mailing</table>
-       <key>id</key>
-       <onDelete>CASCADE</onDelete>
+    <name>mailing_id</name>
+    <table>civicrm_mailing</table>
+    <key>id</key>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-       <name>group_type</name>
-       <type>varchar</type>
-       <length>8</length>
-       <comment>Are the members of the group included or excluded?.</comment>
-       <pseudoconstant>
-         <callback>CRM_Core_SelectValues::getMailingGroupTypes</callback>
-       </pseudoconstant>
-       <html>
-         <type>Select</type>
-       </html>
+    <name>group_type</name>
+    <title>Mailing Group Type</title>
+    <type>varchar</type>
+    <length>8</length>
+    <comment>Are the members of the group included or excluded?.</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_SelectValues::getMailingGroupTypes</callback>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
-       <name>entity_table</name>
-       <type>varchar</type>
-       <length>64</length>
-       <required>true</required>
-       <comment>Name of table where item being referenced is stored.</comment>
+    <name>entity_table</name>
+    <title>Mailing Group Entity Table</title>
+    <type>varchar</type>
+    <length>64</length>
+    <required>true</required>
+    <comment>Name of table where item being referenced is stored.</comment>
   </field>
   <field>
-       <name>entity_id</name>
-       <type>int unsigned</type>
-       <required>true</required>
-       <comment>Foreign key to the referenced item.</comment>
+    <name>entity_id</name>
+    <title>Mailing Group Entity</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Foreign key to the referenced item.</comment>
   </field>
   <dynamicForeignKey>
-       <idColumn>entity_id</idColumn>
-       <typeColumn>entity_table</typeColumn>
+    <idColumn>entity_id</idColumn>
+    <typeColumn>entity_table</typeColumn>
   </dynamicForeignKey>
   <field>
-        <name>search_id</name>
-        <type>int</type>
-        <comment>The filtering search. custom search id or -1 for civicrm api search</comment>
+    <name>search_id</name>
+    <title>Mailing Group Search</title>
+    <type>int</type>
+    <comment>The filtering search. custom search id or -1 for civicrm api search</comment>
   </field>
   <field>
-        <name>search_args</name>
-        <type>text</type>
-        <comment>The arguments to be sent to the search function</comment>
+    <name>search_args</name>
+    <title>Mailing Group Search Arguments</title>
+    <type>text</type>
+    <comment>The arguments to be sent to the search function</comment>
   </field>
 </table>