PHP 클래스 LdapTools\Ldif\LdifEntryBuilder

저자: Chad Sikorra ([email protected])
파일 보기 프로젝트 열기: ldaptools/ldaptools

공개 메소드들

메소드 설명
add ( string $dn = null, array $attributes = [] ) : LdifEntryAdd Create a LDIF add entry type.
delete ( string $dn ) : LdifEntryDelete Create a LDIF delete entry type.
moddn ( string $dn ) : LdifEntryModDn Create a LDIF entry to modify the DN of a LDAP object.
modify ( $dn ) : LdifEntryModify Create a LDIF modify entry type.
move ( string $dn, string $newLocation, boolean $deleteOldRdn = true ) : LdifEntryModDn Create a LDIF entry to move a LDAP object to a new OU/container.
rename ( string $dn, string $name, boolean $deleteOldRdn = false ) : LdifEntryModRdn Create a LDIF entry to rename a LDAP object (the RDN).

메소드 상세

add() 공개 메소드

Create a LDIF add entry type.
public add ( string $dn = null, array $attributes = [] ) : LdifEntryAdd
$dn string
$attributes array The attribute [key => value] array to be added.
리턴 LdapTools\Ldif\Entry\LdifEntryAdd

delete() 공개 메소드

Create a LDIF delete entry type.
public delete ( string $dn ) : LdifEntryDelete
$dn string
리턴 LdapTools\Ldif\Entry\LdifEntryDelete

moddn() 공개 메소드

Create a LDIF entry to modify the DN of a LDAP object.
public moddn ( string $dn ) : LdifEntryModDn
$dn string The DN to modify.
리턴 LdapTools\Ldif\Entry\LdifEntryModDn

modify() 공개 메소드

Create a LDIF modify entry type.
public modify ( $dn ) : LdifEntryModify
$dn
리턴 LdapTools\Ldif\Entry\LdifEntryModify

move() 공개 메소드

Create a LDIF entry to move a LDAP object to a new OU/container.
public move ( string $dn, string $newLocation, boolean $deleteOldRdn = true ) : LdifEntryModDn
$dn string The DN for the LDAP object to move.
$newLocation string The DN of the new location.
$deleteOldRdn boolean Whether or not the old RDN should be deleted.
리턴 LdapTools\Ldif\Entry\LdifEntryModDn

rename() 공개 메소드

Create a LDIF entry to rename a LDAP object (the RDN).
public rename ( string $dn, string $name, boolean $deleteOldRdn = false ) : LdifEntryModRdn
$dn string
$name string The new name.
$deleteOldRdn boolean Whether or not the old RDN should be deleted.
리턴 LdapTools\Ldif\Entry\LdifEntryModRdn