]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Accounts/metadata/searchdefs.php
Release 6.5.0
[Github/sugarcrm.git] / modules / Accounts / metadata / searchdefs.php
1 <?php
2 /*********************************************************************************
3  * SugarCRM Community Edition is a customer relationship management program developed by
4  * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
5  * 
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.
12  * 
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
16  * details.
17  * 
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
21  * 02110-1301 USA.
22  * 
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.
25  * 
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.
29  * 
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  ********************************************************************************/
36
37 /*
38  * Created on May 29, 2007
39  *
40  * To change the template for this generated file go to
41  * Window - Preferences - PHPeclipse - PHP - Code Templates
42  */
43   $searchdefs['Accounts'] = array(
44                                           'templateMeta' => array(
45                                                         'maxColumns' => '3', 
46                                                         'maxColumnsBasic' => '4', 
47                             'widths' => array('label' => '10', 'field' => '30'),                 
48                            ),
49                                           'layout' => 
50                                           array (
51                                             'basic_search' => 
52                                             array (
53                                               'name' => 
54                                               array (
55                                                 'name' => 'name',
56                                                 'default' => true,
57                                                 'width' => '10%',
58                                               ),
59                                               'current_user_only' => 
60                                               array (
61                                                 'name' => 'current_user_only',
62                                                 'label' => 'LBL_CURRENT_USER_FILTER',
63                                                 'type' => 'bool',
64                                                 'default' => true,
65                                                 'width' => '10%',
66                                               ),
67                                               
68                                             ),
69                                             'advanced_search' => 
70                                             array (
71                                               'name' => 
72                                               array (
73                                                 'name' => 'name',
74                                                 'default' => true,
75                                                 'width' => '10%',
76                                               ),
77                                               'website' => 
78                                               array (
79                                                 'name' => 'website',
80                                                 'default' => true,
81                                                 'width' => '10%',
82                                               ),
83                                               'phone' => 
84                                               array (
85                                                 'name' => 'phone',
86                                                 'label' => 'LBL_ANY_PHONE',
87                                                 'type' => 'name',
88                                                 'default' => true,
89                                                 'width' => '10%',
90                                               ),
91                                               'email' => 
92                                               array (
93                                                 'name' => 'email',
94                                                 'label' => 'LBL_ANY_EMAIL',
95                                                 'type' => 'name',
96                                                 'default' => true,
97                                                 'width' => '10%',
98                                               ),
99                                               'address_street' => 
100                                               array (
101                                                 'name' => 'address_street',
102                                                 'label' => 'LBL_ANY_ADDRESS',
103                                                 'type' => 'name',
104                                                 'default' => true,
105                                                 'width' => '10%',
106                                               ),
107                                               'address_city' => 
108                                               array (
109                                                 'name' => 'address_city',
110                                                 'label' => 'LBL_CITY',
111                                                 'type' => 'name',
112                                                 'default' => true,
113                                                 'width' => '10%',
114                                               ),
115                                               'address_state' => 
116                                               array (
117                                                 'name' => 'address_state',
118                                                 'label' => 'LBL_STATE',
119                                                 'type' => 'name',
120                                                 'default' => true,
121                                                 'width' => '10%',
122                                               ),
123                                               'address_postalcode' => 
124                                               array (
125                                                 'name' => 'address_postalcode',
126                                                 'label' => 'LBL_POSTAL_CODE',
127                                                 'type' => 'name',
128                                                 'default' => true,
129                                                 'width' => '10%',
130                                               ),
131                                               'billing_address_country' => 
132                                               array (
133                                                 'name' => 'billing_address_country',
134                                                 'label' => 'LBL_COUNTRY',
135                                                 'type' => 'name',
136                                                 'options' => 'countries_dom',
137                                                 'default' => true,
138                                                 'width' => '10%',
139                                               ),
140                                               'account_type' => 
141                                               array (
142                                                 'name' => 'account_type',
143                                                 'default' => true,
144                                                 'width' => '10%',
145                                               ),
146                                               'industry' => 
147                                               array (
148                                                 'name' => 'industry',
149                                                 'default' => true,
150                                                 'width' => '10%',
151                                               ),
152                                               'assigned_user_id' => 
153                                               array (
154                                                 'name' => 'assigned_user_id',
155                                                 'type' => 'enum',
156                                                 'label' => 'LBL_ASSIGNED_TO',
157                                                 'function' => 
158                                                 array (
159                                                   'name' => 'get_user_array',
160                                                   'params' => 
161                                                   array (
162                                                     0 => false,
163                                                   ),
164                                                 ),
165                                                 'default' => true,
166                                                 'width' => '10%',
167                                               ),
168                                               
169                                             ),
170                                           ),
171 );
172 ?>