$sessiongetAllFor()

Get all session variables for given namespace and return associative array

Available since version 3.0.141. Method added for consistency, but any version can do this with $session->getFor($ns, '');

Usage

$array = $session->getAllFor($ns);

Arguments

NameType(s)Description
$nsstring Wire

Return value

array


$session methods and properties

API reference based on ProcessWire core version 3.0.252