TYPO3
7.6
|
Public Member Functions | |
__construct () | |
initSession ($formPrefix= '') | |
storeSession () | |
destroySession () | |
setSessionData ($key, $value) | |
getSessionData ($key=null, $default=null) | |
setFormPrefix ($formPrefix) | |
Protected Member Functions | |
removeFiles () | |
Protected Attributes | |
$sessionData = array() | |
$formPrefix = '' | |
$frontendController | |
A session utility
Definition at line 24 of file SessionUtility.php.
__construct | ( | ) |
destroySession | ( | ) |
Destroy the session data for the form
Definition at line 89 of file SessionUtility.php.
References SessionUtility\removeFiles().
getSessionData | ( | $key = null , |
|
$default = null |
|||
) |
Retrieve a member of the $sessionData variable
If no $key is passed, returns the entire $sessionData array
string | $key | Parameter to search for |
mixed | $default | Default value to use if key not found |
Definition at line 121 of file SessionUtility.php.
References SessionUtility\$sessionData.
Referenced by SessionUtility\removeFiles(), and SessionUtility\storeSession().
initSession | ( | $formPrefix = '' | ) |
Store the form input in a session
string | $formPrefix |
Definition at line 59 of file SessionUtility.php.
References SessionUtility\$formPrefix, and SessionUtility\setFormPrefix().
|
protected |
Remove uploaded files from the typo3temp
Definition at line 145 of file SessionUtility.php.
References SessionUtility\$sessionData, SessionUtility\getSessionData(), and GeneralUtility\unlink_tempfile().
Referenced by SessionUtility\destroySession().
setFormPrefix | ( | $formPrefix | ) |
Set the form prefix
string | $formPrefix |
Definition at line 135 of file SessionUtility.php.
References SessionUtility\$formPrefix.
Referenced by SessionUtility\initSession().
setSessionData | ( | $key, | |
$value | |||
) |
Set the session Data by $key
string | $key | |
string | $value |
Definition at line 107 of file SessionUtility.php.
storeSession | ( | ) |
Store the form input in a session
Definition at line 74 of file SessionUtility.php.
References SessionUtility\getSessionData().
|
protected |
Definition at line 38 of file SessionUtility.php.
Referenced by SessionUtility\initSession(), and SessionUtility\setFormPrefix().
|
protected |
Definition at line 43 of file SessionUtility.php.
|
protected |
Definition at line 31 of file SessionUtility.php.
Referenced by SessionUtility\getSessionData(), and SessionUtility\removeFiles().