Re: DB_DataObject_FormBuilder - result of processForm() from postProcessForm()
| From: | Justin Patrin | Date: | Sat, 10 Jul 2004 19:51:53 +0000 |
| Subject: | Re: DB_DataObject_FormBuilder - result of processForm() from postProcessForm() | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13615@lists.php.net to get a copy of this message | ||
Sounds like it might be a good idea, but why exactly do you need this?
If processForm is called, then it means that the form was submitted
and passed the validation, meaning that the data should have been
committed to the DB. If you want to know what changed, you'll have to
check yourself anyway.
On Sun, 11 Jul 2004 01:56:58 +1000, Doug Kearns
<djkea2@mugca.its.monash.edu.au> wrote:
> There doesn't seem to be a straightforward way to access, what _will be_
> the return value of processForm() from postProcessForm().
>
> For example, the documentation suggests that the method is useful for
> notifying users of changes to the database, however, this needs to be
> determined independently by postProcessForm() even if no database
> operations were performed. Should postProcessForm() simply be passed
> this status value?
>
> Regards,
> Doug
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> !DSPAM:40f00fc8251396192916974!
>
>
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--