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

Ldap::search ( filter  ) 

Performs a search in the directory. This is quite poorly written...

Parameters:
string the filter for the search
Returns:
integer a search result identifier or 0 on failure. public

Definition at line 465 of file ldap.php3.

References connect(), and resetResult().

      {
            $e = error_reporting(0);
            $result = array();
            if (!$this->connect())
            {
                  error_reporting($e);
                  return(0);
            }

            $this->sr = ldap_search($this->cid, $this->basedn, $filter);
            $ldap->error = ldap_error($this->cid);
            $this->resetResult();
            error_reporting($e);
            return($this->sr);
      }


Generated by  Doxygen 1.6.0   Back to index