PHP Класс LdapTools\Ldif\Entry\LdifEntryModDn

Автор: Chad Sikorra ([email protected])
Наследование: implements LdapTools\Ldif\Entry\LdifEntryInterface, use trait LdifEntryTrait
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$deleteOldRdn Whether the old RDN should be deleted.
$newRdn The new RDN.
$newSuperior The new location (ou/container) for the LDAP object.

Открытые методы

Метод Описание
__construct ( string $dn, null | string $newLocation = null, null | string $newRdn = null, boolean $deleteOldRdn = true )
getDeleteOldRdn ( ) : boolean Get whether the old RDN should be deleted.
getNewLocation ( ) : string Get the new location (OU/container) for the LDAP object.
getNewRdn ( ) : string Get the new RDN for the LDAP object.
setDeleteOldRdn ( boolean $deleteOldRdn ) Set whether the old RDN should be deleted.
setNewLocation ( string $location ) Set the new location (OU/container) for the LDAP object.
setNewRdn ( string $rdn ) Set the new RDN (ie. name) for the LDAP object (in the form of "CN=NewName" or similar).
toOperation ( )
toString ( )

Описание методов

__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.

getDeleteOldRdn() публичный метод

Get whether the old RDN should be deleted.
public getDeleteOldRdn ( ) : boolean
Результат boolean

getNewLocation() публичный метод

Get the new location (OU/container) for the LDAP object.
public getNewLocation ( ) : string
Результат string

getNewRdn() публичный метод

Get the new RDN for the LDAP object.
public getNewRdn ( ) : string
Результат string

setDeleteOldRdn() публичный метод

Set whether the old RDN should be deleted.
public setDeleteOldRdn ( boolean $deleteOldRdn )
$deleteOldRdn boolean

setNewLocation() публичный метод

Set the new location (OU/container) for the LDAP object.
public setNewLocation ( string $location )
$location string

setNewRdn() публичный метод

Set the new RDN (ie. name) for the LDAP object (in the form of "CN=NewName" or similar).
public setNewRdn ( string $rdn )
$rdn string

toOperation() публичный метод

public toOperation ( )

toString() публичный метод

public toString ( )

Описание свойств

$deleteOldRdn защищенное свойство

Whether the old RDN should be deleted.
protected $deleteOldRdn

$newRdn защищенное свойство

The new RDN.
protected $newRdn

$newSuperior защищенное свойство

The new location (ou/container) for the LDAP object.
protected $newSuperior