- Timestamp:
- 09/02/10 14:54:07 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/contactcenter/inc/class.bo_global_ldap_catalog.inc.php
r3135 r3211 113 113 114 114 */ 115 function find($what, $rules=false, $other=false, $area=false )115 function find($what, $rules=false, $other=false, $area=false, $recursive=false) 116 116 { 117 117 $restric_fields = $this->get_restrictions_without_branch($rules); … … 170 170 } 171 171 172 $ldap = $GLOBALS['phpgw']->common->ldapConnect($this->src_info['host'], $this->src_info['acc'], $this->src_info['pw'], $followReferral); 173 $result_r = ldap_search($ldap ,($refer_context ? $refer_context : $this->src_info['context']), $filter, $fields, 0, $this->src_info['max_results']); 172 $ldap = $GLOBALS['phpgw']->common->ldapConnect($this->src_info['host'], $this->src_info['acc'], $this->src_info['pw'], $followReferral); 173 $result_r = $recursive ? ldap_search($ldap ,($refer_context ? $refer_context : $this->src_info['context']), $filter, $fields, 0, $this->src_info['max_results']) : 174 ldap_list($ldap , ($refer_context ? $refer_context : $this->src_info['context']), $filter, $fields, 0, $this->src_info['max_results']); 174 175 175 176 if (!$result_r)
Note: See TracChangeset
for help on using the changeset viewer.