ValidationRules used for validation of form fields.
Located in /Validation.php (line 17)
Constructor Validation (line 40)
Initialise a new validation.
AddRule (line 53)
Adds a validation rule for a specific field upon submission of the form.
You must call RenderRules below RenderFields when outputing the page
not_empty (line 129)
Checks if a string is empty
positive_dollars (line 150)
Check that the given string is a positive dollar amount.
Use not_empty first if string is required.
positive_integer (line 167)
Check that the given string is a positive integer.
Use not_empty first if string is required.
RenderJavascript (line 64)
Returns the javascript for form validation using the rules.
selected (line 139)
Checks that a string is not empty or zero
Validate (line 99)
Validates the form according to it's rules.
valid_date_format (line 193)
Check that the given string matches the user's date format.
Use not_empty first if string is required.
valid_email_format (line 179)
Check that the given string is a valid email address.
Use not_empty first if string is required.
Documentation generated on Fri, 13 Jan 2012 23:40:18 +1300 by phpDocumentor 1.4.3