Get error messages
Usage
// basic usage
$array = $wireUpload->getErrors();
// usage with all arguments
$array = $wireUpload->getErrors(bool $clear = false);
Arguments
Name | Type(s) | Description |
---|---|---|
clear (optional) | bool | Clear the list of error messages? (default=false) |
Return value
array
of strings
WireUpload methods and properties
API reference based on ProcessWire core version 3.0.236