Horde_Core_Factory_Imple
extends Horde_Core_Factory_Base
in package
A Horde_Injector:: based Horde_Core_Ajax_Imple:: factory.
Copyright 2010-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
Properties
- $_injector : Horde_Injector
- The injector.
Methods
- __construct() : mixed
- Constructor.
- create() : Horde_Core_Ajax_Imple
- Attempts to return a concrete Imple instance.
- _getDriverName() : string
- Return the classname of the driver to load.
Properties
$_injector
The injector.
protected
Horde_Injector
$_injector
Methods
__construct()
Constructor.
public
__construct(Horde_Injector $injector) : mixed
Parameters
- $injector : Horde_Injector
-
The injector to use.
create()
Attempts to return a concrete Imple instance.
public
create(string $driver[, array<string|int, mixed> $params = array() ][, bool $noattach = false ]) : Horde_Core_Ajax_Imple
Parameters
- $driver : string
-
The driver name.
- $params : array<string|int, mixed> = array()
-
A hash containing any additional configuration or parameters a subclass might need.
- $noattach : bool = false
-
Don't attach on creation.
Tags
Return values
Horde_Core_Ajax_Imple —The newly created instance.
_getDriverName()
Return the classname of the driver to load.
protected
_getDriverName(string $driver, string $base) : string
Parameters
- $driver : string
-
Driver name.
- $base : string
-
The base classname.
Tags
Return values
string —Classname.