Logo Search packages:      
Sourcecode: dacode version File versions  Download package

Ldap::fetch (  ) 

Fetches an entry in the current result set.

Returns:
array the attributes of the entry public

Definition at line 539 of file ldap.php3.

      {
            $e = error_reporting(0);
            if ($this->start == 0)
            {
                  $this->start = 1;
                  $this->re = ldap_first_entry($this->cid, $this->sr);
            } else {
                  $this->re = ldap_next_entry($this->cid, $this->re);
            }
            if ($this->re)
            {
                  $att = ldap_get_attributes($this->cid, $this->re);
            }
            $ldap->error = ldap_error($this->cid);
            error_reporting($e);
            return($att);
      }


Generated by  Doxygen 1.6.0   Back to index