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 <type>int unsigned
</type>
13 <required>true
</required>
14 <comment>PCP block Id
</comment>
19 <autoincrement>true
</autoincrement>
22 <name>entity_table
</name>
28 <name>entity_id
</name>
29 <type>int unsigned
</type>
30 <required>true
</required>
31 <comment>FK to civicrm_contribution_page.id OR civicrm_event.id
</comment>
35 <idColumn>entity_id
</idColumn>
36 <typeColumn>entity_table
</typeColumn>
40 <name>entity_id
</name>
41 <table>civicrm_contribution_page
</table>
47 <name>target_entity_type
</name>
50 <required>true
</required>
51 <default>'contribute'
</default>
52 <comment>The type of entity that this pcp targets
</comment>
56 <name>target_entity_id
</name>
57 <type>int unsigned
</type>
58 <required>true
</required>
59 <comment>The entity that this pcp targets
</comment>
63 <idColumn>target_entity_id
</idColumn>
64 <!-- FIXME: typename and not tablename? -->
65 <typeColumn>target_entity_type
</typeColumn>
69 <name>supporter_profile_id
</name>
70 <type>int unsigned
</type>
71 <comment>FK to civicrm_uf_group.id. Does Personal Campaign Page require manual activation by administrator? (is inactive by default after setup)?
</comment>
72 <default>NULL
</default>
76 <name>supporter_profile_id
</name>
77 <table>civicrm_uf_group
</table>
80 <onDelete>SET NULL
</onDelete>
83 <name>is_approval_needed
</name>
85 <comment>Does Personal Campaign Page require manual activation by administrator? (is inactive by default after setup)?
</comment>
86 <default>NULL
</default>
90 <name>is_tellfriend_enabled
</name>
92 <comment>Does Personal Campaign Page allow using tell a friend?
</comment>
93 <default>NULL
</default>
97 <name>tellfriend_limit
</name>
98 <type>int unsigned
</type>
99 <default>NULL
</default>
100 <comment>Maximum recipient fields allowed in tell a friend
</comment>
104 <name>link_text
</name>
107 <default>NULL
</default>
108 <localizable>true
</localizable>
109 <comment>Link text for PCP.
</comment>
113 <name>is_active
</name>
115 <comment>Is Personal Campaign Page Block enabled/active?
</comment>
120 <name>notify_email
</name>
123 <comment>If set, notification is automatically emailed to this email-address on create/update Personal Campaign Page
</comment>
124 <default>NULL
</default>