Phorms: HTML form widgets with validation
Phorms is a form library that provides a number of factory classes that generate HTML form data. Forms are defined by extending the base abstract Phorm class with a 'define_fields' method which, when called, defines the form's fields as class attributes. See the examples directory for a sample comment form. Phorms is loosely modeled on the Django forms library, to the extent that PHP is able to do the kind of introspection that it does. If you are familiar with Django forms, then the concepts in phorms should not be too alien.
| Class | Description |
|---|---|
| Phorm | Phorm |
Widget classes used to serialize form elements.
Various helper types.
Field classes used to import and export form data and to handle form validation.
Documentation generated on Mon, 20 Apr 2009 08:29:24 -0400 by phpDocumentor 1.4.2