Commit | Line | Data |
---|---|---|
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> | |
9 | <field> | |
5435b737 | 10 | <name>id</name> |
0d94665e | 11 | <title>Mailing Group ID</title> |
5435b737 EM |
12 | <type>int unsigned</type> |
13 | <required>true</required> | |
6a488035 TO |
14 | </field> |
15 | <primaryKey> | |
5435b737 EM |
16 | <name>id</name> |
17 | <autoincrement>true</autoincrement> | |
6a488035 TO |
18 | </primaryKey> |
19 | <field> | |
5435b737 | 20 | <name>mailing_id</name> |
0d94665e | 21 | <title>Mailing</title> |
5435b737 EM |
22 | <type>int unsigned</type> |
23 | <required>true</required> | |
24 | <comment>The ID of a previous mailing to include/exclude recipients.</comment> | |
6a488035 TO |
25 | </field> |
26 | <foreignKey> | |
5435b737 EM |
27 | <name>mailing_id</name> |
28 | <table>civicrm_mailing</table> | |
29 | <key>id</key> | |
30 | <onDelete>CASCADE</onDelete> | |
6a488035 TO |
31 | </foreignKey> |
32 | <field> | |
5435b737 | 33 | <name>group_type</name> |
0d94665e | 34 | <title>Mailing Group Type</title> |
5435b737 EM |
35 | <type>varchar</type> |
36 | <length>8</length> | |
37 | <comment>Are the members of the group included or excluded?.</comment> | |
38 | <pseudoconstant> | |
39 | <callback>CRM_Core_SelectValues::getMailingGroupTypes</callback> | |
40 | </pseudoconstant> | |
41 | <html> | |
42 | <type>Select</type> | |
43 | </html> | |
6a488035 TO |
44 | </field> |
45 | <field> | |
5435b737 | 46 | <name>entity_table</name> |
0d94665e | 47 | <title>Mailing Group Entity Table</title> |
5435b737 EM |
48 | <type>varchar</type> |
49 | <length>64</length> | |
50 | <required>true</required> | |
51 | <comment>Name of table where item being referenced is stored.</comment> | |
27307972 SL |
52 | <pseudoconstant> |
53 | <callback>CRM_Mailing_BAO_Mailing::mailingGroupEntityTables</callback> | |
54 | </pseudoconstant> | |
6a488035 TO |
55 | </field> |
56 | <field> | |
5435b737 | 57 | <name>entity_id</name> |
0d94665e | 58 | <title>Mailing Group Entity</title> |
5435b737 EM |
59 | <type>int unsigned</type> |
60 | <required>true</required> | |
61 | <comment>Foreign key to the referenced item.</comment> | |
6a488035 | 62 | </field> |
71e5aa5c | 63 | <dynamicForeignKey> |
5435b737 EM |
64 | <idColumn>entity_id</idColumn> |
65 | <typeColumn>entity_table</typeColumn> | |
71e5aa5c | 66 | </dynamicForeignKey> |
6a488035 | 67 | <field> |
5435b737 | 68 | <name>search_id</name> |
0d94665e | 69 | <title>Mailing Group Search</title> |
5435b737 EM |
70 | <type>int</type> |
71 | <comment>The filtering search. custom search id or -1 for civicrm api search</comment> | |
6a488035 TO |
72 | </field> |
73 | <field> | |
5435b737 | 74 | <name>search_args</name> |
0d94665e | 75 | <title>Mailing Group Search Arguments</title> |
5435b737 EM |
76 | <type>text</type> |
77 | <comment>The arguments to be sent to the search function</comment> | |
6a488035 TO |
78 | </field> |
79 | </table> |