PHP 클래스 LdapTools\Operation\RenameOperation

저자: Chad Sikorra ([email protected])
상속: implements LdapTools\Operation\LdapOperationInterface, use trait LdapOperationTrait
파일 보기 프로젝트 열기: ldaptools/ldaptools

보호된 프로퍼티들

프로퍼티 타입 설명
$properties array

공개 메소드들

메소드 설명
__construct ( string $dn, null | string $newRdn = null, null | string $newLocation = null, boolean $deleteOldRdn = true )
getArguments ( )
getDeleteOldRdn ( ) : null | boolean Get whether or not the old RDN is removed after the operation.
getDn ( ) : null | string The distinguished name for an add, delete, or move operation.
getLdapFunction ( )
getLogArray ( )
getName ( )
getNewLocation ( ) : null | string Get the DN of the container/ou/parent that the object will be moved to.
getNewRdn ( ) : string Get the new RDN that the LDAP object will have.
setDeleteOldRdn ( boolean $delete ) Set whether or not the old RDN is removed after the operation. If your intent is to move the object, then this should be set to true typically.
setDn ( string $dn ) Set the distinguished name that the operation is working on.
setNewLocation ( null | string $dn ) Set the DN of the container/ou/parent that the object will be moved to. If the object is not moving, but rather just being renamed, then this should be set to null.
setNewRdn ( string $rdn ) Set the new RDN that the LDAP object will have (ie. "cn=Foo")

메소드 상세

__construct() 공개 메소드

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.

getArguments() 공개 메소드

public getArguments ( )

getDeleteOldRdn() 공개 메소드

Get whether or not the old RDN is removed after the operation.
public getDeleteOldRdn ( ) : null | boolean
리턴 null | boolean

getDn() 공개 메소드

The distinguished name for an add, delete, or move operation.
public getDn ( ) : null | string
리턴 null | string

getLdapFunction() 공개 메소드

public getLdapFunction ( )

getLogArray() 공개 메소드

public getLogArray ( )

getName() 공개 메소드

public getName ( )

getNewLocation() 공개 메소드

Get the DN of the container/ou/parent that the object will be moved to.
public getNewLocation ( ) : null | string
리턴 null | string

getNewRdn() 공개 메소드

Get the new RDN that the LDAP object will have.
public getNewRdn ( ) : string
리턴 string

setDeleteOldRdn() 공개 메소드

Set whether or not the old RDN is removed after the operation. If your intent is to move the object, then this should be set to true typically.
public setDeleteOldRdn ( boolean $delete )
$delete boolean

setDn() 공개 메소드

Set the distinguished name that the operation is working on.
public setDn ( string $dn )
$dn string

setNewLocation() 공개 메소드

Set the DN of the container/ou/parent that the object will be moved to. If the object is not moving, but rather just being renamed, then this should be set to null.
public setNewLocation ( null | string $dn )
$dn null | string

setNewRdn() 공개 메소드

Set the new RDN that the LDAP object will have (ie. "cn=Foo")
public setNewRdn ( string $rdn )
$rdn string

프로퍼티 상세

$properties 보호되어 있는 프로퍼티

protected array $properties
리턴 array