public __construct ( string $dn, null | string $newRdn = null, null | string $newLocation = null, boolean $deleteOldRdn = true ) | ||
$dn | string | The DN of the LDAP object to rename. |
$newRdn | null | string | The new RDN in the form of "CN=NewName" |
$newLocation | null | string | The new container/OU it should be placed. Leave null if only changing the RDN. |
$deleteOldRdn | boolean | Whether the old RDN should be deleted. |
public function __construct($dn, $newRdn = null, $newLocation = null, $deleteOldRdn = true)
{
$this->properties['dn'] = $dn;
$this->properties['newLocation'] = $newLocation;
$this->properties['newRdn'] = $newRdn;
$this->properties['deleteOldRdn'] = $deleteOldRdn;
}