Class DefaultFormPainter

Description

This is used to generate form presentation code when no other painter is specified.

Located in /lib/DefaultFormPainter.php (line 22)

FormPainter
   |
   --DefaultFormPainter
Method Summary
 string gloss ()
 string paint (FormField &$field)
 string sketch ([string $id = "contact"])
Methods
gloss (line 95)

Generates the form footer or ending.

  • access: public
string gloss ()

Redefinition of:
FormPainter::gloss()
Finishes form output
paint (line 48)

Generates the output for a form field.

string paint (FormField &$field)

Redefinition of:
FormPainter::paint()
Processed the form fields themselves.
sketch (line 31)

Generates the header of the form (whatever comes before the actual data rows in the output.

  • access: public
string sketch ([string $id = "contact"])
  • string $id: The form id/name (used in html pages)

Redefinition of:
FormPainter::sketch()
Begins form output

Inherited Methods

Inherited From FormPainter

 FormPainter::gloss()
 FormPainter::paint()
 FormPainter::sketch()

Documentation generated on Mon, 25 Oct 2004 15:21:43 -0700 by phpDocumentor 1.3.0RC3