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