FormBuilderProcessor::getWarnings() method
Return an array of warnings that occurred (strings)
Available since version 0.4.3.
Usage
// basic usage
$array = $processor->getWarnings();
// usage with all arguments
$array = $processor->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.
$processor methods and properties
API reference based on ProcessWire core version 3.0.251