PHP Class Horde_Core_Factory_KolabServer, 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.
Inheritance: extends Horde_Core_Factory_Base
ファイルを表示 Open project: horde/horde

Public Methods

Method Description
__construct ( Horde_Injector $injector )
create ( ) : Horde_Kolab_Server_Composite Returns a concrete Horde_Kolab_Server_Composite instance.
getConfiguration ( ) : array 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.

Private Methods

Method Description
_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.

Method Details

__construct() public method

public __construct ( Horde_Injector $injector )
$injector Horde_Injector

create() public method

Returns a concrete Horde_Kolab_Server_Composite instance.
public create ( ) : Horde_Kolab_Server_Composite
return Horde_Kolab_Server_Composite The newly created concrete Horde_Kolab_Server_Composite instance.

getConfiguration() public method

Returns the server configuration parameters.
public getConfiguration ( ) : array
return array The configuration parameters.

getConnection() public method

Return the conn server connection that should be used.
public getConnection ( ) : Horde_Kolab_Server
return Horde_Kolab_Server The Horde_Kolab_Server connection.

getObjects() public method

Return the object handler that should be used.
public getObjects ( ) : Horde_Kolab_Server_Objects
return Horde_Kolab_Server_Objects The handler for objects on the server.

getSchema() public method

Return the db schema representation that should be used.
public getSchema ( ) : Horde_Kolab_Server_Schema
return Horde_Kolab_Server_Schema The db schema representation.

getSearch() public method

Return the search handler that should be used.
public getSearch ( ) : Horde_Kolab_Server_Search
return Horde_Kolab_Server_Search The search handler.

getServer() public method

Return the server connection that should be used.
public getServer ( ) : Horde_Kolab_Server
return Horde_Kolab_Server The Horde_Kolab_Server connection.

getStructure() public method

Return the structural representation that should be used.
public getStructure ( ) : Horde_Kolab_Server_Structure
return Horde_Kolab_Server_Structure The representation of the db structure.