PHP Class Horde_Kolab_Server_Factory, horde
Copyright 2008-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.
Mostrar archivo
Open project: horde/horde
Class Usage Examples
Public Methods
Method |
Description |
|
getBindings ( ) : array |
Return the suggested interface bindings for the Kolab Server components. |
|
getConnection ( array $configuration ) : Horde_Kolab_Server_Connection |
Return the server connection that should be used. |
|
getServer ( array $configuration, mixed $logger ) : Horde_Kolab_Server_Interface |
Return the server connection that should be used. |
|
Private Methods
Method |
Description |
|
getStructure ( array $configuration ) : Horde_Kolab_Server_Structure_Interface |
Setup the machinery to create a Horde_Kolab_Server_Structure handler. |
|
Method Details
getBindings()
public method
Return the suggested interface bindings for the Kolab Server components.
getConnection()
public method
Return the server connection that should be used.
public getConnection ( array $configuration ) : Horde_Kolab_Server_Connection |
$configuration |
array |
The configuration parameters for the
connection. (@todo: describe parameters) |
return |
Horde_Kolab_Server_Connection |
The connection to the server. |
getServer()
public method
Return the server connection that should be used.
public getServer ( array $configuration, mixed $logger ) : Horde_Kolab_Server_Interface |
$configuration |
array |
The configuration parameters for the
server. (@todo: describe parameters) |
$logger |
mixed |
The logger (@todo: which methods need to be provided?) |
return |
Horde_Kolab_Server_Interface |
The Horde_Kolab_Server connection. |