Return an array of warnings that occurred (strings)
Available since version 0.4.3.
Usage
// basic usage
$array = $formBuilderProcessor->getWarnings();
// usage with all arguments
$array = $formBuilderProcessor->getWarnings(bool $clear = false);
Arguments
Name | Type(s) | Description |
---|---|---|
clear (optional) | bool | Clear out all warnings? (default=false) |
Return value
array
Will be blank if no warnings.
FormBuilderProcessor methods and properties
API reference based on ProcessWire core version 3.0.236