$session→message()
Queue a message to appear on the next pageview
Usage
// basic usage
$session->message(string $text);
// usage with all arguments
$session->message(string $text, int $flags = 0);Arguments
| Name | Type(s) | Description |
|---|---|---|
$text | string | Message to queue |
$flags (optional) | int | Optional flags, See Notice::flags |
Return value
$thisObject instance it was called from (method supports fluent interface).
$session methods and properties
API reference based on ProcessWire core version 3.0.252