Horde_Core_Factory_KolabServer
extends Horde_Core_Factory_Base
in package
A Horde_Injector:: based Horde_Kolab_Server:: factory.
Copyright 2008-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_Kolab_Server_Composite
- Returns a concrete Horde_Kolab_Server_Composite instance.
- getConfiguration() : array<string|int, mixed>
- Returns the server configuration parameters.
- getConnection() : Horde_Kolab_Server
- Return the conn server connection that should be used.
- getObjects() : Horde_Kolab_Server_Objects
- Return the object handler that should be used.
- getSchema() : Horde_Kolab_Server_Schema
- Return the db schema representation that should be used.
- getSearch() : Horde_Kolab_Server_Search
- Return the search handler that should be used.
- getServer() : Horde_Kolab_Server
- Return the server connection that should be used.
- getStructure() : Horde_Kolab_Server_Structure
- Return the structural representation that should be used.
- _getDriverName() : string
- Return the classname of the driver to load.
- _setup() : null
- Setup the machinery to create Horde_Kolab_Server objects.
- _setupConfiguration() : null
- Inject the server configuration.
- _setupConnection() : null
- Setup the machinery to create a Horde_Kolab_Server_Connection.
- _setupObjects() : null
- Setup the machinery to create a Horde_Kolab_Server_Objects handler.
- _setupSchema() : null
- Setup the machinery to create a Horde_Kolab_Server_Schema handler.
- _setupSearch() : null
- Setup the machinery to create a Horde_Kolab_Server_Search handler.
- _setupServer() : null
- Setup the machinery to create a Horde_Kolab_Server.
- _setupStructure() : null
- Setup the machinery to create a Horde_Kolab_Server_Structure handler.
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()
Returns a concrete Horde_Kolab_Server_Composite instance.
public
create() : Horde_Kolab_Server_Composite
Return values
Horde_Kolab_Server_Composite —The newly created concrete Horde_Kolab_Server_Composite instance.
getConfiguration()
Returns the server configuration parameters.
public
getConfiguration() : array<string|int, mixed>
Return values
array<string|int, mixed> —The configuration parameters.
getConnection()
Return the conn server connection that should be used.
public
getConnection() : Horde_Kolab_Server
Return values
Horde_Kolab_Server —The Horde_Kolab_Server connection.
getObjects()
Return the object handler that should be used.
public
getObjects() : Horde_Kolab_Server_Objects
Return values
Horde_Kolab_Server_Objects —The handler for objects on the server.
getSchema()
Return the db schema representation that should be used.
public
getSchema() : Horde_Kolab_Server_Schema
Return values
Horde_Kolab_Server_Schema —The db schema representation.
getSearch()
Return the search handler that should be used.
public
getSearch() : Horde_Kolab_Server_Search
Return values
Horde_Kolab_Server_Search —The search handler.
getServer()
Return the server connection that should be used.
public
getServer() : Horde_Kolab_Server
Return values
Horde_Kolab_Server —The Horde_Kolab_Server connection.
getStructure()
Return the structural representation that should be used.
public
getStructure() : Horde_Kolab_Server_Structure
Return values
Horde_Kolab_Server_Structure —The representation of the db structure.
_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.
_setup()
Setup the machinery to create Horde_Kolab_Server objects.
private
_setup() : null
Return values
null_setupConfiguration()
Inject the server configuration.
private
_setupConfiguration() : null
Return values
null_setupConnection()
Setup the machinery to create a Horde_Kolab_Server_Connection.
private
_setupConnection() : null
Return values
null_setupObjects()
Setup the machinery to create a Horde_Kolab_Server_Objects handler.
private
_setupObjects() : null
Return values
null_setupSchema()
Setup the machinery to create a Horde_Kolab_Server_Schema handler.
private
_setupSchema() : null
Return values
null_setupSearch()
Setup the machinery to create a Horde_Kolab_Server_Search handler.
private
_setupSearch() : null
Return values
null_setupServer()
Setup the machinery to create a Horde_Kolab_Server.
private
_setupServer() : null
Return values
null_setupStructure()
Setup the machinery to create a Horde_Kolab_Server_Structure handler.
private
_setupStructure() : null