| @@ 25-35 (lines=11) @@ | ||
| 22 | } |
|
| 23 | $this->ldapObj = $users[0]; |
|
| 24 | } |
|
| 25 | else |
|
| 26 | { |
|
| 27 | if(isset($data['extended'])) |
|
| 28 | { |
|
| 29 | $this->ldapObj = $data['extended']; |
|
| 30 | } |
|
| 31 | else |
|
| 32 | { |
|
| 33 | $this->ldapObj = $data; |
|
| 34 | } |
|
| 35 | } |
|
| 36 | } |
|
| 37 | ||
| 38 | private function check_child_group($array) |
|
| @@ 13-20 (lines=8) @@ | ||
| 10 | { |
|
| 11 | $this->data = array(); |
|
| 12 | $this->auth = $auth; |
|
| 13 | if($data !== false) |
|
| 14 | { |
|
| 15 | $this->data = $data; |
|
| 16 | if(isset($data['extended'])) |
|
| 17 | { |
|
| 18 | $this->data = $data['extended']; |
|
| 19 | } |
|
| 20 | } |
|
| 21 | } |
|
| 22 | ||
| 23 | public function isInGroupNamed($name) |
|