A class that encapsulates the error messages being reported by the validate() method of a PHRUTS_ActionForm.
Validation errors are either global to the entire PHRUTS_ActionForm bean they are associated with, or they are specific to a particular bean property (and, therefore, a particular input field on the corresponding form).
Each individual error is described by an PHRUTS_ActionError object, which contains a message key (to be looked up in an appropriate message resources database), and up to four placeholder arguments used for parametric substitution in the resulting message.
Located in /action/PHRUTS_ActionErrors.php (line 41)
Add an error message to the set of errors for the specified property.
An order of the property/key is maintained based on the initial addition of the property/key.
Clear all errors recorded by this object.
Return the set of errors related to a specific property or the set of all recorded errors (property = "") without distinction by which property the errors are associated with.
If there are no such errors, an empty array is returned.
Return true if there are no errors recorded in this collection, or false otherwise.
Return the set of property names for which at least one message has been recorded.
If there are no errors, an empty array is returned. If you have recorded global errors, the String value of PHRUTS_ActionErrors::GLOBAL_ERROR will be one of the returned property names.
Return the number of errors associated with the specified property or for all properties (including global errors) if property is empty.
NOTE
Documentation generated on Sat, 31 May 2008 15:45:50 +0200 by phpDocumentor 1.4.1