HTML_QuickForm::process()

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

Table 41-1. Possible PEAR_Error values

Error codeError messageReasonSolution
QUICKFORM_INVALID_PROCESSCallback function does not exist in QuickForm::process()Tried to pass a name of a non-existant function as a callbackCheck spelling

Note

since 1.0

This function can not be called statically.