Property | Type | Description | |
---|---|---|---|
$objInstance | Object instance (Singleton) |
Method | Description | |
---|---|---|
__clone ( ) | Prevent cloning of the object (Singleton) | |
appendData ( mixed $varData ) | Append data to the session | |
get ( string $strKey ) : mixed | Return a session variable | |
getData ( ) : array | Return the session data as array | |
getInstance ( ) : |
Return the object instance (Singleton) | |
remove ( string $strKey ) | Remove a session variable | |
set ( string $strKey, mixed $varValue ) | Set a session variable | |
setData ( array $arrData ) | Set the session data from an array |
Method | Description | |
---|---|---|
__construct ( ) | Get the session data |
Method | Description | |
---|---|---|
getSessionBagKey ( ) : string | Gets the correct session bag key depending on the Contao environment |
public appendData ( mixed $varData ) | ||
$varData | mixed | The data object or array |
public static getInstance ( ) : |
||
return | The object instance |