OPEN SOURCE SOCIAL NETWORK 6.6
Loading...
Searching...
No Matches
OssnSession Class Reference
Inheritance diagram for OssnSession:
OssnBase OssnDatabase OssnComponents OssnEntities OssnLikes OssnNotifications OssnPoke OssnProfile OssnSearch OssnSite

Static Public Member Functions

static start ()
 
static assign ($name='', $value='')
 
static unassign ($name='')
 
static isSession ($name='')
 
static getSession ($name='')
 

Member Function Documentation

◆ assign()

static assign (   $name = '',
  $value = '' 
)
static

Assign value to session

Parameters
string$nameA session ID
string$valueA value
Returns
void

◆ getSession()

static getSession (   $name = '')
static

Get the session value

Parameters
string$nameA session ID
Returns
mixed

◆ isSession()

static isSession (   $name = '')
static

Check if the session exists or not

Parameters
string$nameA session ID
Returns
boolean

◆ start()

static start ( )
static

Start session

Returns
void

◆ unassign()

static unassign (   $name = '')
static

Remove session

Parameters
string$nameA session ID
Returns
void

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