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