PHP Интерфейс LdapTools\Ldif\Entry\LdifEntryInterface

Автор: Chad Sikorra ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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