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