\Horde_Kolab_Server_Factory

A 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.

Summary

Methods
Properties
Constants
getBindings()
getConnection()
getServer()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getStructure()
No private properties found
N/A

Methods

getBindings()

getBindings() : array

Return the suggested interface bindings for the Kolab Server components.

Returns

array —

The bindings.

getConnection()

getConnection(array  $configuration) : \Horde_Kolab_Server_Connection

Return the server connection that should be used.

Parameters

array $configuration

The configuration parameters for the connection. (@todo: describe parameters)

Returns

\Horde_Kolab_Server_Connection —

The connection to the server.

getServer()

getServer(array  $configuration, mixed  $logger) : \Horde_Kolab_Server_Interface

Return the server connection that should be used.

Parameters

array $configuration

The configuration parameters for the server. (@todo: describe parameters)

mixed $logger

The logger (@todo: which methods need to be provided?)

Returns

\Horde_Kolab_Server_Interface

The Horde_Kolab_Server connection.

getStructure()

getStructure(array  $configuration) : \Horde_Kolab_Server_Structure_Interface

Setup the machinery to create a Horde_Kolab_Server_Structure handler.

Parameters

array $configuration

The configuration parameters for the connection. (@todo: describe parameters)

Returns

\Horde_Kolab_Server_Structure_Interface