hasErrors() public method
Returns a value indicating whether there is any validation error.
| public boolean hasErrors ( $attribute = null ) | ||
|---|---|---|
| $attribute | string|null |
Attribute name. Use null to check all attributes. |
| return | boolean |
Whether there is any error. |
Please login to continue.