3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.6 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2015 |
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
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. |
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. |
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 +--------------------------------------------------------------------+
31 * @copyright CiviCRM LLC (c) 2004-2015
35 class CRM_Core_I18n_SchemaStructure_3_0_beta4
{
39 public static function &columns() {
40 static $result = NULL;
43 'civicrm_option_group' => array(
44 'label' => 'varchar(255)',
45 'description' => 'varchar(255)',
47 'civicrm_price_set' => array(
48 'title' => 'varchar(255)',
50 'help_post' => 'text',
52 'civicrm_contact' => array(
53 'sort_name' => 'varchar(128)',
54 'display_name' => 'varchar(128)',
55 'first_name' => 'varchar(64)',
56 'middle_name' => 'varchar(64)',
57 'last_name' => 'varchar(64)',
58 'email_greeting_display' => 'varchar(255)',
59 'postal_greeting_display' => 'varchar(255)',
60 'addressee_display' => 'varchar(255)',
61 'household_name' => 'varchar(128)',
62 'organization_name' => 'varchar(128)',
64 'civicrm_mailing_component' => array(
65 'name' => 'varchar(64)',
66 'subject' => 'varchar(255)',
67 'body_html' => 'text',
68 'body_text' => 'text',
70 'civicrm_mailing' => array(
71 'name' => 'varchar(128)',
72 'from_name' => 'varchar(128)',
73 'subject' => 'varchar(128)',
74 'body_text' => 'longtext',
75 'body_html' => 'longtext',
77 'civicrm_premiums' => array(
78 'premiums_intro_title' => 'varchar(255)',
79 'premiums_intro_text' => 'text',
81 'civicrm_product' => array(
82 'name' => 'varchar(255)',
83 'description' => 'text',
86 'civicrm_membership_type' => array(
87 'name' => 'varchar(128)',
88 'description' => 'varchar(255)',
90 'civicrm_membership_status' => array(
91 'name' => 'varchar(128)',
93 'civicrm_participant_status_type' => array(
94 'label' => 'varchar(255)',
96 'civicrm_tell_friend' => array(
97 'title' => 'varchar(255)',
99 'suggested_message' => 'text',
100 'thankyou_title' => 'varchar(255)',
101 'thankyou_text' => 'text',
103 'civicrm_custom_group' => array(
104 'title' => 'varchar(64)',
105 'help_pre' => 'text',
106 'help_post' => 'text',
108 'civicrm_custom_field' => array(
109 'label' => 'varchar(255)',
110 'help_pre' => 'text',
111 'help_post' => 'text',
113 'civicrm_option_value' => array(
114 'label' => 'varchar(255)',
115 'description' => 'varchar(255)',
117 'civicrm_price_field' => array(
118 'label' => 'varchar(255)',
119 'help_pre' => 'text',
120 'help_post' => 'text',
122 'civicrm_contribution_page' => array(
123 'title' => 'varchar(255)',
124 'intro_text' => 'text',
125 'pay_later_text' => 'text',
126 'pay_later_receipt' => 'text',
127 'thankyou_title' => 'varchar(255)',
128 'thankyou_text' => 'text',
129 'thankyou_footer' => 'text',
130 'for_organization' => 'text',
131 'receipt_from_name' => 'varchar(255)',
132 'receipt_text' => 'text',
133 'footer_text' => 'text',
134 'honor_block_title' => 'varchar(255)',
135 'honor_block_text' => 'text',
137 'civicrm_membership_block' => array(
138 'new_title' => 'varchar(255)',
139 'new_text' => 'text',
140 'renewal_title' => 'varchar(255)',
141 'renewal_text' => 'text',
143 'civicrm_uf_group' => array(
144 'title' => 'varchar(64)',
145 'help_pre' => 'text',
146 'help_post' => 'text',
148 'civicrm_uf_field' => array(
149 'help_post' => 'text',
150 'label' => 'varchar(255)',
152 'civicrm_address' => array(
153 'street_address' => 'varchar(96)',
154 'supplemental_address_1' => 'varchar(96)',
155 'supplemental_address_2' => 'varchar(96)',
156 'supplemental_address_3' => 'varchar(96)',
157 'city' => 'varchar(64)',
158 'name' => 'varchar(255)',
160 'civicrm_event' => array(
161 'title' => 'varchar(255)',
163 'description' => 'text',
164 'registration_link_text' => 'varchar(255)',
165 'event_full_text' => 'text',
166 'fee_label' => 'varchar(255)',
167 'intro_text' => 'text',
168 'footer_text' => 'text',
169 'confirm_title' => 'varchar(255)',
170 'confirm_text' => 'text',
171 'confirm_footer_text' => 'text',
172 'confirm_email_text' => 'text',
173 'confirm_from_name' => 'varchar(255)',
174 'thankyou_title' => 'varchar(255)',
175 'thankyou_text' => 'text',
176 'thankyou_footer_text' => 'text',
177 'pay_later_text' => 'text',
178 'pay_later_receipt' => 'text',
179 'waitlist_text' => 'text',
180 'approval_req_text' => 'text',
181 'template_title' => 'varchar(255)',
191 public static function &indices() {
192 static $result = NULL;
195 'civicrm_price_set' => array(
197 'name' => 'UI_title',
204 'civicrm_contact' => array(
205 'index_sort_name' => array(
206 'name' => 'index_sort_name',
211 'index_first_name' => array(
212 'name' => 'index_first_name',
217 'index_last_name' => array(
218 'name' => 'index_last_name',
223 'index_household_name' => array(
224 'name' => 'index_household_name',
229 'index_organization_name' => array(
230 'name' => 'index_organization_name',
236 'civicrm_custom_group' => array(
237 'UI_title_extends' => array(
238 'name' => 'UI_title_extends',
246 'civicrm_custom_field' => array(
247 'UI_label_custom_group_id' => array(
248 'name' => 'UI_label_custom_group_id',
256 'civicrm_address' => array(
257 'index_city' => array(
258 'name' => 'index_city',
272 public static function &tables() {
273 static $result = NULL;
275 $result = array_keys(self
::columns());