Merge pull request #13915 from colemanw/shortCRM
[civicrm-core.git] / CRM / Core / I18n / SchemaStructure_4_7_alpha1.php
CommitLineData
5481f1d1
SV
1<?php
2/*
3+--------------------------------------------------------------------+
fee14197 4| CiviCRM version 5 |
5481f1d1 5+--------------------------------------------------------------------+
6b83d5bd 6| Copyright CiviCRM LLC (c) 2004-2019 |
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
6b83d5bd 31 * @copyright CiviCRM LLC (c) 2004-2019
5481f1d1
SV
32 *
33 * Generated from schema_structure.tpl
34 * DO NOT EDIT. Generated by CRM_Core_CodeGen
35 */
8b7c9375 36class 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) {
be2fb01f
CW
44 $result = [
45 'civicrm_location_type' => [
5481f1d1 46 'display_name' => "varchar(64)",
be2fb01f
CW
47 ],
48 'civicrm_option_group' => [
5481f1d1
SV
49 'title' => "varchar(255)",
50 'description' => "varchar(255)",
be2fb01f
CW
51 ],
52 'civicrm_contact_type' => [
5481f1d1
SV
53 'label' => "varchar(64)",
54 'description' => "text",
be2fb01f
CW
55 ],
56 'civicrm_batch' => [
5481f1d1
SV
57 'title' => "varchar(64)",
58 'description' => "text",
be2fb01f
CW
59 ],
60 'civicrm_premiums' => [
5481f1d1
SV
61 'premiums_intro_title' => "varchar(255)",
62 'premiums_intro_text' => "text",
63 'premiums_nothankyou_label' => "varchar(255)",
be2fb01f
CW
64 ],
65 'civicrm_membership_status' => [
5481f1d1 66 'label' => "varchar(128)",
be2fb01f
CW
67 ],
68 'civicrm_survey' => [
5481f1d1
SV
69 'title' => "varchar(255)",
70 'instructions' => "text",
71 'thankyou_title' => "varchar(255)",
72 'thankyou_text' => "text",
be2fb01f
CW
73 ],
74 'civicrm_participant_status_type' => [
5481f1d1 75 'label' => "varchar(255)",
be2fb01f
CW
76 ],
77 'civicrm_case_type' => [
5481f1d1
SV
78 'title' => "varchar(64)",
79 'description' => "varchar(255)",
be2fb01f
CW
80 ],
81 'civicrm_tell_friend' => [
5481f1d1
SV
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' => [
5481f1d1
SV
89 'title' => "varchar(64)",
90 'help_pre' => "text",
91 'help_post' => "text",
be2fb01f
CW
92 ],
93 'civicrm_custom_field' => [
5481f1d1
SV
94 'label' => "varchar(255)",
95 'help_pre' => "text",
96 'help_post' => "text",
be2fb01f
CW
97 ],
98 'civicrm_option_value' => [
5481f1d1
SV
99 'label' => "varchar(255)",
100 'description' => "text",
be2fb01f
CW
101 ],
102 'civicrm_group' => [
5481f1d1 103 'title' => "varchar(64)",
be2fb01f
CW
104 ],
105 'civicrm_contribution_page' => [
5481f1d1
SV
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",
be2fb01f
CW
118 ],
119 'civicrm_product' => [
5481f1d1
SV
120 'name' => "varchar(255)",
121 'description' => "text",
122 'options' => "text",
be2fb01f
CW
123 ],
124 'civicrm_membership_type' => [
5481f1d1
SV
125 'name' => "varchar(128)",
126 'description' => "varchar(255)",
be2fb01f
CW
127 ],
128 'civicrm_membership_block' => [
5481f1d1
SV
129 'new_title' => "varchar(255)",
130 'new_text' => "text",
131 'renewal_title' => "varchar(255)",
132 'renewal_text' => "text",
be2fb01f
CW
133 ],
134 'civicrm_price_set' => [
5481f1d1
SV
135 'title' => "varchar(255)",
136 'help_pre' => "text",
137 'help_post' => "text",
be2fb01f
CW
138 ],
139 'civicrm_dashboard' => [
5481f1d1 140 'label' => "varchar(255)",
be2fb01f
CW
141 ],
142 'civicrm_uf_group' => [
5481f1d1
SV
143 'title' => "varchar(64)",
144 'help_pre' => "text",
145 'help_post' => "text",
be2fb01f
CW
146 ],
147 'civicrm_uf_field' => [
5481f1d1
SV
148 'help_post' => "text",
149 'help_pre' => "text",
150 'label' => "varchar(255)",
be2fb01f
CW
151 ],
152 'civicrm_price_field' => [
5481f1d1
SV
153 'label' => "varchar(255)",
154 'help_pre' => "text",
155 'help_post' => "text",
be2fb01f
CW
156 ],
157 'civicrm_price_field_value' => [
5481f1d1
SV
158 'label' => "varchar(255)",
159 'description' => "text",
be2fb01f
CW
160 ],
161 'civicrm_pcp_block' => [
5481f1d1 162 'link_text' => "varchar(255)",
be2fb01f
CW
163 ],
164 'civicrm_event' => [
5481f1d1
SV
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)",
be2fb01f
CW
188 ],
189 'civicrm_relationship_type' => [
5481f1d1
SV
190 'label_a_b' => "varchar(64)",
191 'label_b_a' => "varchar(64)",
192 'description' => "varchar(255)",
be2fb01f
CW
193 ],
194 ];
5481f1d1
SV
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) {
be2fb01f
CW
207 $result = [
208 'civicrm_custom_group' => [
209 'UI_title_extends' => [
5481f1d1 210 'name' => 'UI_title_extends',
be2fb01f 211 'field' => [
5481f1d1
SV
212 'title',
213 'extends',
be2fb01f 214 ],
5481f1d1 215 'unique' => 1,
be2fb01f
CW
216 ],
217 ],
218 'civicrm_custom_field' => [
219 'UI_label_custom_group_id' => [
5481f1d1 220 'name' => 'UI_label_custom_group_id',
be2fb01f 221 'field' => [
5481f1d1
SV
222 'label',
223 'custom_group_id',
be2fb01f 224 ],
5481f1d1 225 'unique' => 1,
be2fb01f
CW
226 ],
227 ],
228 'civicrm_group' => [
229 'UI_title' => [
5481f1d1 230 'name' => 'UI_title',
be2fb01f 231 'field' => [
5481f1d1 232 'title',
be2fb01f 233 ],
5481f1d1 234 'unique' => 1,
be2fb01f
CW
235 ],
236 ],
237 ];
5481f1d1
SV
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}