HTML_QuickForm::process()

HTML_QuickForm::process() – Performs the form data processing

Synopsis

require_once 'HTML/QuickForm.php';

void HTML_QuickForm::process ( mixed $callback , bool $mergeFiles = true )

Description

Performs the form data processing. It actually calls the $callback passing the submitted values (and files, when $mergeFiles=TRUE) to it.

Parameter

mixed $callback

Callback, either function name or array(&$object, 'method')

boolean $mergeFiles

Whether uploaded files should be processed too

Throws

Possible PEAR_Error values
Error code Error message Reason Solution
QUICKFORM_INVALID_PROCESS Callback function does not exist in QuickForm::process() Tried to pass a name of a non-existant function as a callback Check spelling

Note

since 1.0

This function can not be called statically.