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