TwistPHP Documentation


File path: dist/twist/Core/Helpers/Session.helper.php
Namespace: Twist\Core\Helpers
Extends: Base

dataSet 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 Type Description
[$mxdValue = null]mixedn/a

Return Values

void — No return information has been documented for this function.


//Set the variables for the example
$strKey 'foo';
$mxdValue null;

//Call the function data with the example vars
Twist::Session() -> data($strKey$mxdValue);