Changeset 4509 for sandbox/2.2.0.2/contactcenter/inc/class.ui_data.inc.php
- Timestamp:
- 05/25/11 15:47:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.2.0.2/contactcenter/inc/class.ui_data.inc.php
r4505 r4509 1858 1858 $predata[] = $boPeopleCatalog -> get_all_connections_types(); 1859 1859 $boGroup = CreateObject('contactcenter.bo_group'); 1860 $predata[] = $boGroup->get_groups_by_user(); 1861 //$predata[] = $this->bo->catalog->get_all_relations_types(); 1860 if ($this->typeContact == 'shared_contacts') { 1861 $so_contact = CreateObject('contactcenter.so_contact', $GLOBALS['phpgw_info']['user']['account_id']); 1862 $relacionados = $so_contact->get_relations(); 1863 1864 foreach($relacionados as $uid_relacionado => $tipo_relacionamento) { 1865 $predata[] = $boGroup->get_groups_by_user($uid_relacionado); 1866 } 1867 } else { 1868 $predata[] = $boGroup->get_groups_by_user(); 1869 } 1862 1870 1863 1871 $i = 0;
Note: See TracChangeset
for help on using the changeset viewer.