WireSaveableItems::error()
Record an error
Usage
// basic usage
$wire = $wireSaveableItems->error(string $text);
// usage with all arguments
$wire = $wireSaveableItems->error(string $text, $flags = 0);
Arguments
Name | Type(s) | Description |
---|---|---|
$text | string | |
$flags (optional) | int bool | See Notices::flags |
Return value
Wire
WireSaveableItems
WireSaveableItems methods and properties
API reference based on ProcessWire core version 3.0.252