PHP Class Horde_Core_Factory_Ldap, horde

Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: extends Horde_Core_Factory_Base
Show file Open project: horde/horde

Public Methods

Method Description
create ( string $app = 'horde', string | array $backend = null ) : Horde_Ldap Return the LDAP instance.
getConfig ( $backend )

Method Details

create() public method

Return the LDAP instance.
public create ( string $app = 'horde', string | array $backend = null ) : Horde_Ldap
$app string The application.
$backend string | array The backend, see Horde::getDriverConfig(). If this is an array, this is used as the configuration array.
return Horde_Ldap The singleton instance.

getConfig() public method

public getConfig ( $backend )