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