File path: dist/twist/Core/Helpers/Session.helper.php
Namespace: Twist\Core\Helpers
Extends: Base
data
— Set and get the Twist session data
Passing only a key will return the data stored against that key, pass in a value as well will set and return the result
Name | Description |
---|---|
$strKey | n/a |
[$mxdValue = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strKey = 'foo';
$mxdValue = null;
//Call the function data with the example vars
Twist::Session() -> data($strKey, $mxdValue);