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