1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
5 <class>PCPBlock
</class>
6 <name>civicrm_pcp_block
</name>
7 <comment>A Personal Campaign Page Block stores admin configurable status options and rules
</comment>
12 <title>PCP Block ID
</title>
13 <type>int unsigned
</type>
14 <required>true
</required>
15 <comment>PCP block Id
</comment>
20 <autoincrement>true
</autoincrement>
23 <name>entity_table
</name>
24 <title>Entity Table
</title>
30 <name>entity_id
</name>
32 <type>int unsigned
</type>
33 <required>true
</required>
34 <comment>FK to civicrm_contribution_page.id OR civicrm_event.id
</comment>
38 <idColumn>entity_id
</idColumn>
39 <typeColumn>entity_table
</typeColumn>
43 <name>target_entity_type
</name>
44 <title>Target Entity
</title>
47 <required>true
</required>
48 <default>'contribute'
</default>
49 <comment>The type of entity that this pcp targets
</comment>
53 <name>target_entity_id
</name>
54 <title>Target Entity ID
</title>
55 <type>int unsigned
</type>
56 <required>true
</required>
57 <comment>The entity that this pcp targets
</comment>
61 <idColumn>target_entity_id
</idColumn>
62 <!-- FIXME: typename and not tablename? -->
63 <typeColumn>target_entity_type
</typeColumn>
67 <name>supporter_profile_id
</name>
68 <title>Supporter Profile
</title>
69 <type>int unsigned
</type>
70 <comment>FK to civicrm_uf_group.id. Does Personal Campaign Page require manual activation by administrator? (is inactive by default after setup)?
</comment>
71 <default>NULL
</default>
75 <name>supporter_profile_id
</name>
76 <table>civicrm_uf_group
</table>
79 <onDelete>SET NULL
</onDelete>
82 <name>owner_notify_id
</name>
83 <title>Owner Notification
</title>
84 <type>int unsigned
</type>
86 <comment>FK to civicrm_option_group with name = PCP owner notifications
</comment>
89 <optionGroupName>pcp_owner_notify
</optionGroupName>
96 <name>is_approval_needed
</name>
97 <title>Approval Required?
</title>
99 <comment>Does Personal Campaign Page require manual activation by administrator? (is inactive by default after setup)?
</comment>
100 <default>NULL
</default>
104 <name>is_tellfriend_enabled
</name>
105 <title>Tell a Friend Enabled?
</title>
107 <comment>Does Personal Campaign Page allow using tell a friend?
</comment>
108 <default>NULL
</default>
112 <name>tellfriend_limit
</name>
113 <title>Tell A Friend Limit
</title>
114 <type>int unsigned
</type>
115 <default>NULL
</default>
116 <comment>Maximum recipient fields allowed in tell a friend
</comment>
120 <name>link_text
</name>
121 <title>Link Text
</title>
124 <default>NULL
</default>
125 <localizable>true
</localizable>
126 <comment>Link text for PCP.
</comment>
130 <name>is_active
</name>
131 <title>Enabled?
</title>
133 <comment>Is Personal Campaign Page Block enabled/active?
</comment>
138 <name>notify_email
</name>
139 <title>Notification Email
</title>
142 <comment>If set, notification is automatically emailed to this email-address on create/update Personal Campaign Page
</comment>
143 <default>NULL
</default>