includes/class/Session.class.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Broker
Package
Broker  

\Broker\Session

Package: Broker
Session handler
Implements
Parent(s)
\Broker\Database
Inherited_from
\Broker\Database  

Properties

>VPropertyprivatestring $classname
Classname
Details
Type
string
>VPropertypublicobject $configuration
Configuration
Details
Type
object
>VPropertypublic\PDO $database
Database
Details
Type
\PDO
>VPropertypublicstring $filename
Filename
Details
Type
string

Methods

methodpublic__construct(string $directory) : void

Constructor

Parameters
NameTypeDescription
$directorystring
methodpublic__construct(string $directory, object $configuration, string $classname) : void
inherited

Constructor

Inherited from:
Parameters
NameTypeDescription
$directorystring
$configurationobject
$classnamestring
methodpublic__destruct() : void

Destruct

methodpublicclose() : void

Close

Details
See
 
methodpublicdestroy(string $session_id) : void

Destroy

Parameters
NameTypeDescription
$session_idstring
Details
See
 
methodpublicerrorCheck(string $source, \PDOStatement $query, boolean $removeDatabase) : void
inherited

Check for errors

Inherited from:
Parameters
NameTypeDescription
$sourcestring
$query\PDOStatement
$removeDatabaseboolean
methodpublicgc(\Broker\number $maxlifetime) : void

Garbage collect

Parameters
NameTypeDescription
$maxlifetime\Broker\number
Details
See
 
methodpublicinit() : void

Initialize

methodpublicinit() : void
abstractinherited

Init

Inherited from:
methodpublicnumber() : \Broker\number
inherited

Get number

Inherited from:
Returns
TypeDescription
\Broker\number
methodpublicopen(string $save_path, string $session_name) : void

Open

Parameters
NameTypeDescription
$save_pathstring
$session_namestring
Details
See
 
methodpublicread(string $session_id) : void

Read

Parameters
NameTypeDescription
$session_idstring
Details
See
 
methodpublicreset() : void
inherited

Reset

Inherited from:
methodpublicwrite(string $session_id, object $session_data) : void

Write

Parameters
NameTypeDescription
$session_idstring
$session_dataobject
Details
See
 
Documentation was generated by phpDocumentor 2.8.5.