Get a Lister session variable
Usage
// basic usage
$string = $processPageLister->sessionGet(string $key);
// usage with all arguments
$string = $processPageLister->sessionGet(string $key, $fallback = null);
Arguments
Name | Type(s) | Description |
---|---|---|
key | string | |
fallback (optional) | array, string, int | Optional fallback value if session value not present |
Return value
string
int
array
null
ProcessPageLister methods and properties
API reference based on ProcessWire core version 3.0.236