Extracted at 2009-10-25.
pike.ida.liu.se
[Top]
Fins
Fins.Errors
Fins.Errors.Validation

Method Fins.Errors.Validation()->add()


Method add

void add(string a, string|void b)

Description

add an error to the object.

if a and b are provided, a is the field that is associated with the error and b is the description of the problem. the field name will be "humanized".

if a alone is provided, it is the error string (usually one not associated with a single field.)