This class can validate XHTML documents. It may also validate other types of XML documents.
It can validate a XHTML document first determining whether it is well-formed and then verifying whether it uses only valid tags and attributes. The list of tags and attributes accepted as valid is configurable.
If there is an error, it can provide detailed information about what ist wrong.
It uses PHP 5 syntax and exceptions for handling errors.
This class is meant to create, validate and process Web forms.
When a valid form is submitted, the class can execute several types of built-in follow-up actions.
Currently it supports executing these types of follow-up actions:
- Send an e-mail message to a given address based on a template that can be processed using the submitted form values
- Resubmit the form data to a given Web server using HTTP POST method
- Execute a database query
The class supports defining forms with many types of built-in validation rules including form field interdependency.