ErrorList
class ErrorList implements ArrayAccess, JsonSerializable (View source)
Properties
protected | $errors |
Methods
Whether a offset exists.
Offset to retrieve.
Offset to set.
Offset to unset.
Adds an error object or exception to the internal error array.
Returns a list of errors in the error helper.
Returns whether or not this error helper has more than one error registered within it.
No description
No description
No description
No description
No description
Details
bool
offsetExists(mixed $offset)
Whether a offset exists.
mixed
offsetGet(mixed $offset)
Offset to retrieve.
offsetSet(mixed $offset, mixed $value)
Offset to set.
offsetUnset(mixed $offset)
Offset to unset.
add($e, $fieldName = null, $fieldDisplayName = null)
Adds an error object or exception to the internal error array.
array
getList()
Returns a list of errors in the error helper.
bool
has()
Returns whether or not this error helper has more than one error registered within it.
output()
deprecated
deprecated
No description
outputJSON()
deprecated
deprecated
No description
__toString()
No description
jsonSerialize()
No description
toText()
No description
containsField($field)
No description
string
getMessage($field)
No description