Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

OneLineLayout Class Reference
[Form Layouts]

Inheritance diagram for OneLineLayout:

BaseLayout Layout List of all members.

Detailed Description

Draw the entire form on one single line.

Good for search forms, or other short forms.

Author:
Zach Smith
Date:
Date
2006-07-17 00:57:46 -0600 (Tue, 28 Mar 2006)

Definition at line 11 of file oneline-layout.inc.php.

Public Member Functions

 drawBeginning ()
 draw the beginning of the form.
 drawEnd ()
 draw the end of the form
 drawField ($field)
 Draw a field as a table row.
 drawErrors ()
 draw our errors of our form

Public Attributes

 $errors = array()
 queue our errors for display after our form is done


Member Function Documentation

OneLineLayout::drawBeginning  ) 
 

draw the beginning of the form.

the form is wrapped in a div with class of OneLineForm

Implements Layout.

Definition at line 23 of file oneline-layout.inc.php.

OneLineLayout::drawEnd  ) 
 

draw the end of the form

this will draw the end of the div, then the hidden fields and then the errors

Implements Layout.

Definition at line 33 of file oneline-layout.inc.php.

References drawErrors(), and BaseLayout::drawHiddenFields().

OneLineLayout::drawErrors  ) 
 

draw our errors of our form

they will each be wrapped in a div of class "OneLineFormErrors"

Definition at line 77 of file oneline-layout.inc.php.

Referenced by drawEnd().

OneLineLayout::drawField field  ) 
 

Draw a field as a table row.

Parameters:
$field Field to draw

Implements Layout.

Definition at line 45 of file oneline-layout.inc.php.


Member Data Documentation

OneLineLayout::$errors = array()
 

queue our errors for display after our form is done

Definition at line 16 of file oneline-layout.inc.php.


The documentation for this class was generated from the following file:
Generated on Fri Oct 27 12:26:42 2006 for BaseJumper by doxygen 1.3.9.1