Documentation

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
category

Horde

author

Gunnar Wrobel wrobel@pardus.de

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

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
throws
Horde_Exception
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
Return values
null

        
On this page

Search results