Documentation

NativeProxy extends AbstractProxy
in package

This proxy is built-in session handlers in PHP 5.3.x.

Tags
deprecated

since version 3.4, to be removed in 4.0. Use your session handler implementation directly.

author

Drak drak@zikula.org

Table of Contents

$saveHandlerName  : string
$wrapper  : bool
Flag if handler wraps an internal PHP session handler (using \SessionHandler).
__construct()  : mixed
getId()  : string
Gets the session ID.
getName()  : string
Gets the session name.
getSaveHandlerName()  : string|null
Gets the session.save_handler name.
isActive()  : bool
Has a session started?
isSessionHandlerInterface()  : bool
Is this proxy handler and instance of \SessionHandlerInterface.
isWrapper()  : bool
Returns true if this handler wraps an internal PHP session save handler using \SessionHandler.
setId()  : mixed
Sets the session ID.
setName()  : mixed
Sets the session name.

Properties

$wrapper

Flag if handler wraps an internal PHP session handler (using \SessionHandler).

protected bool $wrapper = false

Methods

__construct()

public __construct() : mixed
Return values
mixed

getId()

Gets the session ID.

public getId() : string
Return values
string

getName()

Gets the session name.

public getName() : string
Return values
string

getSaveHandlerName()

Gets the session.save_handler name.

public getSaveHandlerName() : string|null
Return values
string|null

isActive()

Has a session started?

public isActive() : bool
Return values
bool

isSessionHandlerInterface()

Is this proxy handler and instance of \SessionHandlerInterface.

public isSessionHandlerInterface() : bool
Return values
bool

isWrapper()

Returns true if this handler wraps an internal PHP session save handler using \SessionHandler.

public isWrapper() : bool
Return values
bool

False

setId()

Sets the session ID.

public setId(string $id) : mixed
Parameters
$id : string
Tags
throws
LogicException
Return values
mixed

setName()

Sets the session name.

public setName(string $name) : mixed
Parameters
$name : string
Tags
throws
LogicException
Return values
mixed

Search results