deprecated [2011-03-10] This class is not longer supported.

 Methods

Add a form element

Add(string $name) 

Parameters

$name

string

Runs check on send form values

CheckFormValues() 

Define properties of the form or the elements

Define(string $which, string $value) 

Parameters

$which

string

Which property to define

$value

string

Values of the property

Form()

Form() 
deprecated [2011-11-18] Old constructor function for downwards compatibility

Generates the form

Generate(string $template) 

Parameters

$template

string

Path/Filename of the template to use

Extract the Form Data from the $_POST or $_GET, stores them in fields property

GetFormValues() 

Checks if the form passed

Passed() : bool

Returns

boolTRUE: Form passed without errors, FALSE: Errors

Add a default value

SetDefault(string $name, string $value) 

Parameters

$name

string

$value

string

Constructor Function

__construct() 

 Properties

 

$action : string
 

$counter : int
 

$debug : bool
deprecated No longer needed. The debug mode gets chosen by the system settings.
 

$default : array
 

$enctype : string
 

$fields : array
 

$isSend : bool
 

$method : string
 

$passed : bool
 

$target : string