Merge pull request #15358 from colemanw/relDesc
[civicrm-core.git] / CRM / Core / I18n / SchemaStructure_4_5_alpha1.php
CommitLineData
fcc81725
ML
1<?php
2/*
3+--------------------------------------------------------------------+
fee14197 4| CiviCRM version 5 |
fcc81725 5+--------------------------------------------------------------------+
6b83d5bd 6| Copyright CiviCRM LLC (c) 2004-2019 |
fcc81725
ML
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
fcc81725
ML
28/**
29 *
30 * @package CRM
6b83d5bd 31 * @copyright CiviCRM LLC (c) 2004-2019
fcc81725
ML
32 *
33 * Generated from schema_structure.tpl
34 * DO NOT EDIT. Generated by CRM_Core_CodeGen
35 */
36class CRM_Core_I18n_SchemaStructure_4_5_alpha1 {
518fa0ee 37
a0ee3941
EM
38 /**
39 * @return array
40 */
00be9182 41 public static function &columns() {
e60f24eb 42 static $result = NULL;
fcc81725 43 if (!$result) {
be2fb01f
CW
44 $result = [
45 'civicrm_location_type' => [
fcc81725 46 'display_name' => "varchar(64)",
be2fb01f
CW
47 ],
48 'civicrm_option_group' => [
fcc81725
ML
49 'title' => "varchar(255)",
50 'description' => "varchar(255)",
be2fb01f
CW
51 ],
52 'civicrm_contact_type' => [
fcc81725
ML
53 'label' => "varchar(64)",
54 'description' => "text",
be2fb01f
CW
55 ],
56 'civicrm_batch' => [
fcc81725
ML
57 'title' => "varchar(64)",
58 'description' => "text",
be2fb01f
CW
59 ],
60 'civicrm_premiums' => [
fcc81725
ML
61 'premiums_intro_title' => "varchar(255)",
62 'premiums_intro_text' => "text",
63 'premiums_nothankyou_label' => "varchar(255)",
be2fb01f
CW
64 ],
65 'civicrm_membership_status' => [
fcc81725 66 'label' => "varchar(128)",
be2fb01f
CW
67 ],
68 'civicrm_survey' => [
fcc81725
ML
69 'title' => "varchar(255)",
70 'instructions' => "text",
71 'thankyou_title' => "varchar(255)",
72 'thankyou_text' => "text",
be2fb01f
CW
73 ],
74 'civicrm_participant_status_type' => [
fcc81725 75 'label' => "varchar(255)",
be2fb01f
CW
76 ],
77 'civicrm_tell_friend' => [
fcc81725
ML
78 'title' => "varchar(255)",
79 'intro' => "text",
80 'suggested_message' => "text",
81 'thankyou_title' => "varchar(255)",
82 'thankyou_text' => "text",
be2fb01f
CW
83 ],
84 'civicrm_custom_group' => [
fcc81725
ML
85 'title' => "varchar(64)",
86 'help_pre' => "text",
87 'help_post' => "text",
be2fb01f
CW
88 ],
89 'civicrm_custom_field' => [
fcc81725
ML
90 'label' => "varchar(255)",
91 'help_pre' => "text",
92 'help_post' => "text",
be2fb01f
CW
93 ],
94 'civicrm_option_value' => [
fcc81725
ML
95 'label' => "varchar(255)",
96 'description' => "text",
be2fb01f
CW
97 ],
98 'civicrm_group' => [
fcc81725 99 'title' => "varchar(64)",
be2fb01f
CW
100 ],
101 'civicrm_contribution_page' => [
fcc81725
ML
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",
be2fb01f
CW
115 ],
116 'civicrm_product' => [
fcc81725
ML
117 'name' => "varchar(255)",
118 'description' => "text",
119 'options' => "text",
be2fb01f
CW
120 ],
121 'civicrm_membership_type' => [
fcc81725
ML
122 'name' => "varchar(128)",
123 'description' => "varchar(255)",
be2fb01f
CW
124 ],
125 'civicrm_membership_block' => [
fcc81725
ML
126 'new_title' => "varchar(255)",
127 'new_text' => "text",
128 'renewal_title' => "varchar(255)",
129 'renewal_text' => "text",
be2fb01f
CW
130 ],
131 'civicrm_price_set' => [
fcc81725
ML
132 'title' => "varchar(255)",
133 'help_pre' => "text",
134 'help_post' => "text",
be2fb01f
CW
135 ],
136 'civicrm_dashboard' => [
fcc81725 137 'label' => "varchar(255)",
be2fb01f
CW
138 ],
139 'civicrm_uf_group' => [
fcc81725
ML
140 'title' => "varchar(64)",
141 'help_pre' => "text",
142 'help_post' => "text",
be2fb01f
CW
143 ],
144 'civicrm_uf_field' => [
fcc81725
ML
145 'help_post' => "text",
146 'help_pre' => "text",
147 'label' => "varchar(255)",
be2fb01f
CW
148 ],
149 'civicrm_price_field' => [
fcc81725
ML
150 'label' => "varchar(255)",
151 'help_pre' => "text",
152 'help_post' => "text",
be2fb01f
CW
153 ],
154 'civicrm_price_field_value' => [
fcc81725
ML
155 'label' => "varchar(255)",
156 'description' => "text",
be2fb01f
CW
157 ],
158 'civicrm_pcp_block' => [
fcc81725 159 'link_text' => "varchar(255)",
be2fb01f
CW
160 ],
161 'civicrm_event' => [
fcc81725
ML
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)",
be2fb01f
CW
185 ],
186 ];
fcc81725
ML
187 }
188 return $result;
189 }
a0ee3941
EM
190
191 /**
192 * @return array
193 */
6ea503d4 194 public static function &indices() {
e60f24eb 195 static $result = NULL;
fcc81725 196 if (!$result) {
be2fb01f
CW
197 $result = [
198 'civicrm_custom_group' => [
199 'UI_title_extends' => [
fcc81725 200 'name' => 'UI_title_extends',
be2fb01f 201 'field' => [
fcc81725
ML
202 'title',
203 'extends',
be2fb01f 204 ],
fcc81725 205 'unique' => 1,
be2fb01f
CW
206 ],
207 ],
208 'civicrm_custom_field' => [
209 'UI_label_custom_group_id' => [
fcc81725 210 'name' => 'UI_label_custom_group_id',
be2fb01f 211 'field' => [
fcc81725
ML
212 'label',
213 'custom_group_id',
be2fb01f 214 ],
fcc81725 215 'unique' => 1,
be2fb01f
CW
216 ],
217 ],
218 'civicrm_group' => [
219 'UI_title' => [
fcc81725 220 'name' => 'UI_title',
be2fb01f 221 'field' => [
fcc81725 222 'title',
be2fb01f 223 ],
fcc81725 224 'unique' => 1,
be2fb01f
CW
225 ],
226 ],
227 ];
fcc81725
ML
228 }
229 return $result;
230 }
a0ee3941
EM
231
232 /**
233 * @return array
234 */
6ea503d4 235 public static function &tables() {
e60f24eb 236 static $result = NULL;
fcc81725
ML
237 if (!$result) {
238 $result = array_keys(self::columns());
239 }
240 return $result;
241 }
96025800 242
fcc81725 243}