Changeset 702
- Timestamp:
- 03/16/09 11:09:48 (15 years ago)
- Location:
- trunk/contactcenter/inc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/inc/class.bo_group.inc.php
r2 r702 36 36 } 37 37 38 function get_all_contacts( ){38 function get_all_contacts($field = false){ 39 39 40 $result = $this-> so -> selectAllContacts( );40 $result = $this-> so -> selectAllContacts($field); 41 41 return $result; 42 42 } -
trunk/contactcenter/inc/class.so_group.inc.php
r576 r702 110 110 111 111 112 function selectAllContacts( )112 function selectAllContacts( $field = false ) 113 113 { 114 114 … … 116 116 'phpgw_cc_contact_conns B, phpgw_cc_connections C where '. 117 117 'A.id_contact = B.id_contact and B.id_connection = C.id_connection and '. 118 'A.id_owner ='.$this->owner.' and C.connection_is_default = true '. 119 ' order by A.names_ordered,C.connection_value'; 118 'A.id_owner ='.$this->owner.' and C.connection_is_default = true '; 119 120 if ( $field == 'only_email' ) 121 $query .= 'and B.id_typeof_contact_connection = 1 '; 122 123 $query .= ' order by A.names_ordered,C.connection_value'; 120 124 121 125 -
trunk/contactcenter/inc/class.ui_data.inc.php
r575 r702 1365 1365 $boGroup = CreateObject('contactcenter.bo_group'); 1366 1366 1367 $all_contacts = $boGroup->get_all_contacts( );1367 $all_contacts = $boGroup->get_all_contacts('only_email'); 1368 1368 1369 1369 $contact_options = "";
Note: See TracChangeset
for help on using the changeset viewer.