void setErrorMessage(
string
$message)
|
|
Sets the error message to be used when a value fails to validate.
The values in {curly braces} will be substituted for values from the substitiution array.
Parameters:
void setSubstitutions(
array
$subs)
|
|
Sets the array of error message substitutions.
The array should be of the form: array(<replace> => <withMethod>). The <withMethod> should be an element method such as getName or getValue.
Parameters: