PHP 트레잇 LdapTools\Ldif\Entry\LdifEntryTrait

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

보호된 프로퍼티들

프로퍼티 타입 설명
$changeType The changetype for the entry.
$controls LdapTools\Connection\LdapControl[]
$dn The DN represented by this LDIF entry.
$type The LDAP object type this entry is based off of.

공개 메소드들

메소드 설명
addControl ( LdapControl $control ) Add a LDAP control that should be used when processing this entry.
getControls ( ) : LdapControl[] Get the controls for this entry.
getDn ( ) : string Get the DN for the LDIF entry.
getType ( ) : null | string Get the LDAP object type this entry represents. See 'setType()' for more information.
setDn ( string $dn ) Set the DN for the LDIF entry.
setType ( string | null $type ) Set the LDAP object type this entry should represent. This is a string from the schema for the domain, such as 'user', 'group', 'contact', etc. If this is not null then the schema definition is used when transforming the entry to a string/operation.

보호된 메소드들

메소드 설명
addControlsToString ( string $ldif ) : string Add any LDAP controls to the specified LDIF.
getCommonString ( string | null $dn = null ) : string Get the base start of the string for a LDIF entry (comments, DN, changetype, controls).
hydrateOperation ( OperationHydrator $hydrator, LdapTools\Operation\LdapOperationInterface $operation ) : LdapTools\Operation\LdapOperationInterface
isUnicodePwdHackNeeded ( ) : boolean Determine if we might need to work around the unusual formatting for unicodePwd. This is pretty much the only attribute that will ever need a special case for conversion for LDIF creation.

메소드 상세

addControl() 공개 메소드

Add a LDAP control that should be used when processing this entry.
public addControl ( LdapControl $control )
$control LdapTools\Connection\LdapControl

addControlsToString() 보호된 메소드

Add any LDAP controls to the specified LDIF.
protected addControlsToString ( string $ldif ) : string
$ldif string
리턴 string

getCommonString() 보호된 메소드

Get the base start of the string for a LDIF entry (comments, DN, changetype, controls).
protected getCommonString ( string | null $dn = null ) : string
$dn string | null
리턴 string

getControls() 공개 메소드

Get the controls for this entry.
public getControls ( ) : LdapControl[]
리턴 LdapTools\Connection\LdapControl[]

getDn() 공개 메소드

Get the DN for the LDIF entry.
public getDn ( ) : string
리턴 string

getType() 공개 메소드

Get the LDAP object type this entry represents. See 'setType()' for more information.
public getType ( ) : null | string
리턴 null | string

hydrateOperation() 보호된 메소드

protected hydrateOperation ( OperationHydrator $hydrator, LdapTools\Operation\LdapOperationInterface $operation ) : LdapTools\Operation\LdapOperationInterface
$hydrator LdapTools\Hydrator\OperationHydrator
$operation LdapTools\Operation\LdapOperationInterface
리턴 LdapTools\Operation\LdapOperationInterface

isUnicodePwdHackNeeded() 보호된 메소드

Determine if we might need to work around the unusual formatting for unicodePwd. This is pretty much the only attribute that will ever need a special case for conversion for LDIF creation.
protected isUnicodePwdHackNeeded ( ) : boolean
리턴 boolean

setDn() 공개 메소드

Set the DN for the LDIF entry.
public setDn ( string $dn )
$dn string

setType() 공개 메소드

Set the LDAP object type this entry should represent. This is a string from the schema for the domain, such as 'user', 'group', 'contact', etc. If this is not null then the schema definition is used when transforming the entry to a string/operation.
public setType ( string | null $type )
$type string | null

프로퍼티 상세

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

The changetype for the entry.
protected $changeType

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

protected LdapControl[],LdapTools\Connection $controls
리턴 LdapTools\Connection\LdapControl[]

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

The DN represented by this LDIF entry.
protected $dn

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

The LDAP object type this entry is based off of.
protected $type