Свойство | Type | Description | |
---|---|---|---|
$objInstance | Object instance (Singleton) |
Méthode | 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 |
Méthode | Description | |
---|---|---|
__construct ( ) | Get the session data |
Méthode | 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 ( ) : |
||
Résultat | The object instance |