PHP Class Horde_Core_Factory_Imsp, horde
Copyright 2011-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.
Mostra file
Open project: horde/horde
Protected Properties
Public Methods
Method |
Description |
|
__construct ( Horde_Injector $injector ) |
Constructor |
|
create ( type $driver = null, array $params = [] ) : Horde_Imsp |
Create an instance of a Horde_Imsp class. |
|
Protected Methods
Method Details
__construct()
public method
public __construct ( Horde_Injector $injector ) |
$injector |
Horde_Injector |
|
_factory()
protected method
protected _factory ( string $driver = null, array $params = [] ) : mixed |
$driver |
string |
The driver type, leave empty for client connection |
$params |
array |
The driver parameters, leave empty to use default. |
return |
mixed |
The Horde_Imsp object or Horde_Imsp_Client object. |
Create an instance of a Horde_Imsp class.
public create ( type $driver = null, array $params = [] ) : Horde_Imsp |
$driver |
type |
The driver type. |
$params |
array |
Driver params. |
return |
Horde_Imsp |
The Horde_Imsp object |
Property Details
$_injector protected_oe property
protected Horde_Injector $_injector |
return |
Horde_Injector |
|
$_instances protected_oe property
protected array $_instances |
return |
array |
|