Merge pull request #4726 from atif-shaikh/CRM-5039
[civicrm-core.git] / CRM / Core / I18n / SchemaStructure_4_5_alpha1.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.6 |
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 *
32 * Generated from schema_structure.tpl
33 * DO NOT EDIT. Generated by CRM_Core_CodeGen
34 */
35 class CRM_Core_I18n_SchemaStructure_4_5_alpha1 {
36 /**
37 * @return array
38 */
39 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_batch' => array(
55 'title' => "varchar(64)",
56 'description' => "text",
57 ) ,
58 'civicrm_premiums' => array(
59 'premiums_intro_title' => "varchar(255)",
60 'premiums_intro_text' => "text",
61 'premiums_nothankyou_label' => "varchar(255)",
62 ) ,
63 'civicrm_membership_status' => array(
64 'label' => "varchar(128)",
65 ) ,
66 'civicrm_survey' => array(
67 'title' => "varchar(255)",
68 'instructions' => "text",
69 'thankyou_title' => "varchar(255)",
70 'thankyou_text' => "text",
71 ) ,
72 'civicrm_participant_status_type' => array(
73 'label' => "varchar(255)",
74 ) ,
75 'civicrm_tell_friend' => array(
76 'title' => "varchar(255)",
77 'intro' => "text",
78 'suggested_message' => "text",
79 'thankyou_title' => "varchar(255)",
80 'thankyou_text' => "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_option_value' => array(
93 'label' => "varchar(255)",
94 'description' => "text",
95 ) ,
96 'civicrm_group' => array(
97 'title' => "varchar(64)",
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 'initial_amount_label' => "varchar(255)",
105 'initial_amount_help_text' => "text",
106 'thankyou_title' => "varchar(255)",
107 'thankyou_text' => "text",
108 'thankyou_footer' => "text",
109 'for_organization' => "text",
110 'receipt_from_name' => "varchar(255)",
111 'receipt_text' => "text",
112 'footer_text' => "text",
113 ) ,
114 'civicrm_product' => array(
115 'name' => "varchar(255)",
116 'description' => "text",
117 'options' => "text",
118 ) ,
119 'civicrm_membership_type' => array(
120 'name' => "varchar(128)",
121 'description' => "varchar(255)",
122 ) ,
123 'civicrm_membership_block' => array(
124 'new_title' => "varchar(255)",
125 'new_text' => "text",
126 'renewal_title' => "varchar(255)",
127 'renewal_text' => "text",
128 ) ,
129 'civicrm_price_set' => array(
130 'title' => "varchar(255)",
131 'help_pre' => "text",
132 'help_post' => "text",
133 ) ,
134 'civicrm_dashboard' => array(
135 'label' => "varchar(255)",
136 ) ,
137 'civicrm_uf_group' => array(
138 'title' => "varchar(64)",
139 'help_pre' => "text",
140 'help_post' => "text",
141 ) ,
142 'civicrm_uf_field' => array(
143 'help_post' => "text",
144 'help_pre' => "text",
145 'label' => "varchar(255)",
146 ) ,
147 'civicrm_price_field' => array(
148 'label' => "varchar(255)",
149 'help_pre' => "text",
150 'help_post' => "text",
151 ) ,
152 'civicrm_price_field_value' => array(
153 'label' => "varchar(255)",
154 'description' => "text",
155 ) ,
156 'civicrm_pcp_block' => array(
157 'link_text' => "varchar(255)",
158 ) ,
159 'civicrm_event' => array(
160 'title' => "varchar(255)",
161 'summary' => "text",
162 'description' => "text",
163 'registration_link_text' => "varchar(255)",
164 'event_full_text' => "text",
165 'fee_label' => "varchar(255)",
166 'intro_text' => "text",
167 'footer_text' => "text",
168 'confirm_title' => "varchar(255)",
169 'confirm_text' => "text",
170 'confirm_footer_text' => "text",
171 'confirm_email_text' => "text",
172 'confirm_from_name' => "varchar(255)",
173 'thankyou_title' => "varchar(255)",
174 'thankyou_text' => "text",
175 'thankyou_footer_text' => "text",
176 'pay_later_text' => "text",
177 'pay_later_receipt' => "text",
178 'initial_amount_label' => "varchar(255)",
179 'initial_amount_help_text' => "text",
180 'waitlist_text' => "text",
181 'approval_req_text' => "text",
182 'template_title' => "varchar(255)",
183 ) ,
184 );
185 }
186 return $result;
187 }
188
189 /**
190 * @return array
191 */
192 static function &indices()
193 {
194 static $result = null;
195 if (!$result) {
196 $result = array(
197 'civicrm_custom_group' => array(
198 'UI_title_extends' => array(
199 'name' => 'UI_title_extends',
200 'field' => array(
201 'title',
202 'extends',
203 ) ,
204 'unique' => 1,
205 ) ,
206 ) ,
207 'civicrm_custom_field' => array(
208 'UI_label_custom_group_id' => array(
209 'name' => 'UI_label_custom_group_id',
210 'field' => array(
211 'label',
212 'custom_group_id',
213 ) ,
214 'unique' => 1,
215 ) ,
216 ) ,
217 'civicrm_group' => array(
218 'UI_title' => array(
219 'name' => 'UI_title',
220 'field' => array(
221 'title',
222 ) ,
223 'unique' => 1,
224 ) ,
225 ) ,
226 );
227 }
228 return $result;
229 }
230
231 /**
232 * @return array
233 */
234 static function &tables()
235 {
236 static $result = null;
237 if (!$result) {
238 $result = array_keys(self::columns());
239 }
240 return $result;
241 }
242 }