PHP Class LdapTools\Connection\RootDse

Author: Chad Sikorra ([email protected])
Datei anzeigen Open project: ldaptools/ldaptools

Protected Properties

Property Type Description
$connection LdapTools\Connection\LdapConnectionInterface
$dispatcher LdapTools\Event\EventDispatcherInterface
$schemaFactory LdapTools\Factory\LdapObjectSchemaFactory

Public Methods

Method Description
__construct ( LdapTools\Connection\LdapConnectionInterface $connection, LdapTools\Event\EventDispatcherInterface $dispatcher )
get ( ) : LdapObject Get the RootDSE LdapObject while accounting for the state of the connection.

Protected Methods

Method Description
doLdapQuery ( boolean $anonymous ) : LdapObject Do the LDAP query to get the LDAP object.

Method Details

__construct() public method

public __construct ( LdapTools\Connection\LdapConnectionInterface $connection, LdapTools\Event\EventDispatcherInterface $dispatcher )
$connection LdapTools\Connection\LdapConnectionInterface
$dispatcher LdapTools\Event\EventDispatcherInterface

doLdapQuery() protected method

Do the LDAP query to get the LDAP object.
protected doLdapQuery ( boolean $anonymous ) : LdapObject
$anonymous boolean
return LdapTools\Object\LdapObject

get() public method

Get the RootDSE LdapObject while accounting for the state of the connection.
public get ( ) : LdapObject
return LdapTools\Object\LdapObject

Property Details

$connection protected_oe property

protected LdapConnectionInterface,LdapTools\Connection $connection
return LdapTools\Connection\LdapConnectionInterface

$dispatcher protected_oe property

protected EventDispatcherInterface,LdapTools\Event $dispatcher
return LdapTools\Event\EventDispatcherInterface

$schemaFactory protected_oe property

protected LdapObjectSchemaFactory,LdapTools\Factory $schemaFactory
return LdapTools\Factory\LdapObjectSchemaFactory