File path: dist/twist/Core/Utilities/Session.utility.php
Namespace: Twist\Core\Utilities
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);