Lines Matching refs:result
213 $result = @ldap_get_entries($this->con, $sr);
215 // if result is not an array
216 if (!is_array($result)) {
218 $this->debug('LDAP search returned non-array result: ' . hsc(print($result)), -1, __LINE__, __FILE__);
223 if ($result['count'] != 1) {
225 'LDAP search returned ' . hsc($result['count']) . ' results while it should return 1!',
230 //for($i = 0; $i < $result["count"]; $i++) {
231 //$this->_debug('result: '.hsc(print_r($result[$i])), 0, __LINE__, __FILE__);
236 $this->debug('LDAP search found single result !', 0, __LINE__, __FILE__);
238 $user_result = $result[0];
290 $result = ldap_get_entries($this->con, $sr);
293 if (is_array($result)) foreach ($result as $grp) {
299 $this->debug('groupkey did not return a detailled result', 0, __LINE__, __FILE__);
423 $result = $users_array;
424 if (!$result) return [];
425 $this->users = array_fill_keys($result, false);
430 $result = [];
440 $result[$user] = $info;
444 return $result;