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_beta1
{
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_premiums' => array(
65 'premiums_intro_title' => 'varchar(255)',
66 'premiums_intro_text' => 'text',
68 'civicrm_product' => array(
69 'name' => 'varchar(255)',
70 'description' => 'text',
73 'civicrm_membership_type' => array(
74 'name' => 'varchar(128)',
75 'description' => 'varchar(255)',
77 'civicrm_membership_status' => array(
78 'name' => 'varchar(128)',
80 'civicrm_participant_status_type' => array(
81 'label' => 'varchar(255)',
83 'civicrm_tell_friend' => array(
84 'title' => 'varchar(255)',
86 'suggested_message' => 'text',
87 'thankyou_title' => 'varchar(255)',
88 'thankyou_text' => 'text',
90 'civicrm_custom_group' => array(
91 'title' => 'varchar(64)',
93 'help_post' => 'text',
95 'civicrm_custom_field' => array(
96 'label' => 'varchar(255)',
98 'help_post' => 'text',
100 'civicrm_option_value' => array(
101 'label' => 'varchar(255)',
102 'description' => 'varchar(255)',
104 'civicrm_price_field' => array(
105 'label' => 'varchar(255)',
106 'help_pre' => 'text',
107 'help_post' => 'text',
109 'civicrm_contribution_page' => array(
110 'title' => 'varchar(255)',
111 'intro_text' => 'text',
112 'pay_later_text' => 'text',
113 'pay_later_receipt' => 'text',
114 'thankyou_title' => 'varchar(255)',
115 'thankyou_text' => 'text',
116 'thankyou_footer' => 'text',
117 'for_organization' => 'text',
118 'receipt_from_name' => 'varchar(255)',
119 'receipt_text' => 'text',
120 'footer_text' => 'text',
121 'honor_block_title' => 'varchar(255)',
122 'honor_block_text' => 'text',
124 'civicrm_membership_block' => array(
125 'new_title' => 'varchar(255)',
126 'new_text' => 'text',
127 'renewal_title' => 'varchar(255)',
128 'renewal_text' => 'text',
130 'civicrm_uf_group' => array(
131 'title' => 'varchar(64)',
132 'help_pre' => 'text',
133 'help_post' => 'text',
135 'civicrm_uf_field' => array(
136 'help_post' => 'text',
137 'label' => 'varchar(255)',
139 'civicrm_address' => array(
140 'street_address' => 'varchar(96)',
141 'supplemental_address_1' => 'varchar(96)',
142 'supplemental_address_2' => 'varchar(96)',
143 'supplemental_address_3' => 'varchar(96)',
144 'city' => 'varchar(64)',
145 'name' => 'varchar(255)',
147 'civicrm_event' => array(
148 'title' => 'varchar(255)',
150 'description' => 'text',
151 'registration_link_text' => 'varchar(255)',
152 'event_full_text' => 'text',
153 'fee_label' => 'varchar(255)',
154 'intro_text' => 'text',
155 'footer_text' => 'text',
156 'confirm_title' => 'varchar(255)',
157 'confirm_text' => 'text',
158 'confirm_footer_text' => 'text',
159 'confirm_email_text' => 'text',
160 'confirm_from_name' => 'varchar(255)',
161 'thankyou_title' => 'varchar(255)',
162 'thankyou_text' => 'text',
163 'thankyou_footer_text' => 'text',
164 'pay_later_text' => 'text',
165 'pay_later_receipt' => 'text',
166 'waitlist_text' => 'text',
167 'approval_req_text' => 'text',
168 'template_title' => 'varchar(255)',
178 public static function &indices() {
179 static $result = NULL;
182 'civicrm_price_set' => array(
184 'name' => 'UI_title',
191 'civicrm_contact' => array(
192 'index_sort_name' => array(
193 'name' => 'index_sort_name',
198 'index_first_name' => array(
199 'name' => 'index_first_name',
204 'index_last_name' => array(
205 'name' => 'index_last_name',
210 'index_household_name' => array(
211 'name' => 'index_household_name',
216 'index_organization_name' => array(
217 'name' => 'index_organization_name',
223 'civicrm_custom_group' => array(
224 'UI_title_extends' => array(
225 'name' => 'UI_title_extends',
233 'civicrm_custom_field' => array(
234 'UI_label_custom_group_id' => array(
235 'name' => 'UI_label_custom_group_id',
243 'civicrm_address' => array(
244 'index_city' => array(
245 'name' => 'index_city',
259 public static function &tables() {
260 static $result = NULL;
262 $result = array_keys(self
::columns());