commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / CRM / Core / I18n / SchemaStructure_4_1_0.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 * $Id$
33 *
34 */
35 class CRM_Core_I18n_SchemaStructure_4_1_0 {
36 /**
37 * @return array
38 */
39 public static function &columns() {
40 static $result = NULL;
41 if (!$result) {
42 $result = array(
43 'civicrm_location_type' => array(
44 'display_name' => "varchar(64)",
45 ),
46 'civicrm_option_group' => array(
47 'title' => "varchar(255)",
48 'description' => "varchar(255)",
49 ),
50 'civicrm_contact_type' => array(
51 'label' => "varchar(64)",
52 'description' => "text",
53 ),
54 'civicrm_premiums' => array(
55 'premiums_intro_title' => "varchar(255)",
56 'premiums_intro_text' => "text",
57 ),
58 'civicrm_product' => array(
59 'name' => "varchar(255)",
60 'description' => "text",
61 'options' => "text",
62 ),
63 'civicrm_membership_status' => array(
64 'label' => "varchar(128)",
65 ),
66 'civicrm_participant_status_type' => array(
67 'label' => "varchar(255)",
68 ),
69 'civicrm_tell_friend' => array(
70 'title' => "varchar(255)",
71 'intro' => "text",
72 'suggested_message' => "text",
73 'thankyou_title' => "varchar(255)",
74 'thankyou_text' => "text",
75 ),
76 'civicrm_price_set' => array(
77 'title' => "varchar(255)",
78 'help_pre' => "text",
79 'help_post' => "text",
80 ),
81 'civicrm_batch' => array(
82 'label' => "varchar(64)",
83 'description' => "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_dashboard' => array(
96 'label' => "varchar(255)",
97 ),
98 'civicrm_option_value' => array(
99 'label' => "varchar(255)",
100 'description' => "text",
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 '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",
114 'honor_block_title' => "varchar(255)",
115 'honor_block_text' => "text",
116 ),
117 'civicrm_price_field' => array(
118 'label' => "varchar(255)",
119 'help_pre' => "text",
120 'help_post' => "text",
121 ),
122 'civicrm_uf_group' => array(
123 'title' => "varchar(64)",
124 'help_pre' => "text",
125 'help_post' => "text",
126 ),
127 'civicrm_uf_field' => array(
128 'help_post' => "text",
129 'help_pre' => "text",
130 'label' => "varchar(255)",
131 ),
132 'civicrm_membership_type' => array(
133 'name' => "varchar(128)",
134 'description' => "varchar(255)",
135 ),
136 'civicrm_membership_block' => array(
137 'new_title' => "varchar(255)",
138 'new_text' => "text",
139 'renewal_title' => "varchar(255)",
140 'renewal_text' => "text",
141 ),
142 'civicrm_price_field_value' => array(
143 'label' => "varchar(255)",
144 'description' => "text",
145 ),
146 'civicrm_pcp_block' => array(
147 'link_text' => "varchar(255)",
148 ),
149 'civicrm_event' => array(
150 'title' => "varchar(255)",
151 'summary' => "text",
152 'description' => "text",
153 'registration_link_text' => "varchar(255)",
154 'event_full_text' => "text",
155 'fee_label' => "varchar(255)",
156 'intro_text' => "text",
157 'footer_text' => "text",
158 'confirm_title' => "varchar(255)",
159 'confirm_text' => "text",
160 'confirm_footer_text' => "text",
161 'confirm_email_text' => "text",
162 'confirm_from_name' => "varchar(255)",
163 'thankyou_title' => "varchar(255)",
164 'thankyou_text' => "text",
165 'thankyou_footer_text' => "text",
166 'pay_later_text' => "text",
167 'pay_later_receipt' => "text",
168 'waitlist_text' => "text",
169 'approval_req_text' => "text",
170 'template_title' => "varchar(255)",
171 ),
172 );
173 }
174 return $result;
175 }
176
177 /**
178 * @return array
179 */
180 public static function &indices() {
181 static $result = NULL;
182 if (!$result) {
183 $result = array(
184 'civicrm_price_set' => array(
185 'UI_title' => array(
186 'name' => 'UI_title',
187 'field' => array(
188 'title',
189 ),
190 'unique' => 1,
191 ),
192 ),
193 'civicrm_custom_group' => array(
194 'UI_title_extends' => array(
195 'name' => 'UI_title_extends',
196 'field' => array(
197 'title',
198 'extends',
199 ),
200 'unique' => 1,
201 ),
202 ),
203 'civicrm_custom_field' => array(
204 'UI_label_custom_group_id' => array(
205 'name' => 'UI_label_custom_group_id',
206 'field' => array(
207 'label',
208 'custom_group_id',
209 ),
210 'unique' => 1,
211 ),
212 ),
213 );
214 }
215 return $result;
216 }
217
218 /**
219 * @return array
220 */
221 public static function &tables() {
222 static $result = NULL;
223 if (!$result) {
224 $result = array_keys(self::columns());
225 }
226 return $result;
227 }
228
229 }