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> | |
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> |
57e94608 | 25 | <title>Mailing ID</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> | |
57e94608 A |
29 | <html> |
30 | <label>Mailing</label> | |
31 | </html> | |
6a488035 TO |
32 | </field> |
33 | <foreignKey> | |
5435b737 EM |
34 | <name>mailing_id</name> |
35 | <table>civicrm_mailing</table> | |
36 | <key>id</key> | |
37 | <onDelete>CASCADE</onDelete> | |
6a488035 TO |
38 | </foreignKey> |
39 | <field> | |
5435b737 | 40 | <name>group_type</name> |
0d94665e | 41 | <title>Mailing Group Type</title> |
5435b737 EM |
42 | <type>varchar</type> |
43 | <length>8</length> | |
44 | <comment>Are the members of the group included or excluded?.</comment> | |
45 | <pseudoconstant> | |
46 | <callback>CRM_Core_SelectValues::getMailingGroupTypes</callback> | |
47 | </pseudoconstant> | |
48 | <html> | |
49 | <type>Select</type> | |
50 | </html> | |
6a488035 TO |
51 | </field> |
52 | <field> | |
5435b737 | 53 | <name>entity_table</name> |
0d94665e | 54 | <title>Mailing Group Entity Table</title> |
5435b737 EM |
55 | <type>varchar</type> |
56 | <length>64</length> | |
57 | <required>true</required> | |
58 | <comment>Name of table where item being referenced is stored.</comment> | |
27307972 SL |
59 | <pseudoconstant> |
60 | <callback>CRM_Mailing_BAO_Mailing::mailingGroupEntityTables</callback> | |
61 | </pseudoconstant> | |
6a488035 TO |
62 | </field> |
63 | <field> | |
5435b737 | 64 | <name>entity_id</name> |
0d94665e | 65 | <title>Mailing Group Entity</title> |
5435b737 EM |
66 | <type>int unsigned</type> |
67 | <required>true</required> | |
68 | <comment>Foreign key to the referenced item.</comment> | |
6a488035 | 69 | </field> |
71e5aa5c | 70 | <dynamicForeignKey> |
5435b737 EM |
71 | <idColumn>entity_id</idColumn> |
72 | <typeColumn>entity_table</typeColumn> | |
71e5aa5c | 73 | </dynamicForeignKey> |
6a488035 | 74 | <field> |
5435b737 | 75 | <name>search_id</name> |
0d94665e | 76 | <title>Mailing Group Search</title> |
5435b737 EM |
77 | <type>int</type> |
78 | <comment>The filtering search. custom search id or -1 for civicrm api search</comment> | |
6a488035 TO |
79 | </field> |
80 | <field> | |
5435b737 | 81 | <name>search_args</name> |
0d94665e | 82 | <title>Mailing Group Search Arguments</title> |
5435b737 EM |
83 | <type>text</type> |
84 | <comment>The arguments to be sent to the search function</comment> | |
6a488035 TO |
85 | </field> |
86 | </table> |