Session manager

Sets up session for the current user.

Class Methods

The following methods can be invoked on instances of this class.

start()

Starts the session

restart()

Restarts the session

destroy()

Destroys the session

getSessionId()

Returns the current PHP session id

isNew()

Returns whether or not the session is new for this request

get(string strKey)

Returns a session value

getIsSet(string strKey)

Returns if a session value has been set

set(mixed strKey, string strValue)

Sets a session value

delete(string strKey)

Deletes / unsets a session value

setArrayValue(mixed strArrayKey, mixed strKey, mixed strValue)

getArrayValue(mixed strArrayKey, mixed strKey)

getArrayValueIsSet(mixed strArrayKey, mixed strKey)

unsetArrayValue(mixed strArrayKey, mixed strKey)

__call(mixed strName, array arrArguments)

Magic function to trap calls to undefined functions and throw an exception rather than
a fatal error.

__callStatic(mixed strName, array arrArguments)

Magic function to trap static calls to undefined functions and throw an exception rather
than a fatal error.

classGetFolder()

Returns the folder where the class exists

__set_state(mixed arrValues)

classGetFolderResources()

Returns the folder where the class's resources exist

classGetSrcFile()

Returns the folder where the class exists

classGetSrcHash()

Returns the folder where the class exists

classGetReflection()

Returns the reflection data for the current class

classGetReflectionAnnotation(string strField)

Returns a specific class annotation for the current class