Commit | Line | Data |
---|---|---|
8e5cf9e7 | 1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
fee14197 | 4 | | CiviCRM version 5 | |
8e5cf9e7 | 5 | +--------------------------------------------------------------------+ |
6b83d5bd | 6 | | Copyright CiviCRM LLC (c) 2004-2019 | |
8e5cf9e7 | 7 | +--------------------------------------------------------------------+ |
8 | | This file is a part of CiviCRM. | | |
9 | | | | |
10 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
11 | | under the terms of the GNU Affero General Public License | | |
12 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
13 | | | | |
14 | | CiviCRM is distributed in the hope that it will be useful, but | | |
15 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
16 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
17 | | See the GNU Affero General Public License for more details. | | |
18 | | | | |
19 | | You should have received a copy of the GNU Affero General Public | | |
20 | | License and the CiviCRM Licensing Exception along | | |
21 | | with this program; if not, contact CiviCRM LLC | | |
22 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
23 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
24 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
25 | +--------------------------------------------------------------------+ | |
e70a7fc0 | 26 | */ |
353ffa53 | 27 | |
8e5cf9e7 | 28 | /** |
29 | * | |
30 | * @package CRM | |
6b83d5bd | 31 | * @copyright CiviCRM LLC (c) 2004-2019 |
8e5cf9e7 | 32 | * |
33 | * Generated from schema_structure.tpl | |
34 | * DO NOT EDIT. Generated by CRM_Core_CodeGen | |
35 | */ | |
d3e86119 | 36 | class CRM_Core_I18n_SchemaStructure_4_5_beta2 { |
4b62bc4f EM |
37 | |
38 | /** | |
39 | * Get column definition. | |
40 | */ | |
d3e86119 | 41 | public static function &columns() { |
e60f24eb | 42 | static $result = NULL; |
8e5cf9e7 | 43 | if (!$result) { |
be2fb01f CW |
44 | $result = [ |
45 | 'civicrm_location_type' => [ | |
8e5cf9e7 | 46 | 'display_name' => "varchar(64)", |
be2fb01f CW |
47 | ], |
48 | 'civicrm_option_group' => [ | |
8e5cf9e7 | 49 | 'title' => "varchar(255)", |
50 | 'description' => "varchar(255)", | |
be2fb01f CW |
51 | ], |
52 | 'civicrm_contact_type' => [ | |
8e5cf9e7 | 53 | 'label' => "varchar(64)", |
54 | 'description' => "text", | |
be2fb01f CW |
55 | ], |
56 | 'civicrm_batch' => [ | |
8e5cf9e7 | 57 | 'title' => "varchar(64)", |
58 | 'description' => "text", | |
be2fb01f CW |
59 | ], |
60 | 'civicrm_premiums' => [ | |
8e5cf9e7 | 61 | 'premiums_intro_title' => "varchar(255)", |
62 | 'premiums_intro_text' => "text", | |
63 | 'premiums_nothankyou_label' => "varchar(255)", | |
be2fb01f CW |
64 | ], |
65 | 'civicrm_membership_status' => [ | |
8e5cf9e7 | 66 | 'label' => "varchar(128)", |
be2fb01f CW |
67 | ], |
68 | 'civicrm_survey' => [ | |
8e5cf9e7 | 69 | 'title' => "varchar(255)", |
70 | 'instructions' => "text", | |
71 | 'thankyou_title' => "varchar(255)", | |
72 | 'thankyou_text' => "text", | |
be2fb01f CW |
73 | ], |
74 | 'civicrm_participant_status_type' => [ | |
8e5cf9e7 | 75 | 'label' => "varchar(255)", |
be2fb01f CW |
76 | ], |
77 | 'civicrm_case_type' => [ | |
8e5cf9e7 | 78 | 'title' => "varchar(64)", |
79 | 'description' => "varchar(255)", | |
be2fb01f CW |
80 | ], |
81 | 'civicrm_tell_friend' => [ | |
8e5cf9e7 | 82 | 'title' => "varchar(255)", |
83 | 'intro' => "text", | |
84 | 'suggested_message' => "text", | |
85 | 'thankyou_title' => "varchar(255)", | |
86 | 'thankyou_text' => "text", | |
be2fb01f CW |
87 | ], |
88 | 'civicrm_custom_group' => [ | |
8e5cf9e7 | 89 | 'title' => "varchar(64)", |
90 | 'help_pre' => "text", | |
91 | 'help_post' => "text", | |
be2fb01f CW |
92 | ], |
93 | 'civicrm_custom_field' => [ | |
8e5cf9e7 | 94 | 'label' => "varchar(255)", |
95 | 'help_pre' => "text", | |
96 | 'help_post' => "text", | |
be2fb01f CW |
97 | ], |
98 | 'civicrm_option_value' => [ | |
8e5cf9e7 | 99 | 'label' => "varchar(255)", |
100 | 'description' => "text", | |
be2fb01f CW |
101 | ], |
102 | 'civicrm_group' => [ | |
8e5cf9e7 | 103 | 'title' => "varchar(64)", |
be2fb01f CW |
104 | ], |
105 | 'civicrm_contribution_page' => [ | |
8e5cf9e7 | 106 | 'title' => "varchar(255)", |
107 | 'intro_text' => "text", | |
108 | 'pay_later_text' => "text", | |
109 | 'pay_later_receipt' => "text", | |
110 | 'initial_amount_label' => "varchar(255)", | |
111 | 'initial_amount_help_text' => "text", | |
112 | 'thankyou_title' => "varchar(255)", | |
113 | 'thankyou_text' => "text", | |
114 | 'thankyou_footer' => "text", | |
115 | 'for_organization' => "text", | |
116 | 'receipt_from_name' => "varchar(255)", | |
117 | 'receipt_text' => "text", | |
118 | 'footer_text' => "text", | |
be2fb01f CW |
119 | ], |
120 | 'civicrm_product' => [ | |
8e5cf9e7 | 121 | 'name' => "varchar(255)", |
122 | 'description' => "text", | |
123 | 'options' => "text", | |
be2fb01f CW |
124 | ], |
125 | 'civicrm_membership_type' => [ | |
8e5cf9e7 | 126 | 'name' => "varchar(128)", |
127 | 'description' => "varchar(255)", | |
be2fb01f CW |
128 | ], |
129 | 'civicrm_membership_block' => [ | |
8e5cf9e7 | 130 | 'new_title' => "varchar(255)", |
131 | 'new_text' => "text", | |
132 | 'renewal_title' => "varchar(255)", | |
133 | 'renewal_text' => "text", | |
be2fb01f CW |
134 | ], |
135 | 'civicrm_price_set' => [ | |
8e5cf9e7 | 136 | 'title' => "varchar(255)", |
137 | 'help_pre' => "text", | |
138 | 'help_post' => "text", | |
be2fb01f CW |
139 | ], |
140 | 'civicrm_dashboard' => [ | |
8e5cf9e7 | 141 | 'label' => "varchar(255)", |
be2fb01f CW |
142 | ], |
143 | 'civicrm_uf_group' => [ | |
8e5cf9e7 | 144 | 'title' => "varchar(64)", |
145 | 'help_pre' => "text", | |
146 | 'help_post' => "text", | |
be2fb01f CW |
147 | ], |
148 | 'civicrm_uf_field' => [ | |
8e5cf9e7 | 149 | 'help_post' => "text", |
150 | 'help_pre' => "text", | |
151 | 'label' => "varchar(255)", | |
be2fb01f CW |
152 | ], |
153 | 'civicrm_price_field' => [ | |
8e5cf9e7 | 154 | 'label' => "varchar(255)", |
155 | 'help_pre' => "text", | |
156 | 'help_post' => "text", | |
be2fb01f CW |
157 | ], |
158 | 'civicrm_price_field_value' => [ | |
8e5cf9e7 | 159 | 'label' => "varchar(255)", |
160 | 'description' => "text", | |
be2fb01f CW |
161 | ], |
162 | 'civicrm_pcp_block' => [ | |
8e5cf9e7 | 163 | 'link_text' => "varchar(255)", |
be2fb01f CW |
164 | ], |
165 | 'civicrm_event' => [ | |
8e5cf9e7 | 166 | 'title' => "varchar(255)", |
167 | 'summary' => "text", | |
168 | 'description' => "text", | |
169 | 'registration_link_text' => "varchar(255)", | |
170 | 'event_full_text' => "text", | |
171 | 'fee_label' => "varchar(255)", | |
172 | 'intro_text' => "text", | |
173 | 'footer_text' => "text", | |
174 | 'confirm_title' => "varchar(255)", | |
175 | 'confirm_text' => "text", | |
176 | 'confirm_footer_text' => "text", | |
177 | 'confirm_email_text' => "text", | |
178 | 'confirm_from_name' => "varchar(255)", | |
179 | 'thankyou_title' => "varchar(255)", | |
180 | 'thankyou_text' => "text", | |
181 | 'thankyou_footer_text' => "text", | |
182 | 'pay_later_text' => "text", | |
183 | 'pay_later_receipt' => "text", | |
184 | 'initial_amount_label' => "varchar(255)", | |
185 | 'initial_amount_help_text' => "text", | |
186 | 'waitlist_text' => "text", | |
187 | 'approval_req_text' => "text", | |
188 | 'template_title' => "varchar(255)", | |
be2fb01f CW |
189 | ], |
190 | ]; | |
8e5cf9e7 | 191 | } |
192 | return $result; | |
193 | } | |
353ffa53 | 194 | |
2e2605fe EM |
195 | /** |
196 | * Get indices. | |
197 | * | |
198 | * @return array | |
199 | */ | |
6ea503d4 | 200 | public static function &indices() { |
e60f24eb | 201 | static $result = NULL; |
8e5cf9e7 | 202 | if (!$result) { |
be2fb01f CW |
203 | $result = [ |
204 | 'civicrm_custom_group' => [ | |
205 | 'UI_title_extends' => [ | |
8e5cf9e7 | 206 | 'name' => 'UI_title_extends', |
be2fb01f | 207 | 'field' => [ |
8e5cf9e7 | 208 | 'title', |
209 | 'extends', | |
be2fb01f | 210 | ], |
8e5cf9e7 | 211 | 'unique' => 1, |
be2fb01f CW |
212 | ], |
213 | ], | |
214 | 'civicrm_custom_field' => [ | |
215 | 'UI_label_custom_group_id' => [ | |
8e5cf9e7 | 216 | 'name' => 'UI_label_custom_group_id', |
be2fb01f | 217 | 'field' => [ |
8e5cf9e7 | 218 | 'label', |
219 | 'custom_group_id', | |
be2fb01f | 220 | ], |
8e5cf9e7 | 221 | 'unique' => 1, |
be2fb01f CW |
222 | ], |
223 | ], | |
224 | 'civicrm_group' => [ | |
225 | 'UI_title' => [ | |
8e5cf9e7 | 226 | 'name' => 'UI_title', |
be2fb01f | 227 | 'field' => [ |
8e5cf9e7 | 228 | 'title', |
be2fb01f | 229 | ], |
8e5cf9e7 | 230 | 'unique' => 1, |
be2fb01f CW |
231 | ], |
232 | ], | |
233 | ]; | |
8e5cf9e7 | 234 | } |
235 | return $result; | |
236 | } | |
353ffa53 | 237 | |
2e2605fe EM |
238 | /** |
239 | * Get tables. | |
240 | * | |
241 | * @return array | |
242 | */ | |
6ea503d4 | 243 | public static function &tables() { |
e60f24eb | 244 | static $result = NULL; |
8e5cf9e7 | 245 | if (!$result) { |
246 | $result = array_keys(self::columns()); | |
247 | } | |
248 | return $result; | |
249 | } | |
96025800 | 250 | |
8e5cf9e7 | 251 | } |