Property | Type | Description | |
---|---|---|---|
$connection | LdapTools\Connection\LdapConnectionInterface | null | ||
$entries | LdapTools\Ldif\Entry\LdifEntryInterface[] | ||
$entryBuilder | |||
$hydrator | |||
$schemaFactory | |||
$version | The LDIF version for the entries. |
Method | Description | |
---|---|---|
__construct ( LdapTools\Connection\LdapConnectionInterface $connection = null, |
||
addEntry ( variadic |
Add one or more LDIF entry objects. | |
entry ( ) : |
Used for more fluid addition of entries to the LDIF object. | |
getEntries ( ) : LdapTools\Ldif\Entry\LdifEntryInterface[] | Get the entries represented by this LDIF object. | |
getVersion ( ) : integer | null | Get the LDIF version. | |
setVersion ( integer $version ) | Set the LDIF version. | |
toOperations ( ) : LdapTools\Operation\LdapOperationInterface[] | Get all of the operations represented by all of the entries for this LDIF object. | |
toString ( ) : string | Get the string representation of the LDIF object with all of the entries it has. |
Method | Description | |
---|---|---|
getSchemaForType ( string $type ) : |
||
setupEntry ( LdapTools\Ldif\Entry\LdifEntryInterface $entry ) |
public __construct ( LdapTools\Connection\LdapConnectionInterface $connection = null, |
||
$connection | LdapTools\Connection\LdapConnectionInterface | |
$schemaFactory |
public addEntry ( variadic |
||
$entries | variadic |
public entry ( ) : |
||
return |
public getEntries ( ) : LdapTools\Ldif\Entry\LdifEntryInterface[] | ||
return | LdapTools\Ldif\Entry\LdifEntryInterface[] |
protected getSchemaForType ( string $type ) : |
||
$type | string | |
return |
public getVersion ( ) : integer | null | ||
return | integer | null |
public setVersion ( integer $version ) | ||
$version | integer |
protected setupEntry ( LdapTools\Ldif\Entry\LdifEntryInterface $entry ) | ||
$entry | LdapTools\Ldif\Entry\LdifEntryInterface |
public toOperations ( ) : LdapTools\Operation\LdapOperationInterface[] | ||
return | LdapTools\Operation\LdapOperationInterface[] |
protected LdapConnectionInterface,LdapTools\Connection|null $connection | ||
return | LdapTools\Connection\LdapConnectionInterface | null |
protected LdifEntryInterface[],LdapTools\Ldif\Entry $entries | ||
return | LdapTools\Ldif\Entry\LdifEntryInterface[] |
protected LdifEntryBuilder,LdapTools\Ldif $entryBuilder | ||
return |
protected OperationHydrator,LdapTools\Hydrator $hydrator | ||
return |
protected LdapObjectSchemaFactory,LdapTools\Factory|null $schemaFactory | ||
return |