PHP Class Turba_Factory_Driver, horde

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

Public Methods

Method Description
create ( mixed $name, string $name2 = '' ) : Turba_Driver Return the Turba_Driver:: instance.

Method Details

create() public method

Return the Turba_Driver:: instance.
public create ( mixed $name, string $name2 = '' ) : Turba_Driver
$name mixed Either a string containing the internal name of this source, or a config array describing the source.
$name2 string The internal name of this source if $name is an array.
return Turba_Driver The singleton instance.