\Turba_Factory_Driver

A Horde_Injector:: based Turba_Driver:: factory.

Copyright 2010-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (APL). If you did not receive this file, see http://www.horde.org/licenses/apl.html.

Summary

Methods
Properties
Constants
create()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_instances
N/A

Properties

$_instances

$_instances : array

Instances.

Type

array

Methods

create()

create(mixed  $name, string  $name2 = '', array  $cfgSources = array()) : \Turba_Driver

Return the Turba_Driver:: instance.

Parameters

mixed $name

Either a string containing the internal name of this source, or a config array describing the source.

string $name2

The internal name of this source if $name is an array.

array $cfgSources

Override the global cfgSources configuration with this array. Used when an admin needs access to another user's sources like e.g., when calling removeUserData().

Throws

\Turba_Exception

Returns

\Turba_Driver

The singleton instance.