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