Commit | Line | Data |
---|---|---|
8e5cf9e7 | 1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
39de6fd5 | 4 | | CiviCRM version 4.6 | |
8e5cf9e7 | 5 | +--------------------------------------------------------------------+ |
e7112fa7 | 6 | | Copyright CiviCRM LLC (c) 2004-2015 | |
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 | |
e7112fa7 | 31 | * @copyright CiviCRM LLC (c) 2004-2015 |
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) { |
44 | $result = array( | |
45 | 'civicrm_location_type' => array( | |
46 | 'display_name' => "varchar(64)", | |
353ffa53 | 47 | ), |
8e5cf9e7 | 48 | 'civicrm_option_group' => array( |
49 | 'title' => "varchar(255)", | |
50 | 'description' => "varchar(255)", | |
353ffa53 | 51 | ), |
8e5cf9e7 | 52 | 'civicrm_contact_type' => array( |
53 | 'label' => "varchar(64)", | |
54 | 'description' => "text", | |
353ffa53 | 55 | ), |
8e5cf9e7 | 56 | 'civicrm_batch' => array( |
57 | 'title' => "varchar(64)", | |
58 | 'description' => "text", | |
353ffa53 | 59 | ), |
8e5cf9e7 | 60 | 'civicrm_premiums' => array( |
61 | 'premiums_intro_title' => "varchar(255)", | |
62 | 'premiums_intro_text' => "text", | |
63 | 'premiums_nothankyou_label' => "varchar(255)", | |
353ffa53 | 64 | ), |
8e5cf9e7 | 65 | 'civicrm_membership_status' => array( |
66 | 'label' => "varchar(128)", | |
353ffa53 | 67 | ), |
8e5cf9e7 | 68 | 'civicrm_survey' => array( |
69 | 'title' => "varchar(255)", | |
70 | 'instructions' => "text", | |
71 | 'thankyou_title' => "varchar(255)", | |
72 | 'thankyou_text' => "text", | |
353ffa53 | 73 | ), |
8e5cf9e7 | 74 | 'civicrm_participant_status_type' => array( |
75 | 'label' => "varchar(255)", | |
353ffa53 | 76 | ), |
8e5cf9e7 | 77 | 'civicrm_case_type' => array( |
78 | 'title' => "varchar(64)", | |
79 | 'description' => "varchar(255)", | |
353ffa53 | 80 | ), |
8e5cf9e7 | 81 | 'civicrm_tell_friend' => array( |
82 | 'title' => "varchar(255)", | |
83 | 'intro' => "text", | |
84 | 'suggested_message' => "text", | |
85 | 'thankyou_title' => "varchar(255)", | |
86 | 'thankyou_text' => "text", | |
353ffa53 | 87 | ), |
8e5cf9e7 | 88 | 'civicrm_custom_group' => array( |
89 | 'title' => "varchar(64)", | |
90 | 'help_pre' => "text", | |
91 | 'help_post' => "text", | |
353ffa53 | 92 | ), |
8e5cf9e7 | 93 | 'civicrm_custom_field' => array( |
94 | 'label' => "varchar(255)", | |
95 | 'help_pre' => "text", | |
96 | 'help_post' => "text", | |
353ffa53 | 97 | ), |
8e5cf9e7 | 98 | 'civicrm_option_value' => array( |
99 | 'label' => "varchar(255)", | |
100 | 'description' => "text", | |
353ffa53 | 101 | ), |
8e5cf9e7 | 102 | 'civicrm_group' => array( |
103 | 'title' => "varchar(64)", | |
353ffa53 | 104 | ), |
8e5cf9e7 | 105 | 'civicrm_contribution_page' => array( |
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", | |
353ffa53 | 119 | ), |
8e5cf9e7 | 120 | 'civicrm_product' => array( |
121 | 'name' => "varchar(255)", | |
122 | 'description' => "text", | |
123 | 'options' => "text", | |
353ffa53 | 124 | ), |
8e5cf9e7 | 125 | 'civicrm_membership_type' => array( |
126 | 'name' => "varchar(128)", | |
127 | 'description' => "varchar(255)", | |
353ffa53 | 128 | ), |
8e5cf9e7 | 129 | 'civicrm_membership_block' => array( |
130 | 'new_title' => "varchar(255)", | |
131 | 'new_text' => "text", | |
132 | 'renewal_title' => "varchar(255)", | |
133 | 'renewal_text' => "text", | |
353ffa53 | 134 | ), |
8e5cf9e7 | 135 | 'civicrm_price_set' => array( |
136 | 'title' => "varchar(255)", | |
137 | 'help_pre' => "text", | |
138 | 'help_post' => "text", | |
353ffa53 | 139 | ), |
8e5cf9e7 | 140 | 'civicrm_dashboard' => array( |
141 | 'label' => "varchar(255)", | |
353ffa53 | 142 | ), |
8e5cf9e7 | 143 | 'civicrm_uf_group' => array( |
144 | 'title' => "varchar(64)", | |
145 | 'help_pre' => "text", | |
146 | 'help_post' => "text", | |
353ffa53 | 147 | ), |
8e5cf9e7 | 148 | 'civicrm_uf_field' => array( |
149 | 'help_post' => "text", | |
150 | 'help_pre' => "text", | |
151 | 'label' => "varchar(255)", | |
353ffa53 | 152 | ), |
8e5cf9e7 | 153 | 'civicrm_price_field' => array( |
154 | 'label' => "varchar(255)", | |
155 | 'help_pre' => "text", | |
156 | 'help_post' => "text", | |
353ffa53 | 157 | ), |
8e5cf9e7 | 158 | 'civicrm_price_field_value' => array( |
159 | 'label' => "varchar(255)", | |
160 | 'description' => "text", | |
353ffa53 | 161 | ), |
8e5cf9e7 | 162 | 'civicrm_pcp_block' => array( |
163 | 'link_text' => "varchar(255)", | |
353ffa53 | 164 | ), |
8e5cf9e7 | 165 | 'civicrm_event' => array( |
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)", | |
353ffa53 | 189 | ), |
8e5cf9e7 | 190 | ); |
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) { |
203 | $result = array( | |
204 | 'civicrm_custom_group' => array( | |
205 | 'UI_title_extends' => array( | |
206 | 'name' => 'UI_title_extends', | |
207 | 'field' => array( | |
208 | 'title', | |
209 | 'extends', | |
353ffa53 | 210 | ), |
8e5cf9e7 | 211 | 'unique' => 1, |
353ffa53 TO |
212 | ), |
213 | ), | |
8e5cf9e7 | 214 | 'civicrm_custom_field' => array( |
215 | 'UI_label_custom_group_id' => array( | |
216 | 'name' => 'UI_label_custom_group_id', | |
217 | 'field' => array( | |
218 | 'label', | |
219 | 'custom_group_id', | |
353ffa53 | 220 | ), |
8e5cf9e7 | 221 | 'unique' => 1, |
353ffa53 TO |
222 | ), |
223 | ), | |
8e5cf9e7 | 224 | 'civicrm_group' => array( |
225 | 'UI_title' => array( | |
226 | 'name' => 'UI_title', | |
227 | 'field' => array( | |
228 | 'title', | |
353ffa53 | 229 | ), |
8e5cf9e7 | 230 | 'unique' => 1, |
353ffa53 TO |
231 | ), |
232 | ), | |
8e5cf9e7 | 233 | ); |
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 | } |