Method |
Description |
|
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. |
|