Error deprecated
class Error extends ErrorList (View source)
deprecated
Properties
protected | $errors | from ErrorList |
Methods
add($e, $fieldName = null, $fieldDisplayName = null)
Adds an error object or exception to the internal error array.
from
ErrorList
Details
bool
offsetExists(mixed $offset)
Since: 5.0.0
Whether a offset exists.
mixed
offsetGet(mixed $offset)
Since: 5.0.0
Offset to retrieve.
offsetSet(mixed $offset, mixed $value)
Since: 5.0.0
Offset to set.
offsetUnset(mixed $offset)
Since: 5.0.0
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