Set per-field error messages to display A given field can have either a single error message or an array of errors The output from the Validator::getFieldErrors method can be used directly as input to this method
This is the code documentation for the SproutCMS project
Search documentation |
function setErrors()Set per-field error messages to display A given field can have either a single error message or an array of errors The output from the Validator::getFieldErrors method can be used directly as input to this method
Usagevoid Form::setErrors ( array $errors ); Arguments
Return value
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Wednesday, 5th August, 2026 at 03:31 pm |
|