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>entity_id
</name>
44 <table>civicrm_contribution_page
</table>
50 <name>target_entity_type
</name>
51 <title>Target Entity
</title>
54 <required>true
</required>
55 <default>'contribute'
</default>
56 <comment>The type of entity that this pcp targets
</comment>
60 <name>target_entity_id
</name>
61 <title>Target Entity ID
</title>
62 <type>int unsigned
</type>
63 <required>true
</required>
64 <comment>The entity that this pcp targets
</comment>
68 <idColumn>target_entity_id
</idColumn>
69 <!-- FIXME: typename and not tablename? -->
70 <typeColumn>target_entity_type
</typeColumn>
74 <name>supporter_profile_id
</name>
75 <title>Supporter Profile
</title>
76 <type>int unsigned
</type>
77 <comment>FK to civicrm_uf_group.id. Does Personal Campaign Page require manual activation by administrator? (is inactive by default after setup)?
</comment>
78 <default>NULL
</default>
82 <name>supporter_profile_id
</name>
83 <table>civicrm_uf_group
</table>
86 <onDelete>SET NULL
</onDelete>
89 <name>owner_notify_id
</name>
90 <title>Owner Notification
</title>
91 <type>int unsigned
</type>
93 <comment>FK to civicrm_option_group with name = PCP owner notifications
</comment>
96 <optionGroupName>pcp_owner_notify
</optionGroupName>
103 <name>is_approval_needed
</name>
104 <title>Approval Required?
</title>
106 <comment>Does Personal Campaign Page require manual activation by administrator? (is inactive by default after setup)?
</comment>
107 <default>NULL
</default>
111 <name>is_tellfriend_enabled
</name>
112 <title>Tell a Friend Enabled?
</title>
114 <comment>Does Personal Campaign Page allow using tell a friend?
</comment>
115 <default>NULL
</default>
119 <name>tellfriend_limit
</name>
120 <title>Tell A Friend Limit
</title>
121 <type>int unsigned
</type>
122 <default>NULL
</default>
123 <comment>Maximum recipient fields allowed in tell a friend
</comment>
127 <name>link_text
</name>
128 <title>Link Text
</title>
131 <default>NULL
</default>
132 <localizable>true
</localizable>
133 <comment>Link text for PCP.
</comment>
137 <name>is_active
</name>
138 <title>Enabled?
</title>
140 <comment>Is Personal Campaign Page Block enabled/active?
</comment>
145 <name>notify_email
</name>
146 <title>Notification Email
</title>
149 <comment>If set, notification is automatically emailed to this email-address on create/update Personal Campaign Page
</comment>
150 <default>NULL
</default>