Lines Matching refs:e
38 catch(Exception $e) {
53 $e = ldap_get_entries($c, $r);
56 'name' => $e[0][$this->getConf('username')][0],
57 'mail' => $e[0][$this->getConf('usermail')][0],
62 $gid = $e[0][$this->getConf('usergid')][0];
70 $e = ldap_get_entries($c, $r);
72 for($i = 0; $i < $e['count']; $i++) {
73 $cn = $e[$i][$this->getConf('groupkey')][0];
74 $gn = $e[$i][$this->getConf('groupgid')]['0'];
78 else if(array_key_exists($this->getConf('groupuids'), $e[$i])) {
79 for($j = 0; $j < $e[$i][$this->getConf('groupuids')]['count']; $j++) {
80 if($e[$i][$this->getConf('groupuids')][$j] == $user)
108 $e = ldap_get_entries($c, $r);
112 return $e['count'];
126 $e = ldap_get_entries($c, $r);
130 for($i = 0; $i < $e['count']; $i++)
131 $users[$e[$i][$this->getConf('userkey')][0]] = Array(
132 'name' => $e[$i][$this->getConf('username')][0],
133 'mail' => $e[$i][$this->getConf('usermail')][0],
135 'gid' => $e[$i][$this->getConf('usergid')][0]
144 $e = ldap_get_entries($c, $r);
150 for($i = 0; $i < $e['count']; $i++) {
151 $cn = $e[$i][$this->getConf('groupkey')][0];
152 $gn = $e[$i][$this->getConf('groupgid')]['0'];
156 if(array_key_exists($this->getConf('groupuids'), $e[$i]))
157 for($j = 0; $j < $e[$i][$this->getConf('groupuids')]['count']; $j++)
158 $users[$e[$i][$this->getConf('groupuids')][$j]]['grps'][] = $cn;
192 $e = ldap_get_entries($c, $r);
196 if($limit == 0 || $limit > $e['count']) $limit = $e['count'];
201 $groups[] = $e[$i][$this->getConf('groupkey')][0];