Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Member</base> | |
5 | <class>MembershipBlock</class> | |
6 | <name>civicrm_membership_block</name> | |
7 | <comment>A Membership Block stores admin configurable status options and rules</comment> | |
8 | <add>1.5</add> | |
9 | <log>true</log> | |
d31fb4e3 | 10 | <component>CiviMember</component> |
6a488035 | 11 | <field> |
5435b737 | 12 | <name>id</name> |
0d94665e | 13 | <title>Membership Block ID</title> |
5435b737 EM |
14 | <type>int unsigned</type> |
15 | <required>true</required> | |
047c5009 | 16 | <comment>Membership ID</comment> |
5435b737 | 17 | <add>1.5</add> |
0481e12c A |
18 | <html> |
19 | <type>Number</type> | |
20 | </html> | |
6a488035 TO |
21 | </field> |
22 | <primaryKey> | |
5435b737 EM |
23 | <name>id</name> |
24 | <autoincrement>true</autoincrement> | |
6a488035 TO |
25 | </primaryKey> |
26 | <field> | |
5435b737 | 27 | <name>entity_table</name> |
0d94665e | 28 | <title>Membership Block Entity Table</title> |
5435b737 EM |
29 | <type>varchar</type> |
30 | <length>64</length> | |
31 | <comment>Name for Membership Status</comment> | |
32 | <add>1.5</add> | |
6a488035 TO |
33 | </field> |
34 | <field> | |
5435b737 | 35 | <name>entity_id</name> |
047c5009 | 36 | <title>Entity ID</title> |
5435b737 EM |
37 | <type>int unsigned</type> |
38 | <required>true</required> | |
39 | <comment>FK to civicrm_contribution_page.id</comment> | |
57e94608 | 40 | <html> |
047c5009 | 41 | <label>Entity</label> |
57e94608 | 42 | </html> |
5435b737 | 43 | <add>1.5</add> |
6a488035 | 44 | </field> |
3c7d2158 | 45 | <foreignKey> |
5435b737 EM |
46 | <name>entity_id</name> |
47 | <table>civicrm_contribution_page</table> | |
48 | <key>id</key> | |
49 | <add>1.5</add> | |
6a488035 TO |
50 | </foreignKey> |
51 | <field> | |
5435b737 | 52 | <name>membership_types</name> |
0d94665e | 53 | <title>Membership Block Membership Types</title> |
5435b737 | 54 | <type>varchar</type> |
baf5e798 | 55 | <length>1024</length> |
5435b737 | 56 | <comment>Membership types to be exposed by this block</comment> |
2a5c9b4d | 57 | <serialize>PHP</serialize> |
5435b737 | 58 | <add>1.5</add> |
baf5e798 DG |
59 | <!-- changed from varchar 255 to 1024 in 4.6 beta 2 --> |
60 | <change>4.6</change> | |
6a488035 | 61 | </field> |
3c7d2158 | 62 | <field> |
5435b737 | 63 | <name>membership_type_default</name> |
047c5009 | 64 | <title>Default Type ID</title> |
5435b737 EM |
65 | <type>int unsigned</type> |
66 | <comment>Optional foreign key to membership_type</comment> | |
57e94608 | 67 | <html> |
047c5009 | 68 | <label>Default Type</label> |
57e94608 | 69 | </html> |
5435b737 | 70 | <add>1.5</add> |
6a488035 | 71 | </field> |
5435b737 EM |
72 | <foreignKey> |
73 | <name>membership_type_default</name> | |
74 | <table>civicrm_membership_type</table> | |
75 | <key>id</key> | |
76 | <add>1.5</add> | |
6a488035 | 77 | </foreignKey> |
3c7d2158 | 78 | <field> |
5435b737 | 79 | <name>display_min_fee</name> |
0d94665e | 80 | <title>Membership Block Display Minimum Fee</title> |
5435b737 EM |
81 | <type>boolean</type> |
82 | <default>1</default> | |
83 | <comment>Display minimum membership fee</comment> | |
84 | <add>1.5</add> | |
3c7d2158 | 85 | </field> |
86 | <field> | |
5435b737 | 87 | <name>is_separate_payment</name> |
0d94665e | 88 | <title>Membership Block Is Separate Payment</title> |
5435b737 EM |
89 | <type>boolean</type> |
90 | <default>1</default> | |
91 | <comment>Should membership transactions be processed separately</comment> | |
92 | <add>1.5</add> | |
3c7d2158 | 93 | </field> |
94 | <field> | |
5435b737 | 95 | <name>new_title</name> |
0d94665e | 96 | <title>Membership Block New Title</title> |
5435b737 EM |
97 | <type>varchar</type> |
98 | <length>255</length> | |
99 | <localizable>true</localizable> | |
100 | <comment>Title to display at top of block</comment> | |
101 | <add>1.5</add> | |
3c7d2158 | 102 | </field> |
103 | <field> | |
5435b737 | 104 | <name>new_text</name> |
0d94665e | 105 | <title>Membership Block New Text</title> |
5435b737 EM |
106 | <type>text</type> |
107 | <localizable>true</localizable> | |
108 | <comment>Text to display below title</comment> | |
109 | <add>1.5</add> | |
3c7d2158 | 110 | </field> |
5435b737 EM |
111 | <field> |
112 | <name>renewal_title</name> | |
0d94665e | 113 | <title>Membership Block Renewal Title</title> |
5435b737 EM |
114 | <type>varchar</type> |
115 | <length>255</length> | |
116 | <localizable>true</localizable> | |
117 | <comment>Title for renewal</comment> | |
118 | <add>1.5</add> | |
6a488035 | 119 | </field> |
5435b737 EM |
120 | <field> |
121 | <name>renewal_text</name> | |
0d94665e | 122 | <title>Membership Block Renewal Text</title> |
5435b737 EM |
123 | <type>text</type> |
124 | <localizable>true</localizable> | |
125 | <comment>Text to display for member renewal</comment> | |
126 | <add>1.5</add> | |
3c7d2158 | 127 | </field> |
5435b737 EM |
128 | <field> |
129 | <name>is_required</name> | |
130 | <title>Is Required</title> | |
131 | <type>boolean</type> | |
132 | <default>0</default> | |
133 | <comment>Is membership sign up optional</comment> | |
134 | <add>1.5</add> | |
3c7d2158 | 135 | </field> |
136 | <field> | |
5435b737 EM |
137 | <name>is_active</name> |
138 | <title>Is Active</title> | |
139 | <type>boolean</type> | |
140 | <default>1</default> | |
141 | <comment>Is this membership_block enabled</comment> | |
142 | <add>1.5</add> | |
3c7d2158 | 143 | </field> |
6a488035 | 144 | </table> |