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

Public Member Functions

 __construct ($value, $duration)
 
 getValue ()
 
 getDuration ()
 
 getCreationTime ()
 
 setValue ($value)
 
 setDuration ($duration)
 
 isExpired ()
 
 getTimeout ()
 

Protected Attributes

 $value
 
 $duration
 
int $creationTime
 

Detailed Description

Definition at line 5 of file SessionObject.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $value,
  $duration 
)

Definition at line 10 of file SessionObject.php.

Member Function Documentation

◆ getCreationTime()

getCreationTime ( )
Returns
int

Definition at line 39 of file SessionObject.php.

◆ getDuration()

getDuration ( )
Returns
mixed

Definition at line 31 of file SessionObject.php.

◆ getTimeout()

getTimeout ( )
Returns
int

Definition at line 75 of file SessionObject.php.

◆ getValue()

getValue ( )
Returns
mixed

Definition at line 20 of file SessionObject.php.

◆ isExpired()

isExpired ( )
Returns
boolean

Definition at line 67 of file SessionObject.php.

◆ setDuration()

setDuration (   $duration)
Parameters
mixed$duration

Definition at line 59 of file SessionObject.php.

◆ setValue()

setValue (   $value)
Parameters
mixed$value
Returns
mixed

Definition at line 48 of file SessionObject.php.

Field Documentation

◆ $creationTime

int $creationTime
protected

Definition at line 8 of file SessionObject.php.

◆ $duration

$duration
protected

Definition at line 7 of file SessionObject.php.

◆ $value

$value
protected

Definition at line 6 of file SessionObject.php.


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