3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.4 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2013 |
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-2013
35 class CRM_Core_I18n_SchemaStructure_3_0_alpha1
{
36 static function &columns() {
37 static $result = NULL;
40 'civicrm_option_group' => array(
41 'label' => 'varchar(255)',
42 'description' => 'varchar(255)',
44 'civicrm_price_set' => array(
45 'title' => 'varchar(255)',
47 'help_post' => 'text',
49 'civicrm_contact' => array(
50 'sort_name' => 'varchar(128)',
51 'display_name' => 'varchar(128)',
52 'first_name' => 'varchar(64)',
53 'middle_name' => 'varchar(64)',
54 'last_name' => 'varchar(64)',
55 'email_greeting_display' => 'varchar(255)',
56 'postal_greeting_display' => 'varchar(255)',
57 'addressee_display' => 'varchar(255)',
58 'household_name' => 'varchar(128)',
59 'organization_name' => 'varchar(128)',
61 'civicrm_premiums' => array(
62 'premiums_intro_title' => 'varchar(255)',
63 'premiums_intro_text' => 'text',
65 'civicrm_product' => array(
66 'name' => 'varchar(255)',
67 'description' => 'text',
70 'civicrm_membership_type' => array(
71 'name' => 'varchar(128)',
72 'description' => 'varchar(255)',
74 'civicrm_membership_status' => array(
75 'name' => 'varchar(128)',
77 'civicrm_participant_status_type' => array(
78 'label' => 'varchar(255)',
80 'civicrm_tell_friend' => array(
81 'title' => 'varchar(255)',
83 'suggested_message' => 'text',
84 'thankyou_title' => 'varchar(255)',
85 'thankyou_text' => 'text',
87 'civicrm_custom_group' => array(
88 'title' => 'varchar(64)',
90 'help_post' => 'text',
92 'civicrm_custom_field' => array(
93 'label' => 'varchar(255)',
95 'help_post' => 'text',
97 'civicrm_option_value' => array(
98 'label' => 'varchar(255)',
99 'description' => 'varchar(255)',
101 'civicrm_price_field' => array(
102 'label' => 'varchar(255)',
103 'help_pre' => 'text',
104 'help_post' => 'text',
106 'civicrm_contribution_page' => array(
107 'title' => 'varchar(255)',
108 'intro_text' => 'text',
109 'pay_later_text' => 'text',
110 'pay_later_receipt' => 'text',
111 'thankyou_title' => 'varchar(255)',
112 'thankyou_text' => 'text',
113 'thankyou_footer' => 'text',
114 'for_organization' => 'text',
115 'receipt_from_name' => 'varchar(255)',
116 'receipt_text' => 'text',
117 'footer_text' => 'text',
118 'honor_block_title' => 'varchar(255)',
119 'honor_block_text' => 'text',
121 'civicrm_membership_block' => array(
122 'new_title' => 'varchar(255)',
123 'new_text' => 'text',
124 'renewal_title' => 'varchar(255)',
125 'renewal_text' => 'text',
127 'civicrm_uf_group' => array(
128 'title' => 'varchar(64)',
129 'help_pre' => 'text',
130 'help_post' => 'text',
132 'civicrm_uf_field' => array(
133 'help_post' => 'text',
134 'label' => 'varchar(255)',
136 'civicrm_event' => array(
137 'title' => 'varchar(255)',
139 'description' => 'text',
140 'registration_link_text' => 'varchar(255)',
141 'event_full_text' => 'text',
142 'fee_label' => 'varchar(255)',
143 'intro_text' => 'text',
144 'footer_text' => 'text',
145 'confirm_title' => 'varchar(255)',
146 'confirm_text' => 'text',
147 'confirm_footer_text' => 'text',
148 'confirm_email_text' => 'text',
149 'confirm_from_name' => 'varchar(255)',
150 'thankyou_title' => 'varchar(255)',
151 'thankyou_text' => 'text',
152 'thankyou_footer_text' => 'text',
153 'pay_later_text' => 'text',
154 'pay_later_receipt' => 'text',
155 'waitlist_text' => 'text',
156 'approval_req_text' => 'text',
157 'template_title' => 'varchar(255)',
164 static function &indices() {
165 static $result = NULL;
168 'civicrm_price_set' => array(
170 'name' => 'UI_title',
177 'civicrm_contact' => array(
178 'index_sort_name' => array(
179 'name' => 'index_sort_name',
184 'index_first_name' => array(
185 'name' => 'index_first_name',
190 'index_last_name' => array(
191 'name' => 'index_last_name',
196 'index_household_name' => array(
197 'name' => 'index_household_name',
202 'index_organization_name' => array(
203 'name' => 'index_organization_name',
209 'civicrm_custom_group' => array(
210 'UI_title_extends' => array(
211 'name' => 'UI_title_extends',
219 'civicrm_custom_field' => array(
220 'UI_label_custom_group_id' => array(
221 'name' => 'UI_label_custom_group_id',
234 static function &tables() {
235 static $result = NULL;
237 $result = array_keys(self
::columns());