QuickForm->process()
| From: | Esad Hajdarevic | Date: | Tue, 15 Mar 2005 22:55:07 +0000 |
| Subject: | QuickForm->process() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-210867@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)} PS. Sorry if this message gets cross-posted, I've tried posting to .dev, but message never appeared Greetings, Esad Hajdarevic