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