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