PHP framework class for view form validation.