|
Previous Page |
Solar_Session |
Next Page |
Methods
Public
__construct()- Constructor.
__destruct()- Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
add()- Appends a normal value to a key.
addFlash()- Appends a flash value to a key.
apiVersion()- Reports the API version for this class.
dump()- Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
get()- Gets a normal value by key, or an alternative default value if the key does not exist.
getFlash()- Gets a flash value by key, thereby removing the value.
hasFlash()- Whether or not the session currently has a particular flash key stored.
locale()- Looks up class-specific locale strings based on a key.
regenerateId()- Regenerates the session ID and deletes the previous session store.
reset()- Resets (clears) all normal keys and values.
resetAll()- Resets both "normal" and "flash" values.
resetFlash()- Resets (clears) all flash keys and values.
set()- Sets a normal value by key.
setClass()- Sets the class segment for $_SESSION.
setFlash()- Sets a flash value by key.
Protected
_exception()- Convenience method for returning exceptions with localized text.
_setHandler()- Sets the save-handler for all session objects.
Private
None.