]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Notes/metadata/listviewdefs.php
Release 6.5.0
[Github/sugarcrm.git] / modules / Notes / metadata / listviewdefs.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 $listViewDefs ['Notes'] = 
38 array (
39   'NAME' => 
40   array (
41     'width' => '40%',
42     'label' => 'LBL_LIST_SUBJECT',
43     'link' => true,
44     'default' => true,
45   ),
46   'CONTACT_NAME' => 
47   array (
48     'width' => '20%',
49     'label' => 'LBL_LIST_CONTACT',
50     'link' => true,
51     'id' => 'CONTACT_ID',
52     'module' => 'Contacts',
53     'default' => true,
54     'ACLTag' => 'CONTACT',
55     'related_fields' => 
56     array (
57       0 => 'contact_id',
58     ),
59   ),
60   'PARENT_NAME' => 
61   array (
62     'width' => '20%',
63     'label' => 'LBL_LIST_RELATED_TO',
64     'dynamic_module' => 'PARENT_TYPE',
65     'id' => 'PARENT_ID',
66     'link' => true,
67     'default' => true,
68     'sortable' => false,
69     'ACLTag' => 'PARENT',
70     'related_fields' => 
71     array (
72       0 => 'parent_id',
73       1 => 'parent_type',
74     ),
75   ),
76   
77   'FILENAME' => 
78   array (
79     'width' => '20%',
80     'label' => 'LBL_LIST_FILENAME',
81     'default' => true,
82     'type' => 'file',
83     'related_fields' => 
84     array (
85       0 => 'file_url',
86       1 => 'id',
87     ),
88     'displayParams' =>
89     array(
90       'module' => 'Notes',
91     ),
92   ),
93   'CREATED_BY_NAME' => 
94   array (
95     'type' => 'relate',
96     'label' => 'LBL_CREATED_BY',
97     'width' => '10%',
98     'default' => true,
99         'related_fields' =>  array ( 'created_by' ),
100   ),
101   'DATE_MODIFIED' => 
102   array (
103     'width' => '20%',
104     'label' => 'LBL_DATE_MODIFIED',
105     'link' => false,
106     'default' => false,
107   ),
108   'DATE_ENTERED' => 
109   array (
110     'type' => 'datetime',
111     'label' => 'LBL_DATE_ENTERED',
112     'width' => '10%',
113     'default' => true,
114   ),  
115 );
116 ?>