Add html tag to all files in xml/schema
[civicrm-core.git] / xml / schema / Mailing / MailingGroup.xml
CommitLineData
6a488035
TO
1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
4 <base>CRM/Mailing</base>
04124b30 5 <class>MailingGroup</class>
6a488035
TO
6 <name>civicrm_mailing_group</name>
7 <comment>Stores information about the groups that participate in this mailing..</comment>
8 <archive>true</archive>
d31fb4e3 9 <component>CiviMail</component>
6a488035 10 <field>
5435b737 11 <name>id</name>
0d94665e 12 <title>Mailing Group ID</title>
5435b737
EM
13 <type>int unsigned</type>
14 <required>true</required>
0481e12c
A
15 <html>
16 <type>Number</type>
17 </html>
6a488035
TO
18 </field>
19 <primaryKey>
5435b737
EM
20 <name>id</name>
21 <autoincrement>true</autoincrement>
6a488035
TO
22 </primaryKey>
23 <field>
5435b737 24 <name>mailing_id</name>
0d94665e 25 <title>Mailing</title>
5435b737
EM
26 <type>int unsigned</type>
27 <required>true</required>
28 <comment>The ID of a previous mailing to include/exclude recipients.</comment>
6a488035
TO
29 </field>
30 <foreignKey>
5435b737
EM
31 <name>mailing_id</name>
32 <table>civicrm_mailing</table>
33 <key>id</key>
34 <onDelete>CASCADE</onDelete>
6a488035
TO
35 </foreignKey>
36 <field>
5435b737 37 <name>group_type</name>
0d94665e 38 <title>Mailing Group Type</title>
5435b737
EM
39 <type>varchar</type>
40 <length>8</length>
41 <comment>Are the members of the group included or excluded?.</comment>
42 <pseudoconstant>
43 <callback>CRM_Core_SelectValues::getMailingGroupTypes</callback>
44 </pseudoconstant>
45 <html>
46 <type>Select</type>
47 </html>
6a488035
TO
48 </field>
49 <field>
5435b737 50 <name>entity_table</name>
0d94665e 51 <title>Mailing Group Entity Table</title>
5435b737
EM
52 <type>varchar</type>
53 <length>64</length>
54 <required>true</required>
55 <comment>Name of table where item being referenced is stored.</comment>
27307972
SL
56 <pseudoconstant>
57 <callback>CRM_Mailing_BAO_Mailing::mailingGroupEntityTables</callback>
58 </pseudoconstant>
6a488035
TO
59 </field>
60 <field>
5435b737 61 <name>entity_id</name>
0d94665e 62 <title>Mailing Group Entity</title>
5435b737
EM
63 <type>int unsigned</type>
64 <required>true</required>
65 <comment>Foreign key to the referenced item.</comment>
6a488035 66 </field>
71e5aa5c 67 <dynamicForeignKey>
5435b737
EM
68 <idColumn>entity_id</idColumn>
69 <typeColumn>entity_table</typeColumn>
71e5aa5c 70 </dynamicForeignKey>
6a488035 71 <field>
5435b737 72 <name>search_id</name>
0d94665e 73 <title>Mailing Group Search</title>
5435b737
EM
74 <type>int</type>
75 <comment>The filtering search. custom search id or -1 for civicrm api search</comment>
6a488035
TO
76 </field>
77 <field>
5435b737 78 <name>search_args</name>
0d94665e 79 <title>Mailing Group Search Arguments</title>
5435b737
EM
80 <type>text</type>
81 <comment>The arguments to be sent to the search function</comment>
6a488035
TO
82 </field>
83</table>