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>
10 <component>CiviContribute
</component>
13 <title>PCP Block ID
</title>
14 <type>int unsigned
</type>
15 <required>true
</required>
16 <comment>PCP block Id
</comment>
21 <autoincrement>true
</autoincrement>
24 <name>entity_table
</name>
25 <title>Entity Table
</title>
31 <name>entity_id
</name>
33 <type>int unsigned
</type>
34 <required>true
</required>
35 <comment>FK to civicrm_contribution_page.id OR civicrm_event.id
</comment>
39 <idColumn>entity_id
</idColumn>
40 <typeColumn>entity_table
</typeColumn>
44 <name>target_entity_type
</name>
45 <title>Target Entity
</title>
48 <required>true
</required>
49 <default>'contribute'
</default>
50 <comment>The type of entity that this pcp targets
</comment>
54 <name>target_entity_id
</name>
55 <title>Target Entity ID
</title>
56 <type>int unsigned
</type>
57 <required>true
</required>
58 <comment>The entity that this pcp targets
</comment>
62 <idColumn>target_entity_id
</idColumn>
63 <!-- FIXME: typename and not tablename? -->
64 <typeColumn>target_entity_type
</typeColumn>
68 <name>supporter_profile_id
</name>
69 <title>Supporter Profile
</title>
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>owner_notify_id
</name>
84 <title>Owner Notification
</title>
85 <type>int unsigned
</type>
87 <comment>FK to civicrm_option_group with name = PCP owner notifications
</comment>
90 <optionGroupName>pcp_owner_notify
</optionGroupName>
97 <name>is_approval_needed
</name>
98 <title>Approval Required?
</title>
100 <comment>Does Personal Campaign Page require manual activation by administrator? (is inactive by default after setup)?
</comment>
101 <default>NULL
</default>
105 <name>is_tellfriend_enabled
</name>
106 <title>Tell a Friend Enabled?
</title>
108 <comment>Does Personal Campaign Page allow using tell a friend?
</comment>
109 <default>NULL
</default>
113 <name>tellfriend_limit
</name>
114 <title>Tell A Friend Limit
</title>
115 <type>int unsigned
</type>
116 <default>NULL
</default>
117 <comment>Maximum recipient fields allowed in tell a friend
</comment>
121 <name>link_text
</name>
122 <title>Link Text
</title>
125 <default>NULL
</default>
126 <localizable>true
</localizable>
127 <comment>Link text for PCP.
</comment>
131 <name>is_active
</name>
132 <title>Enabled?
</title>
134 <comment>Is Personal Campaign Page Block enabled/active?
</comment>
139 <name>notify_email
</name>
140 <title>Notification Email
</title>
143 <comment>If set, notification is automatically emailed to this email-address on create/update Personal Campaign Page
</comment>
144 <default>NULL
</default>