PHP 클래스 LdapTools\Ldif\Entry\LdifEntryAdd

저자: Chad Sikorra ([email protected])
상속: implements LdapTools\Ldif\Entry\LdifEntryInterface, implements LdapTools\Schema\SchemaAwareInterface, implements LdapTools\Connection\LdapAwareInterface, use trait LdifEntryTrait, use trait LdapTools\Schema\SchemaAwareTrait, use trait LdapTools\Connection\LdapAwareTrait
파일 보기 프로젝트 열기: ldaptools/ldaptools 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$attributes The attributes to be sent to LDAP.
$location The OU/container where the LDAP object should be created.

공개 메소드들

메소드 설명
__construct ( string $dn = null, array $attributes = [] )
addAttribute ( string $attribute, mixed $value ) Add an attribute that will be added to the entry going to LDAP.
getAttributes ( ) : array Get the attributes to be sent to LDAP on an add changetype.
getLocation ( ) : null | string Get the location where the LDAP object should be created in LDAP.
setAttributes ( array $attributes ) Set the attributes that will be added to the entry going to LDAP.
setLocation ( string $location ) Set the location of where the LDAP object should be created in LDAP. Only set this when you are using a schema type via the 'setType()' method. Otherwise you must set the full DN via 'setDn()'.
toOperation ( )
toString ( )

보호된 메소드들

메소드 설명
unicodePwdHack ( AddOperation $operation ) Workaround AD special cases with the unicodePwd attribute.

메소드 상세

__construct() 공개 메소드

public __construct ( string $dn = null, array $attributes = [] )
$dn string
$attributes array

addAttribute() 공개 메소드

Add an attribute that will be added to the entry going to LDAP.
public addAttribute ( string $attribute, mixed $value )
$attribute string
$value mixed

getAttributes() 공개 메소드

Get the attributes to be sent to LDAP on an add changetype.
public getAttributes ( ) : array
리턴 array

getLocation() 공개 메소드

Get the location where the LDAP object should be created in LDAP.
public getLocation ( ) : null | string
리턴 null | string

setAttributes() 공개 메소드

Set the attributes that will be added to the entry going to LDAP.
public setAttributes ( array $attributes )
$attributes array

setLocation() 공개 메소드

Set the location of where the LDAP object should be created in LDAP. Only set this when you are using a schema type via the 'setType()' method. Otherwise you must set the full DN via 'setDn()'.
public setLocation ( string $location )
$location string

toOperation() 공개 메소드

public toOperation ( )

toString() 공개 메소드

public toString ( )

unicodePwdHack() 보호된 메소드

..
protected unicodePwdHack ( AddOperation $operation )
$operation LdapTools\Operation\AddOperation

프로퍼티 상세

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

The attributes to be sent to LDAP.
protected $attributes

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

The OU/container where the LDAP object should be created.
protected $location