dev/core#3707 Fix wordpress issue of page not refreshing after import
[civicrm-core.git] / CRM / Core / I18n / SchemaStructure_4_7_alpha1.php
CommitLineData
5481f1d1
SV
1<?php
2/*
bc77d7c0
TO
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
5481f1d1
SV
10 */
11
12/**
13 *
14 * @package CRM
ca5cec67 15 * @copyright CiviCRM LLC https://civicrm.org/licensing
5481f1d1
SV
16 *
17 * Generated from schema_structure.tpl
18 * DO NOT EDIT. Generated by CRM_Core_CodeGen
19 */
8b7c9375 20class CRM_Core_I18n_SchemaStructure_4_7_alpha1 {
5481f1d1
SV
21
22 /**
23 * Get column definition.
24 */
25 public static function &columns() {
26 static $result = NULL;
27 if (!$result) {
be2fb01f
CW
28 $result = [
29 'civicrm_location_type' => [
5481f1d1 30 'display_name' => "varchar(64)",
be2fb01f
CW
31 ],
32 'civicrm_option_group' => [
5481f1d1
SV
33 'title' => "varchar(255)",
34 'description' => "varchar(255)",
be2fb01f
CW
35 ],
36 'civicrm_contact_type' => [
5481f1d1
SV
37 'label' => "varchar(64)",
38 'description' => "text",
be2fb01f
CW
39 ],
40 'civicrm_batch' => [
5481f1d1
SV
41 'title' => "varchar(64)",
42 'description' => "text",
be2fb01f
CW
43 ],
44 'civicrm_premiums' => [
5481f1d1
SV
45 'premiums_intro_title' => "varchar(255)",
46 'premiums_intro_text' => "text",
47 'premiums_nothankyou_label' => "varchar(255)",
be2fb01f
CW
48 ],
49 'civicrm_membership_status' => [
5481f1d1 50 'label' => "varchar(128)",
be2fb01f
CW
51 ],
52 'civicrm_survey' => [
5481f1d1
SV
53 'title' => "varchar(255)",
54 'instructions' => "text",
55 'thankyou_title' => "varchar(255)",
56 'thankyou_text' => "text",
be2fb01f
CW
57 ],
58 'civicrm_participant_status_type' => [
5481f1d1 59 'label' => "varchar(255)",
be2fb01f
CW
60 ],
61 'civicrm_case_type' => [
5481f1d1
SV
62 'title' => "varchar(64)",
63 'description' => "varchar(255)",
be2fb01f
CW
64 ],
65 'civicrm_tell_friend' => [
5481f1d1
SV
66 'title' => "varchar(255)",
67 'intro' => "text",
68 'suggested_message' => "text",
69 'thankyou_title' => "varchar(255)",
70 'thankyou_text' => "text",
be2fb01f
CW
71 ],
72 'civicrm_custom_group' => [
5481f1d1
SV
73 'title' => "varchar(64)",
74 'help_pre' => "text",
75 'help_post' => "text",
be2fb01f
CW
76 ],
77 'civicrm_custom_field' => [
5481f1d1
SV
78 'label' => "varchar(255)",
79 'help_pre' => "text",
80 'help_post' => "text",
be2fb01f
CW
81 ],
82 'civicrm_option_value' => [
5481f1d1
SV
83 'label' => "varchar(255)",
84 'description' => "text",
be2fb01f
CW
85 ],
86 'civicrm_group' => [
5481f1d1 87 'title' => "varchar(64)",
be2fb01f
CW
88 ],
89 'civicrm_contribution_page' => [
5481f1d1
SV
90 'title' => "varchar(255)",
91 'intro_text' => "text",
92 'pay_later_text' => "text",
93 'pay_later_receipt' => "text",
94 'initial_amount_label' => "varchar(255)",
95 'initial_amount_help_text' => "text",
96 'thankyou_title' => "varchar(255)",
97 'thankyou_text' => "text",
98 'thankyou_footer' => "text",
5481f1d1
SV
99 'receipt_from_name' => "varchar(255)",
100 'receipt_text' => "text",
101 'footer_text' => "text",
be2fb01f
CW
102 ],
103 'civicrm_product' => [
5481f1d1
SV
104 'name' => "varchar(255)",
105 'description' => "text",
106 'options' => "text",
be2fb01f
CW
107 ],
108 'civicrm_membership_type' => [
5481f1d1
SV
109 'name' => "varchar(128)",
110 'description' => "varchar(255)",
be2fb01f
CW
111 ],
112 'civicrm_membership_block' => [
5481f1d1
SV
113 'new_title' => "varchar(255)",
114 'new_text' => "text",
115 'renewal_title' => "varchar(255)",
116 'renewal_text' => "text",
be2fb01f
CW
117 ],
118 'civicrm_price_set' => [
5481f1d1
SV
119 'title' => "varchar(255)",
120 'help_pre' => "text",
121 'help_post' => "text",
be2fb01f
CW
122 ],
123 'civicrm_dashboard' => [
5481f1d1 124 'label' => "varchar(255)",
be2fb01f
CW
125 ],
126 'civicrm_uf_group' => [
5481f1d1
SV
127 'title' => "varchar(64)",
128 'help_pre' => "text",
129 'help_post' => "text",
be2fb01f
CW
130 ],
131 'civicrm_uf_field' => [
5481f1d1
SV
132 'help_post' => "text",
133 'help_pre' => "text",
134 'label' => "varchar(255)",
be2fb01f
CW
135 ],
136 'civicrm_price_field' => [
5481f1d1
SV
137 'label' => "varchar(255)",
138 'help_pre' => "text",
139 'help_post' => "text",
be2fb01f
CW
140 ],
141 'civicrm_price_field_value' => [
5481f1d1
SV
142 'label' => "varchar(255)",
143 'description' => "text",
be2fb01f
CW
144 ],
145 'civicrm_pcp_block' => [
5481f1d1 146 'link_text' => "varchar(255)",
be2fb01f
CW
147 ],
148 'civicrm_event' => [
5481f1d1
SV
149 'title' => "varchar(255)",
150 'summary' => "text",
151 'description' => "text",
152 'registration_link_text' => "varchar(255)",
153 'event_full_text' => "text",
154 'fee_label' => "varchar(255)",
155 'intro_text' => "text",
156 'footer_text' => "text",
157 'confirm_title' => "varchar(255)",
158 'confirm_text' => "text",
159 'confirm_footer_text' => "text",
160 'confirm_email_text' => "text",
161 'confirm_from_name' => "varchar(255)",
162 'thankyou_title' => "varchar(255)",
163 'thankyou_text' => "text",
164 'thankyou_footer_text' => "text",
165 'pay_later_text' => "text",
166 'pay_later_receipt' => "text",
167 'initial_amount_label' => "varchar(255)",
168 'initial_amount_help_text' => "text",
169 'waitlist_text' => "text",
170 'approval_req_text' => "text",
171 'template_title' => "varchar(255)",
be2fb01f
CW
172 ],
173 'civicrm_relationship_type' => [
5481f1d1
SV
174 'label_a_b' => "varchar(64)",
175 'label_b_a' => "varchar(64)",
176 'description' => "varchar(255)",
be2fb01f
CW
177 ],
178 ];
5481f1d1
SV
179 }
180 return $result;
181 }
182
183 /**
184 * Get indices.
185 *
186 * @return array
187 */
188 public static function &indices() {
189 static $result = NULL;
190 if (!$result) {
be2fb01f
CW
191 $result = [
192 'civicrm_custom_group' => [
193 'UI_title_extends' => [
5481f1d1 194 'name' => 'UI_title_extends',
be2fb01f 195 'field' => [
5481f1d1
SV
196 'title',
197 'extends',
be2fb01f 198 ],
5481f1d1 199 'unique' => 1,
be2fb01f
CW
200 ],
201 ],
202 'civicrm_custom_field' => [
203 'UI_label_custom_group_id' => [
5481f1d1 204 'name' => 'UI_label_custom_group_id',
be2fb01f 205 'field' => [
5481f1d1
SV
206 'label',
207 'custom_group_id',
be2fb01f 208 ],
5481f1d1 209 'unique' => 1,
be2fb01f
CW
210 ],
211 ],
212 'civicrm_group' => [
213 'UI_title' => [
5481f1d1 214 'name' => 'UI_title',
be2fb01f 215 'field' => [
5481f1d1 216 'title',
be2fb01f 217 ],
5481f1d1 218 'unique' => 1,
be2fb01f
CW
219 ],
220 ],
221 ];
5481f1d1
SV
222 }
223 return $result;
224 }
225
226 /**
227 * Get tables.
228 *
229 * @return array
230 */
231 public static function &tables() {
232 static $result = NULL;
233 if (!$result) {
234 $result = array_keys(self::columns());
235 }
236 return $result;
237 }
238
239}