Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
PhpSession Class Reference

Default php session. More...

+ Inheritance diagram for PhpSession:

Public Member Functions

 set (string $key, $value)
 
 get (string $key, $default=null)
 
 start (string $name=null)
 
 terminate ()
 
 isStarted ()
 
 exists (string $key)
 
 getAll ()
 
 delete (string $key)
 
 regenerateId (bool $deleteOldSession=false)
 Re-generates the session id.
 
 visitorCount ()
 
- Public Member Functions inherited from AbstractSession
 __construct (?VerifySessionCsrfInterface $verifyCsrf=null)
 
 getVerifyCsrf ()
 

Additional Inherited Members

- Protected Attributes inherited from AbstractSession
string $name
 
VerifySessionCsrfInterface $verifyCsrf
 

Detailed Description

Default php session.

Ubiquity\utils\http\session$PhpSession This class is part of Ubiquity

Author
jcheron myadd.nosp@m.ress.nosp@m.mail@.nosp@m.gmai.nosp@m.l.com
Version
1.0.3

Definition at line 14 of file PhpSession.php.

Member Function Documentation

◆ delete()

delete ( string  $key)

Reimplemented from AbstractSession.

Definition at line 63 of file PhpSession.php.

◆ exists()

exists ( string  $key)

Reimplemented from AbstractSession.

Definition at line 55 of file PhpSession.php.

◆ get()

get ( string  $key,
  $default = null 
)

Reimplemented from AbstractSession.

Definition at line 20 of file PhpSession.php.

◆ getAll()

getAll ( )

Reimplemented from AbstractSession.

Definition at line 59 of file PhpSession.php.

◆ isStarted()

isStarted ( )

Reimplemented from AbstractSession.

Definition at line 51 of file PhpSession.php.

◆ regenerateId()

regenerateId ( bool  $deleteOldSession = false)

Re-generates the session id.

Parameters
boolean$deleteOldSessionif true, deletes the old session
Returns
bool

Reimplemented from AbstractSession.

Definition at line 67 of file PhpSession.php.

◆ set()

set ( string  $key,
  $value 
)

Reimplemented from AbstractSession.

Definition at line 16 of file PhpSession.php.

◆ start()

start ( string  $name = null)

Reimplemented from AbstractSession.

Definition at line 24 of file PhpSession.php.

◆ terminate()

terminate ( )

Reimplemented from AbstractSession.

Definition at line 37 of file PhpSession.php.

◆ visitorCount()

visitorCount ( )

Reimplemented from AbstractSession.

Definition at line 71 of file PhpSession.php.


The documentation for this class was generated from the following file: