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