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

Ldap::rename ( attrs,
dn = "" 
)

Replaces attributes for specified DN Wrapper for ldap_mod_replace

Parameters:
array the arrtibutes to set
string the dn; current one if empty.
Returns:
boolean true on success public

Definition at line 642 of file ldap.php3.

      {
            if (empty($dn))
                  $dn = $this->basedn;

            $e = error_reporting(0);
            $r = ldap_mod_replace($this->cid, $dn, $attrs);
            $ldap->error = ldap_error($this->cid);
            error_reporting($e);
            return($r);
      }


Generated by  Doxygen 1.6.0   Back to index