QuickForm->process() returns no value?
| From: | Esad Hajdarevic | Date: | Tue, 15 Mar 2005 21:01:46 +0000 |
| Subject: | QuickForm->process() returns no value? | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-36694@lists.php.net to get a copy of this message | ||
Hi everyone,
Shouldn't
void HTML_QuickForm::process (mixed $callback [, bool $mergeFiles = TRUE])
actually return the value returned by the callback function?
One example when this may be handy:
if ($form->process(array(&$fb,'processForm'), false)) {
//data processed (FormBuilder's processForm returns true when //data has been manipulated)
}
Greetings,
Esad Hajdarevic