RE: [Fwd: Re: [PEAR] QFController Action definitions]
| From: | Mike Carter | Date: | Wed, 01 Oct 2003 10:54:51 +0000 |
| Subject: | RE: [Fwd: Re: [PEAR] QFController Action definitions] | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8174@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Arnaud Limbourg [mailto:arnaud.limbourg.prestataire@cegetel.fr]
>
> Was meant to go to the list too.
>
> Hi,
>
> you can always call Parent::process() in you process method,
> that will call the parent method as the name hints at. (for
> some reason i didn't think about that earlier)
I was looking for such a way but doing a search for "Parent" on
www.php.net provided nothing.
In the end I've (so far) managed to avoid writing my own actions when
buttons are pressed.
I've put the code which contacts the database in the validation
functions which are associated with the pages form.
- mike
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________