LdapTools\Ldif\Entry\LdifEntryModDn::__construct PHP Метод

__construct() публичный Метод

public __construct ( string $dn, null | string $newLocation = null, null | string $newRdn = null, boolean $deleteOldRdn = true )
$dn string
$newLocation null | string The new container/OU for the LDAP object.
$newRdn null | string The new RDN for the LDAP object.
$deleteOldRdn boolean Whether the old RDN should be deleted.
    public function __construct($dn, $newLocation = null, $newRdn = null, $deleteOldRdn = true)
    {
        $this->dn = $dn;
        $this->newRdn = $newRdn;
        $this->newSuperior = $newLocation;
        $this->deleteOldRdn = $deleteOldRdn;
        $this->changeType = self::TYPE_MODDN;
    }