Merge pull request #2762 from amitajgaonkar/WebtestIssues
[civicrm-core.git] / CRM / Core / I18n / SchemaStructure_4_3_1.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_3_1
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_batch' => array(
53 'title' => "varchar(64)",
54 'description' => "text",
55 ) ,
56 'civicrm_premiums' => array(
57 'premiums_intro_title' => "varchar(255)",
58 'premiums_intro_text' => "text",
59 'premiums_nothankyou_label' => "varchar(255)",
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_custom_group' => array(
79 'title' => "varchar(64)",
80 'help_pre' => "text",
81 'help_post' => "text",
82 ) ,
83 'civicrm_custom_field' => array(
84 'label' => "varchar(255)",
85 'help_pre' => "text",
86 'help_post' => "text",
87 ) ,
88 'civicrm_option_value' => array(
89 'label' => "varchar(255)",
90 'description' => "text",
91 ) ,
92 'civicrm_group' => array(
93 'title' => "varchar(64)",
94 ) ,
95 'civicrm_contribution_page' => array(
96 'title' => "varchar(255)",
97 'intro_text' => "text",
98 'pay_later_text' => "text",
99 'pay_later_receipt' => "text",
100 'initial_amount_label' => "varchar(255)",
101 'initial_amount_help_text' => "text",
102 'thankyou_title' => "varchar(255)",
103 'thankyou_text' => "text",
104 'thankyou_footer' => "text",
105 'for_organization' => "text",
106 'receipt_from_name' => "varchar(255)",
107 'receipt_text' => "text",
108 'footer_text' => "text",
109 'honor_block_title' => "varchar(255)",
110 'honor_block_text' => "text",
111 ) ,
112 'civicrm_product' => array(
113 'name' => "varchar(255)",
114 'description' => "text",
115 'options' => "text",
116 ) ,
117 'civicrm_membership_type' => array(
118 'name' => "varchar(128)",
119 'description' => "varchar(255)",
120 ) ,
121 'civicrm_membership_block' => array(
122 'new_title' => "varchar(255)",
123 'new_text' => "text",
124 'renewal_title' => "varchar(255)",
125 'renewal_text' => "text",
126 ) ,
127 'civicrm_price_set' => array(
128 'title' => "varchar(255)",
129 'help_pre' => "text",
130 'help_post' => "text",
131 ) ,
132 'civicrm_dashboard' => array(
133 'label' => "varchar(255)",
134 ) ,
135 'civicrm_uf_group' => array(
136 'title' => "varchar(64)",
137 'help_pre' => "text",
138 'help_post' => "text",
139 ) ,
140 'civicrm_uf_field' => array(
141 'help_post' => "text",
142 'help_pre' => "text",
143 'label' => "varchar(255)",
144 ) ,
145 'civicrm_price_field' => array(
146 'label' => "varchar(255)",
147 'help_pre' => "text",
148 'help_post' => "text",
149 ) ,
150 'civicrm_price_field_value' => array(
151 'label' => "varchar(255)",
152 'description' => "text",
153 ) ,
154 'civicrm_pcp_block' => array(
155 'link_text' => "varchar(255)",
156 ) ,
157 'civicrm_event' => array(
158 'title' => "varchar(255)",
159 'summary' => "text",
160 'description' => "text",
161 'registration_link_text' => "varchar(255)",
162 'event_full_text' => "text",
163 'fee_label' => "varchar(255)",
164 'intro_text' => "text",
165 'footer_text' => "text",
166 'confirm_title' => "varchar(255)",
167 'confirm_text' => "text",
168 'confirm_footer_text' => "text",
169 'confirm_email_text' => "text",
170 'confirm_from_name' => "varchar(255)",
171 'thankyou_title' => "varchar(255)",
172 'thankyou_text' => "text",
173 'thankyou_footer_text' => "text",
174 'pay_later_text' => "text",
175 'pay_later_receipt' => "text",
176 'initial_amount_label' => "varchar(255)",
177 'initial_amount_help_text' => "text",
178 'waitlist_text' => "text",
179 'approval_req_text' => "text",
180 'template_title' => "varchar(255)",
181 ) ,
182 );
183 }
184 return $result;
185 }
186 static function &indices()
187 {
188 static $result = null;
189 if (!$result) {
190 $result = array(
191 'civicrm_custom_group' => array(
192 'UI_title_extends' => array(
193 'name' => 'UI_title_extends',
194 'field' => array(
195 'title',
196 'extends',
197 ) ,
198 'unique' => 1,
199 ) ,
200 ) ,
201 'civicrm_custom_field' => array(
202 'UI_label_custom_group_id' => array(
203 'name' => 'UI_label_custom_group_id',
204 'field' => array(
205 'label',
206 'custom_group_id',
207 ) ,
208 'unique' => 1,
209 ) ,
210 ) ,
211 'civicrm_group' => array(
212 'UI_title' => array(
213 'name' => 'UI_title',
214 'field' => array(
215 'title',
216 ) ,
217 'unique' => 1,
218 ) ,
219 ) ,
220 );
221 }
222 return $result;
223 }
224 static function &tables()
225 {
226 static $result = null;
227 if (!$result) {
228 $result = array_keys(self::columns());
229 }
230 return $result;
231 }
232 }