\Horde_Core_Factory_KolabSession

A Horde_Injector:: based Horde_Kolab_Session:: factory.

Copyright 2009-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()
createSessionValidator()
createSession()
create()
No public properties found
No constants found
_getDriverName()
$_injector
N/A
No private methods found
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.

createSessionValidator()

createSessionValidator(\Horde_Kolab_Session  $session, mixed  $auth) : \Horde_Kolab_Session_Valid_Interface

Return the session validation driver.

Parameters

\Horde_Kolab_Session $session

The session to validate.

mixed $auth

The user ID or false if no user is logged in.

Returns

\Horde_Kolab_Session_Valid_Interface —

The driver for validating sessions.

createSession()

createSession() : \Horde_Kolab_Session

Returns a new session handler.

Returns

\Horde_Kolab_Session —

The concrete Kolab session reference.

create()

create() : \Horde_Kolab_Session

Return the Horde_Kolab_Session:: instance.

Returns

\Horde_Kolab_Session —

The session handler.

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