Commit | Line | Data |
---|---|---|
8e5cf9e7 | 1 | <?php |
2 | /* | |
bc77d7c0 TO |
3 | +--------------------------------------------------------------------+ |
4 | | Copyright CiviCRM LLC. All rights reserved. | | |
5 | | | | |
6 | | This work is published under the GNU AGPLv3 license with some | | |
7 | | permitted exceptions and without any warranty. For full license | | |
8 | | and copyright information, see https://civicrm.org/licensing | | |
9 | +--------------------------------------------------------------------+ | |
e70a7fc0 | 10 | */ |
353ffa53 | 11 | |
8e5cf9e7 | 12 | /** |
13 | * | |
14 | * @package CRM | |
ca5cec67 | 15 | * @copyright CiviCRM LLC https://civicrm.org/licensing |
8e5cf9e7 | 16 | * |
17 | * Generated from schema_structure.tpl | |
18 | * DO NOT EDIT. Generated by CRM_Core_CodeGen | |
19 | */ | |
d3e86119 | 20 | class CRM_Core_I18n_SchemaStructure_4_5_beta2 { |
4b62bc4f EM |
21 | |
22 | /** | |
23 | * Get column definition. | |
24 | */ | |
d3e86119 | 25 | public static function &columns() { |
e60f24eb | 26 | static $result = NULL; |
8e5cf9e7 | 27 | if (!$result) { |
be2fb01f CW |
28 | $result = [ |
29 | 'civicrm_location_type' => [ | |
8e5cf9e7 | 30 | 'display_name' => "varchar(64)", |
be2fb01f CW |
31 | ], |
32 | 'civicrm_option_group' => [ | |
8e5cf9e7 | 33 | 'title' => "varchar(255)", |
34 | 'description' => "varchar(255)", | |
be2fb01f CW |
35 | ], |
36 | 'civicrm_contact_type' => [ | |
8e5cf9e7 | 37 | 'label' => "varchar(64)", |
38 | 'description' => "text", | |
be2fb01f CW |
39 | ], |
40 | 'civicrm_batch' => [ | |
8e5cf9e7 | 41 | 'title' => "varchar(64)", |
42 | 'description' => "text", | |
be2fb01f CW |
43 | ], |
44 | 'civicrm_premiums' => [ | |
8e5cf9e7 | 45 | 'premiums_intro_title' => "varchar(255)", |
46 | 'premiums_intro_text' => "text", | |
47 | 'premiums_nothankyou_label' => "varchar(255)", | |
be2fb01f CW |
48 | ], |
49 | 'civicrm_membership_status' => [ | |
8e5cf9e7 | 50 | 'label' => "varchar(128)", |
be2fb01f CW |
51 | ], |
52 | 'civicrm_survey' => [ | |
8e5cf9e7 | 53 | 'title' => "varchar(255)", |
54 | 'instructions' => "text", | |
55 | 'thankyou_title' => "varchar(255)", | |
56 | 'thankyou_text' => "text", | |
be2fb01f CW |
57 | ], |
58 | 'civicrm_participant_status_type' => [ | |
8e5cf9e7 | 59 | 'label' => "varchar(255)", |
be2fb01f CW |
60 | ], |
61 | 'civicrm_case_type' => [ | |
8e5cf9e7 | 62 | 'title' => "varchar(64)", |
63 | 'description' => "varchar(255)", | |
be2fb01f CW |
64 | ], |
65 | 'civicrm_tell_friend' => [ | |
8e5cf9e7 | 66 | 'title' => "varchar(255)", |
67 | 'intro' => "text", | |
68 | 'suggested_message' => "text", | |
69 | 'thankyou_title' => "varchar(255)", | |
70 | 'thankyou_text' => "text", | |
be2fb01f CW |
71 | ], |
72 | 'civicrm_custom_group' => [ | |
8e5cf9e7 | 73 | 'title' => "varchar(64)", |
74 | 'help_pre' => "text", | |
75 | 'help_post' => "text", | |
be2fb01f CW |
76 | ], |
77 | 'civicrm_custom_field' => [ | |
8e5cf9e7 | 78 | 'label' => "varchar(255)", |
79 | 'help_pre' => "text", | |
80 | 'help_post' => "text", | |
be2fb01f CW |
81 | ], |
82 | 'civicrm_option_value' => [ | |
8e5cf9e7 | 83 | 'label' => "varchar(255)", |
84 | 'description' => "text", | |
be2fb01f CW |
85 | ], |
86 | 'civicrm_group' => [ | |
8e5cf9e7 | 87 | 'title' => "varchar(64)", |
be2fb01f CW |
88 | ], |
89 | 'civicrm_contribution_page' => [ | |
8e5cf9e7 | 90 | 'title' => "varchar(255)", |
91 | 'intro_text' => "text", | |
92 | 'pay_later_text' => "text", | |
93 | 'pay_later_receipt' => "text", | |
94 | 'initial_amount_label' => "varchar(255)", | |
95 | 'initial_amount_help_text' => "text", | |
96 | 'thankyou_title' => "varchar(255)", | |
97 | 'thankyou_text' => "text", | |
98 | 'thankyou_footer' => "text", | |
99 | 'for_organization' => "text", | |
100 | 'receipt_from_name' => "varchar(255)", | |
101 | 'receipt_text' => "text", | |
102 | 'footer_text' => "text", | |
be2fb01f CW |
103 | ], |
104 | 'civicrm_product' => [ | |
8e5cf9e7 | 105 | 'name' => "varchar(255)", |
106 | 'description' => "text", | |
107 | 'options' => "text", | |
be2fb01f CW |
108 | ], |
109 | 'civicrm_membership_type' => [ | |
8e5cf9e7 | 110 | 'name' => "varchar(128)", |
111 | 'description' => "varchar(255)", | |
be2fb01f CW |
112 | ], |
113 | 'civicrm_membership_block' => [ | |
8e5cf9e7 | 114 | 'new_title' => "varchar(255)", |
115 | 'new_text' => "text", | |
116 | 'renewal_title' => "varchar(255)", | |
117 | 'renewal_text' => "text", | |
be2fb01f CW |
118 | ], |
119 | 'civicrm_price_set' => [ | |
8e5cf9e7 | 120 | 'title' => "varchar(255)", |
121 | 'help_pre' => "text", | |
122 | 'help_post' => "text", | |
be2fb01f CW |
123 | ], |
124 | 'civicrm_dashboard' => [ | |
8e5cf9e7 | 125 | 'label' => "varchar(255)", |
be2fb01f CW |
126 | ], |
127 | 'civicrm_uf_group' => [ | |
8e5cf9e7 | 128 | 'title' => "varchar(64)", |
129 | 'help_pre' => "text", | |
130 | 'help_post' => "text", | |
be2fb01f CW |
131 | ], |
132 | 'civicrm_uf_field' => [ | |
8e5cf9e7 | 133 | 'help_post' => "text", |
134 | 'help_pre' => "text", | |
135 | 'label' => "varchar(255)", | |
be2fb01f CW |
136 | ], |
137 | 'civicrm_price_field' => [ | |
8e5cf9e7 | 138 | 'label' => "varchar(255)", |
139 | 'help_pre' => "text", | |
140 | 'help_post' => "text", | |
be2fb01f CW |
141 | ], |
142 | 'civicrm_price_field_value' => [ | |
8e5cf9e7 | 143 | 'label' => "varchar(255)", |
144 | 'description' => "text", | |
be2fb01f CW |
145 | ], |
146 | 'civicrm_pcp_block' => [ | |
8e5cf9e7 | 147 | 'link_text' => "varchar(255)", |
be2fb01f CW |
148 | ], |
149 | 'civicrm_event' => [ | |
8e5cf9e7 | 150 | 'title' => "varchar(255)", |
151 | 'summary' => "text", | |
152 | 'description' => "text", | |
153 | 'registration_link_text' => "varchar(255)", | |
154 | 'event_full_text' => "text", | |
155 | 'fee_label' => "varchar(255)", | |
156 | 'intro_text' => "text", | |
157 | 'footer_text' => "text", | |
158 | 'confirm_title' => "varchar(255)", | |
159 | 'confirm_text' => "text", | |
160 | 'confirm_footer_text' => "text", | |
161 | 'confirm_email_text' => "text", | |
162 | 'confirm_from_name' => "varchar(255)", | |
163 | 'thankyou_title' => "varchar(255)", | |
164 | 'thankyou_text' => "text", | |
165 | 'thankyou_footer_text' => "text", | |
166 | 'pay_later_text' => "text", | |
167 | 'pay_later_receipt' => "text", | |
168 | 'initial_amount_label' => "varchar(255)", | |
169 | 'initial_amount_help_text' => "text", | |
170 | 'waitlist_text' => "text", | |
171 | 'approval_req_text' => "text", | |
172 | 'template_title' => "varchar(255)", | |
be2fb01f CW |
173 | ], |
174 | ]; | |
8e5cf9e7 | 175 | } |
176 | return $result; | |
177 | } | |
353ffa53 | 178 | |
2e2605fe EM |
179 | /** |
180 | * Get indices. | |
181 | * | |
182 | * @return array | |
183 | */ | |
6ea503d4 | 184 | public static function &indices() { |
e60f24eb | 185 | static $result = NULL; |
8e5cf9e7 | 186 | if (!$result) { |
be2fb01f CW |
187 | $result = [ |
188 | 'civicrm_custom_group' => [ | |
189 | 'UI_title_extends' => [ | |
8e5cf9e7 | 190 | 'name' => 'UI_title_extends', |
be2fb01f | 191 | 'field' => [ |
8e5cf9e7 | 192 | 'title', |
193 | 'extends', | |
be2fb01f | 194 | ], |
8e5cf9e7 | 195 | 'unique' => 1, |
be2fb01f CW |
196 | ], |
197 | ], | |
198 | 'civicrm_custom_field' => [ | |
199 | 'UI_label_custom_group_id' => [ | |
8e5cf9e7 | 200 | 'name' => 'UI_label_custom_group_id', |
be2fb01f | 201 | 'field' => [ |
8e5cf9e7 | 202 | 'label', |
203 | 'custom_group_id', | |
be2fb01f | 204 | ], |
8e5cf9e7 | 205 | 'unique' => 1, |
be2fb01f CW |
206 | ], |
207 | ], | |
208 | 'civicrm_group' => [ | |
209 | 'UI_title' => [ | |
8e5cf9e7 | 210 | 'name' => 'UI_title', |
be2fb01f | 211 | 'field' => [ |
8e5cf9e7 | 212 | 'title', |
be2fb01f | 213 | ], |
8e5cf9e7 | 214 | 'unique' => 1, |
be2fb01f CW |
215 | ], |
216 | ], | |
217 | ]; | |
8e5cf9e7 | 218 | } |
219 | return $result; | |
220 | } | |
353ffa53 | 221 | |
2e2605fe EM |
222 | /** |
223 | * Get tables. | |
224 | * | |
225 | * @return array | |
226 | */ | |
6ea503d4 | 227 | public static function &tables() { |
e60f24eb | 228 | static $result = NULL; |
8e5cf9e7 | 229 | if (!$result) { |
230 | $result = array_keys(self::columns()); | |
231 | } | |
232 | return $result; | |
233 | } | |
96025800 | 234 | |
8e5cf9e7 | 235 | } |