Bitrix API

Session implements SessionInterface, ArrayAccess uses ArrayAccessWithReferences

Table of Contents

Interfaces

SessionInterface
ArrayAccess

Methods

__construct()  : mixed
Session constructor.
clear()  : void
delete()  : mixed
destroy()  : void
disableDebug()  : self
disableIgnoringSessionStartErrors()  : self
disableLazyStart()  : self
enableDebug()  : self
enableIgnoringSessionStartErrors()  : self
enableLazyStart()  : self
get()  : mixed
getDebugger()  : Debugger
getId()  : string
getName()  : string
getSessionHandler()  : SessionHandlerInterface|null
has()  : mixed
isAccessible()  : bool
isActive()  : bool
isStarted()  : bool
offsetExists()  : bool
offsetGet()  : mixed
offsetSet()  : void
offsetUnset()  : void
refineReferencesBeforeSave()  : void
regenerateId()  : bool
remove()  : mixed
save()  : void
set()  : mixed
setId()  : void
setName()  : void
start()  : bool

Methods

__construct()

Session constructor.

public __construct([SessionHandlerInterface $sessionHandler = null ]) : mixed
Parameters
$sessionHandler : SessionHandlerInterface = null

disableDebug()

public disableDebug() : self
Return values
self

disableIgnoringSessionStartErrors()

public disableIgnoringSessionStartErrors() : self
Return values
self

disableLazyStart()

public disableLazyStart() : self
Return values
self

enableDebug()

public enableDebug() : self
Return values
self

enableIgnoringSessionStartErrors()

public enableIgnoringSessionStartErrors() : self
Return values
self

enableLazyStart()

public enableLazyStart() : self
Return values
self

getId()

public getId() : string
Return values
string

getName()

public getName() : string
Return values
string

getSessionHandler()

public getSessionHandler() : SessionHandlerInterface|null
Return values
SessionHandlerInterface|null

isAccessible()

public isAccessible() : bool
Return values
bool

isActive()

public isActive() : bool
Return values
bool

isStarted()

public isStarted() : bool
Return values
bool

offsetGet()

public & offsetGet(mixed $offset) : mixed
Parameters
$offset : mixed
Attributes
#[ReturnTypeWillChange]

offsetSet()

public offsetSet(mixed $offset, mixed $value) : void
Parameters
$offset : mixed
$value : mixed

regenerateId()

public regenerateId() : bool
Return values
bool

setId()

public setId(mixed $id) : void
Parameters
$id : mixed

setName()

public setName(mixed $name) : void
Parameters
$name : mixed

start()

public start() : bool
Return values
bool

        
On this page

Search results