- Timestamp:
- 09/02/10 11:51:12 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/contactcenter/inc/class.bo_global_ldap_catalog.inc.php
r3134 r3210 115 115 116 116 */ 117 function find($what, $rules=false, $other=false )117 function find($what, $rules=false, $other=false, $recursive=false) 118 118 { 119 119 $restric_fields = $this->get_restrictions_without_branch($rules); … … 138 138 { 139 139 $ldap = $GLOBALS['phpgw']->common->ldapConnect($this->src_info['host'], $this->src_info['acc'], $this->src_info['pw'], true); 140 $result_r = ldap_search($ldap , $this->src_info['context'], $filter, $fields, 0, $this->src_info['max_results']); 140 $result_r = $recursive ? ldap_search($ldap , $this->src_info['context'], $filter, $fields, 0, $this->src_info['max_results']) : 141 ldap_list($ldap , $this->src_info['context'], $filter, $fields, 0, $this->src_info['max_results']); 141 142 } 142 143 else
Note: See TracChangeset
for help on using the changeset viewer.