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>
24 <autoincrement>true
</autoincrement>
27 <name>entity_table
</name>
28 <title>Entity Table
</title>
34 <name>entity_id
</name>
36 <type>int unsigned
</type>
37 <required>true
</required>
38 <comment>FK to civicrm_contribution_page.id OR civicrm_event.id
</comment>
42 <idColumn>entity_id
</idColumn>
43 <typeColumn>entity_table
</typeColumn>
47 <name>target_entity_type
</name>
48 <title>Target Entity
</title>
51 <required>true
</required>
52 <default>'contribute'
</default>
53 <comment>The type of entity that this pcp targets
</comment>
57 <name>target_entity_id
</name>
58 <title>Target Entity ID
</title>
59 <type>int unsigned
</type>
60 <required>true
</required>
61 <comment>The entity that this pcp targets
</comment>
65 <idColumn>target_entity_id
</idColumn>
66 <!-- FIXME: typename and not tablename? -->
67 <typeColumn>target_entity_type
</typeColumn>
71 <name>supporter_profile_id
</name>
72 <title>Supporter Profile ID
</title>
73 <type>int unsigned
</type>
74 <comment>FK to civicrm_uf_group.id. Does Personal Campaign Page require manual activation by administrator? (is inactive by default after setup)?
</comment>
75 <default>NULL
</default>
77 <label>Supporter Profile
</label>
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>