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.

Returns the values submitted by the form (Previous) Validation and filters (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.