/phorms.php

Description

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.

Classes
Class Description
Phorm Phorm
Includes
require_once ('widgets.php') (line 25)

Widget classes used to serialize form elements.

require_once ('types.php') (line 29)

Various helper types.

require_once ('fields.php') (line 34)

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