\Horde_Core_Factory_KolabServer

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.

Summary

Methods
Properties
Constants
__construct()
getConnection()
getConfiguration()
getServer()
getObjects()
getStructure()
getSearch()
getSchema()
create()
No public properties found
No constants found
_getDriverName()
$_injector
N/A
_setup()
_setupConfiguration()
_setupConnection()
_setupObjects()
_setupSearch()
_setupSchema()
_setupStructure()
_setupServer()
No private properties found
N/A

Properties

$_injector

$_injector : \Horde_Injector

The injector.

Type

\Horde_Injector

Methods

__construct()

__construct(\Horde_Injector  $injector) 

Constructor.

Parameters

\Horde_Injector $injector

The injector to use.

getConnection()

getConnection() : \Horde_Kolab_Server

Return the conn server connection that should be used.

Returns

\Horde_Kolab_Server —

The Horde_Kolab_Server connection.

getConfiguration()

getConfiguration() : array

Returns the server configuration parameters.

Returns

array —

The configuration parameters.

getServer()

getServer() : \Horde_Kolab_Server

Return the server connection that should be used.

Returns

\Horde_Kolab_Server —

The Horde_Kolab_Server connection.

getObjects()

getObjects() : \Horde_Kolab_Server_Objects

Return the object handler that should be used.

Returns

\Horde_Kolab_Server_Objects —

The handler for objects on the server.

getStructure()

getStructure() : \Horde_Kolab_Server_Structure

Return the structural representation that should be used.

Returns

\Horde_Kolab_Server_Structure —

The representation of the db structure.

getSearch()

getSearch() : \Horde_Kolab_Server_Search

Return the search handler that should be used.

Returns

\Horde_Kolab_Server_Search —

The search handler.

getSchema()

getSchema() : \Horde_Kolab_Server_Schema

Return the db schema representation that should be used.

Returns

\Horde_Kolab_Server_Schema —

The db schema representation.

create()

create() : \Horde_Kolab_Server_Composite

Returns a concrete Horde_Kolab_Server_Composite instance.

Returns

\Horde_Kolab_Server_Composite —

The newly created concrete Horde_Kolab_Server_Composite instance.

_getDriverName()

_getDriverName(string  $driver, string  $base) : string

Return the classname of the driver to load.

Parameters

string $driver

Driver name.

string $base

The base classname.

Throws

\Horde_Exception

Returns

string —

Classname.

_setup()

_setup() : NULL

Setup the machinery to create Horde_Kolab_Server objects.

Returns

NULL

_setupConfiguration()

_setupConfiguration() : NULL

Inject the server configuration.

Returns

NULL

_setupConnection()

_setupConnection() : NULL

Setup the machinery to create a Horde_Kolab_Server_Connection.

Returns

NULL

_setupObjects()

_setupObjects() : NULL

Setup the machinery to create a Horde_Kolab_Server_Objects handler.

Returns

NULL

_setupSearch()

_setupSearch() : NULL

Setup the machinery to create a Horde_Kolab_Server_Search handler.

Returns

NULL

_setupSchema()

_setupSchema() : NULL

Setup the machinery to create a Horde_Kolab_Server_Schema handler.

Returns

NULL

_setupStructure()

_setupStructure() : NULL

Setup the machinery to create a Horde_Kolab_Server_Structure handler.

Returns

NULL

_setupServer()

_setupServer() : NULL

Setup the machinery to create a Horde_Kolab_Server.

Returns

NULL