3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.7 |
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_alpha1
{
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_event' => array(
140 'title' => 'varchar(255)',
142 'description' => 'text',
143 'registration_link_text' => 'varchar(255)',
144 'event_full_text' => 'text',
145 'fee_label' => 'varchar(255)',
146 'intro_text' => 'text',
147 'footer_text' => 'text',
148 'confirm_title' => 'varchar(255)',
149 'confirm_text' => 'text',
150 'confirm_footer_text' => 'text',
151 'confirm_email_text' => 'text',
152 'confirm_from_name' => 'varchar(255)',
153 'thankyou_title' => 'varchar(255)',
154 'thankyou_text' => 'text',
155 'thankyou_footer_text' => 'text',
156 'pay_later_text' => 'text',
157 'pay_later_receipt' => 'text',
158 'waitlist_text' => 'text',
159 'approval_req_text' => 'text',
160 'template_title' => 'varchar(255)',
170 public static function &indices() {
171 static $result = NULL;
174 'civicrm_price_set' => array(
176 'name' => 'UI_title',
183 'civicrm_contact' => array(
184 'index_sort_name' => array(
185 'name' => 'index_sort_name',
190 'index_first_name' => array(
191 'name' => 'index_first_name',
196 'index_last_name' => array(
197 'name' => 'index_last_name',
202 'index_household_name' => array(
203 'name' => 'index_household_name',
208 'index_organization_name' => array(
209 'name' => 'index_organization_name',
215 'civicrm_custom_group' => array(
216 'UI_title_extends' => array(
217 'name' => 'UI_title_extends',
225 'civicrm_custom_field' => array(
226 'UI_label_custom_group_id' => array(
227 'name' => 'UI_label_custom_group_id',
241 * @return array $result
243 public static function &tables() {
244 static $result = NULL;
246 $result = array_keys(self
::columns());