PHP 인터페이스 LdapTools\Ldif\Entry\LdifEntryInterface

저자: Chad Sikorra ([email protected])
파일 보기 프로젝트 열기: ldaptools/ldaptools 0 사용 예제들

공개 메소드들

메소드 설명
addComment ( $comments ) Add a comment to the entry.
addControl ( LdapControl $control ) Add a control to the entry.
getComments ( ) : string[] Get the comments for the entry.
getControls ( ) : LdapControl[] Get the controls for the entry.
getDn ( ) : string Get the DN for the entry.
getLineEnding ( ) : string Get the line ending that will be used.
getLineFolding ( ) : boolean Get whether line folding should be used (lines exceeding $maxLineLength will be continued on the next line).
getMaxLineLength ( ) : integer Get the max length of a line when line folding is in use.
getType ( ) : string | null Get the LDAP object type this entry represents. See 'setType()' for more information.
setDn ( string $dn ) Set the DN for the entry.
setLineEnding ( string $lineEnding ) Set the line ending to be used. See the Ldif::LINE_ENDING constant for values.
setLineFolding ( boolean $lineFolding ) Set whether line folding should be used (lines exceeding $maxLineLength will be continued on the next line).
setMaxLineLength ( integer $maxLineLength ) Set the max length of a line when line folding is in use.
setType ( string $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.
toOperation ( ) : LdapTools\Operation\LdapOperationInterface Get the LDAP operation represented by this LDIF entry.
toString ( ) : string Get the string representation of the LDIF entry.

메소드 상세

addComment() 공개 메소드

Add a comment to the entry.
public addComment ( $comments )
$comments

addControl() 공개 메소드

Add a control to the entry.
public addControl ( LdapControl $control )
$control LdapTools\Connection\LdapControl

getComments() 공개 메소드

Get the comments for the entry.
public getComments ( ) : string[]
리턴 string[]

getControls() 공개 메소드

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

getDn() 공개 메소드

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

getLineEnding() 공개 메소드

Get the line ending that will be used.
public getLineEnding ( ) : string
리턴 string

getLineFolding() 공개 메소드

Get whether line folding should be used (lines exceeding $maxLineLength will be continued on the next line).
public getLineFolding ( ) : boolean
리턴 boolean

getMaxLineLength() 공개 메소드

Get the max length of a line when line folding is in use.
public getMaxLineLength ( ) : integer
리턴 integer

getType() 공개 메소드

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

setDn() 공개 메소드

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

setLineEnding() 공개 메소드

Set the line ending to be used. See the Ldif::LINE_ENDING constant for values.
public setLineEnding ( string $lineEnding )
$lineEnding string

setLineFolding() 공개 메소드

Set whether line folding should be used (lines exceeding $maxLineLength will be continued on the next line).
public setLineFolding ( boolean $lineFolding )
$lineFolding boolean

setMaxLineLength() 공개 메소드

Set the max length of a line when line folding is in use.
public setMaxLineLength ( integer $maxLineLength )
$maxLineLength integer

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 $type )
$type string

toOperation() 공개 메소드

Get the LDAP operation represented by this LDIF entry.
public toOperation ( ) : LdapTools\Operation\LdapOperationInterface
리턴 LdapTools\Operation\LdapOperationInterface

toString() 공개 메소드

Get the string representation of the LDIF entry.
public toString ( ) : string
리턴 string