Horde_Core_Factory_KolabSession
extends Horde_Core_Factory_Base
in package
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.
Tags
Table of Contents
Properties
- $_injector : Horde_Injector
- The injector.
Methods
- __construct() : mixed
- Constructor.
- create() : Horde_Kolab_Session
- Return the Horde_Kolab_Session:: instance.
- createSession() : Horde_Kolab_Session
- Returns a new session handler.
- createSessionValidator() : Horde_Kolab_Session_Valid_Interface
- Return the session validation driver.
- _getDriverName() : string
- Return the classname of the driver to load.
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()
Return the Horde_Kolab_Session:: instance.
public
create() : Horde_Kolab_Session
Return values
Horde_Kolab_Session —The session handler.
createSession()
Returns a new session handler.
public
createSession() : Horde_Kolab_Session
Return values
Horde_Kolab_Session —The concrete Kolab session reference.
createSessionValidator()
Return the session validation driver.
public
createSessionValidator(Horde_Kolab_Session $session, mixed $auth) : Horde_Kolab_Session_Valid_Interface
Parameters
- $session : Horde_Kolab_Session
-
The session to validate.
- $auth : mixed
-
The user ID or false if no user is logged in.
Return values
Horde_Kolab_Session_Valid_Interface —The driver for validating sessions.
_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
Return values
string —Classname.