1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
3 <base>CRM/Campaign
</base>
4 <class>CampaignGroup
</class>
5 <name>civicrm_campaign_group
</name>
6 <comment>Campaign Group Details.
</comment>
8 <component>CiviCampaign
</component>
11 <title>Campaign Group ID
</title>
12 <type>int unsigned
</type>
13 <required>true
</required>
14 <comment>Campaign Group id.
</comment>
22 <autoincrement>true
</autoincrement>
26 <name>campaign_id
</name>
27 <title>Campaign ID
</title>
28 <type>int unsigned
</type>
29 <required>true
</required>
30 <comment>Foreign key to the activity Campaign.
</comment>
32 <type>EntityRef
</type>
33 <label>Campaign
</label>
38 <name>campaign_id
</name>
39 <table>civicrm_campaign
</table>
42 <onDelete>CASCADE
</onDelete>
46 <name>group_type
</name>
47 <title>Campaign Group Type
</title>
50 <default>NULL
</default>
51 <comment>Type of Group.
</comment>
53 <callback>CRM_Core_SelectValues::getCampaignGroupTypes
</callback>
61 <name>entity_table
</name>
62 <title>Entity Table
</title>
65 <default>NULL
</default>
66 <comment>Name of table where item being referenced is stored.
</comment>
71 <name>entity_id
</name>
72 <title>Entity ID
</title>
73 <type>int unsigned
</type>
74 <default>NULL
</default>
75 <comment>Entity id of referenced table.
</comment>
80 <idColumn>entity_id
</idColumn>
81 <typeColumn>entity_table
</typeColumn>