PHP Class Horde_Core_Factory_SessionHandler, horde

Copyright 2010-2016 Horde LLC (http://www.horde.org/)
Inheritance: extends Horde_Core_Factory_Injector
Datei anzeigen Open project: horde/horde

Public Properties

Property Type Description
$storage Horde_SessionHandler_Storage Storage driver.

Public Methods

Method Description
create ( Horde_Injector $injector ) : Horde_SessionHandler_Driver Attempts to return a concrete instance based on $driver.
readSessionData ( string $session_data ) : array Reads session data to determine if it contains Horde authentication credentials.

Protected Methods

Method Description
_returnTrue ( ) : boolean Stub method.

Method Details

_returnTrue() protected method

Stub method.
protected _returnTrue ( ) : boolean
return boolean True

create() public method

Attempts to return a concrete instance based on $driver.
public create ( Horde_Injector $injector ) : Horde_SessionHandler_Driver
$injector Horde_Injector
return Horde_SessionHandler_Driver The newly created concrete instance.

readSessionData() public method

Reads session data to determine if it contains Horde authentication credentials.
public readSessionData ( string $session_data ) : array
$session_data string The session data.
return array An array of the user's sesion information if authenticated or false. The following information is returned: userid, timestamp, remoteAddr, browser, apps.

Property Details

$storage public_oe property

Storage driver.
Since: 2.5.0
public Horde_SessionHandler_Storage $storage
return Horde_SessionHandler_Storage