VuFind API Documentation

Session extends RowGateway
in package
implements SessionEntityInterface

Row Definition for session

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Main Site

Interfaces, Classes, Traits and Enums

SessionEntityInterface
Interface for representing a session row.

Table of Contents

$created  : string
$data  : string
$id  : int
$last_used  : int
$session_id  : string|null
__construct()  : mixed
Constructor
getData()  : string|null
Get session data.
getId()  : int
Id getter
getLastUsed()  : int
Get time when the session was last used.
getPrimaryKeyColumn()  : array<string|int, mixed>
Retrieve primary key information.
setCreated()  : SessionEntityInterface
Created setter.
setData()  : SessionEntityInterface
Session data setter.
setLastUsed()  : SessionEntityInterface
Set time the session is last used.
setSessionId()  : SessionEntityInterface
Session Id setter

Properties

$session_id

public string|null $session_id

Methods

__construct()

Constructor

public __construct(Adapter $adapter) : mixed
Parameters
$adapter : Adapter

Database adapter

Return values
mixed

getData()

Get session data.

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

getId()

Id getter

public getId() : int
Return values
int

getLastUsed()

Get time when the session was last used.

public getLastUsed() : int
Return values
int

getPrimaryKeyColumn()

Retrieve primary key information.

public getPrimaryKeyColumn() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results