Merge pull request #24073 from kurund/formbuilder-icon-fixes
[civicrm-core.git] / CRM / Core / I18n / SchemaStructure_4_2_alpha1.php
1 <?php
2 /*
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 +--------------------------------------------------------------------+
10 */
11
12 /**
13 *
14 * @package CRM
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
16 */
17 class CRM_Core_I18n_SchemaStructure_4_2_alpha1 {
18
19 /**
20 * @return array
21 */
22 public static function &columns() {
23 static $result = NULL;
24 if (!$result) {
25 $result = [
26 'civicrm_location_type' => [
27 'display_name' => "varchar(64)",
28 ],
29 'civicrm_option_group' => [
30 'title' => "varchar(255)",
31 'description' => "varchar(255)",
32 ],
33 'civicrm_contact_type' => [
34 'label' => "varchar(64)",
35 'description' => "text",
36 ],
37 'civicrm_premiums' => [
38 'premiums_intro_title' => "varchar(255)",
39 'premiums_intro_text' => "text",
40 ],
41 'civicrm_product' => [
42 'name' => "varchar(255)",
43 'description' => "text",
44 'options' => "text",
45 ],
46 'civicrm_membership_status' => [
47 'label' => "varchar(128)",
48 ],
49 'civicrm_survey' => [
50 'thankyou_title' => "varchar(255)",
51 'thankyou_text' => "text",
52 ],
53 'civicrm_participant_status_type' => [
54 'label' => "varchar(255)",
55 ],
56 'civicrm_tell_friend' => [
57 'title' => "varchar(255)",
58 'intro' => "text",
59 'suggested_message' => "text",
60 'thankyou_title' => "varchar(255)",
61 'thankyou_text' => "text",
62 ],
63 'civicrm_price_set' => [
64 'title' => "varchar(255)",
65 'help_pre' => "text",
66 'help_post' => "text",
67 ],
68 'civicrm_batch' => [
69 'title' => "varchar(64)",
70 'description' => "text",
71 ],
72 'civicrm_custom_group' => [
73 'title' => "varchar(64)",
74 'help_pre' => "text",
75 'help_post' => "text",
76 ],
77 'civicrm_custom_field' => [
78 'label' => "varchar(255)",
79 'help_pre' => "text",
80 'help_post' => "text",
81 ],
82 'civicrm_dashboard' => [
83 'label' => "varchar(255)",
84 ],
85 'civicrm_option_value' => [
86 'label' => "varchar(255)",
87 'description' => "text",
88 ],
89 'civicrm_group' => [
90 'title' => "varchar(64)",
91 ],
92 'civicrm_contribution_page' => [
93 'title' => "varchar(255)",
94 'intro_text' => "text",
95 'pay_later_text' => "text",
96 'pay_later_receipt' => "text",
97 'thankyou_title' => "varchar(255)",
98 'thankyou_text' => "text",
99 'thankyou_footer' => "text",
100 'for_organization' => "text",
101 'receipt_from_name' => "varchar(255)",
102 'receipt_text' => "text",
103 'footer_text' => "text",
104 'honor_block_title' => "varchar(255)",
105 'honor_block_text' => "text",
106 ],
107 'civicrm_price_field' => [
108 'label' => "varchar(255)",
109 'help_pre' => "text",
110 'help_post' => "text",
111 ],
112 'civicrm_uf_group' => [
113 'title' => "varchar(64)",
114 'help_pre' => "text",
115 'help_post' => "text",
116 ],
117 'civicrm_uf_field' => [
118 'help_post' => "text",
119 'help_pre' => "text",
120 'label' => "varchar(255)",
121 ],
122 'civicrm_membership_type' => [
123 'name' => "varchar(128)",
124 'description' => "varchar(255)",
125 ],
126 'civicrm_membership_block' => [
127 'new_title' => "varchar(255)",
128 'new_text' => "text",
129 'renewal_title' => "varchar(255)",
130 'renewal_text' => "text",
131 ],
132 'civicrm_price_field_value' => [
133 'label' => "varchar(255)",
134 'description' => "text",
135 ],
136 'civicrm_pcp_block' => [
137 'link_text' => "varchar(255)",
138 ],
139 'civicrm_event' => [
140 'title' => "varchar(255)",
141 'summary' => "text",
142 'description' => "text",
143 'registration_link_text' => "varchar(255)",
144 'event_full_text' => "text",
145 'fee_label' => "varchar(255)",
146 'intro_text' => "text",
147 'footer_text' => "text",
148 'confirm_title' => "varchar(255)",
149 'confirm_text' => "text",
150 'confirm_footer_text' => "text",
151 'confirm_email_text' => "text",
152 'confirm_from_name' => "varchar(255)",
153 'thankyou_title' => "varchar(255)",
154 'thankyou_text' => "text",
155 'thankyou_footer_text' => "text",
156 'pay_later_text' => "text",
157 'pay_later_receipt' => "text",
158 'waitlist_text' => "text",
159 'approval_req_text' => "text",
160 'template_title' => "varchar(255)",
161 ],
162 ];
163 }
164 return $result;
165 }
166
167 /**
168 * @return array
169 */
170 public static function &indices() {
171 static $result = NULL;
172 if (!$result) {
173 $result = [
174 'civicrm_custom_group' => [
175 'UI_title_extends' => [
176 'name' => 'UI_title_extends',
177 'field' => [
178 'title',
179 'extends',
180 ],
181 'unique' => 1,
182 ],
183 ],
184 'civicrm_custom_field' => [
185 'UI_label_custom_group_id' => [
186 'name' => 'UI_label_custom_group_id',
187 'field' => [
188 'label',
189 'custom_group_id',
190 ],
191 'unique' => 1,
192 ],
193 ],
194 'civicrm_group' => [
195 'UI_title' => [
196 'name' => 'UI_title',
197 'field' => [
198 'title',
199 ],
200 'unique' => 1,
201 ],
202 ],
203 ];
204 }
205 return $result;
206 }
207
208 /**
209 * @return array
210 */
211 public static function &tables() {
212 static $result = NULL;
213 if (!$result) {
214 $result = array_keys(self::columns());
215 }
216 return $result;
217 }
218
219 }