2 /*********************************************************************************
3 * SugarCRM Community Edition is a customer relationship management program developed by
4 * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
6 * This program is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU Affero General Public License version 3 as published by the
8 * Free Software Foundation with the addition of the following permission added
9 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
10 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
11 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
13 * This program is distributed in the hope that it will be useful, but WITHOUT
14 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15 * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
18 * You should have received a copy of the GNU Affero General Public License along with
19 * this program; if not, see http://www.gnu.org/licenses or write to the Free
20 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
24 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
26 * The interactive user interfaces in modified source and object code versions
27 * of this program must display Appropriate Legal Notices, as required under
28 * Section 5 of the GNU Affero General Public License version 3.
30 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
31 * these Appropriate Legal Notices must retain the display of the "Powered by
32 * SugarCRM" logo. If the display of the logo is not reasonably feasible for
33 * technical reasons, the Appropriate Legal Notices must display the words
34 * "Powered by SugarCRM".
35 ********************************************************************************/
39 'moduleMain' => 'Contact',
40 'varName' => 'CONTACT',
41 'orderBy' => 'contacts.first_name, contacts.last_name',
42 'whereClauses' => array (
43 'first_name' => 'contacts.first_name',
44 'last_name' => 'contacts.last_name',
45 'account_name' => 'accounts.name',
46 'test_c' => 'contacts_cstm.test_c',
47 'test2_c' => 'contacts_cstm.test2_c',
48 'title' => 'contacts.title',
49 'lead_source' => 'contacts.lead_source',
50 'campaign_name' => 'contacts.campaign_name',
51 'assigned_user_id' => 'contacts.assigned_user_id',
53 'searchInputs' => array (
62 8 => 'assigned_user_id',
65 'formBase' => 'ContactFormBase.php',
66 'formBaseClass' => 'ContactFormBase',
67 'getFormBodyParams' =>
73 'createButton' => 'Create Contact',
75 'searchdefs' => array (
78 'name' => 'first_name',
84 'label' => 'LBL_TEST',
91 'label' => 'LBL_TEST2',
97 'name' => 'last_name',
102 'name' => 'account_name',
105 'hideButtons' => 'true',
107 'class' => 'sqsEnabled sqsNoAutofill',
118 'name' => 'lead_source',
123 'name' => 'campaign_name',
126 'hideButtons' => 'true',
128 'class' => 'sqsEnabled sqsNoAutofill',
132 'assigned_user_id' =>
134 'name' => 'assigned_user_id',
136 'label' => 'LBL_ASSIGNED_TO',
139 'name' => 'get_user_array',
148 'listviewdefs' => array (
152 'label' => 'LBL_LIST_NAME',
169 'label' => 'LBL_TEST',
176 'label' => 'LBL_TEST2',
182 'label' => 'LBL_LIST_ACCOUNT_NAME',
183 'module' => 'Accounts',
184 'id' => 'ACCOUNT_ID',
187 'ACLTag' => 'ACCOUNT',
192 'name' => 'account_name',
197 'label' => 'LBL_LIST_TITLE',
204 'label' => 'LBL_LEAD_SOURCE',
206 'name' => 'lead_source',