rapila
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Session Class Reference

Public Member Functions

 __sleep ()
 
 __wakeup ()
 
 isAuthenticated ()
 
 isBackendAuthenticated ()
 
 login ($sUsername, $sPassword)
 
 loginUsingDigest ()
 
 logout ()
 
 getLanguage ($bObject=false)
 
 setLanguage ($sLanguage)
 
 setAttribute ($sAttribute, $mValue)
 
 setArrayAttributeValueForKey ($sAttribute, $sKey, $mValue=null)
 
 getArrayAttributeValueForKey ($sAttribute, $sKey)
 
 getAttribute ($sAttribute)
 
 resetAttribute ($sAttribute)
 
 hasAttribute ($sAttribute)
 
 getUser ()
 
 getUserId ()
 

Static Public Member Functions

static close ()
 
static startDigest ()
 
static sessionDefaultFor ($sAttribute)
 
static language ($bObject=false)
 
static user ($bObject=true)
 
static getSession ()
 
static getRealm ()
 

Public Attributes

const SESSION_LANGUAGE_KEY = "language"
 
const SESSION_OBJECT_KEY = "session_object_key"
 
const SESSION_LAST_EDIT_MODULE = 'last_edit_module'
 
const SESSION_LAST_EDIT_ID = 'last_edit_id'
 
const USER_IS_VALID = 1
 
const USER_IS_DEFAULT_USER = 2
 
const USER_IS_INACTIVE = 4
 
const USER_IS_FRONTEND_ONLY = 8
 
const USER_NEEDS_PASSWORD_RESET = 16
 

Detailed Description

class Session

Member Function Documentation

static Session::close ( )
static

Closes the session. Changes on objects in the session made after the call to close will not be persisted across page loads.

Returns
the read-only session
static Session::language (   $bObject = false)
static

Shortcut for Session::getSession()->getLanguage();

static Session::user (   $bObject = true)
static

Shortcut for Session::getSession()->getUser();


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