For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > October 2005 > QuickForm_Controller : overiding the submit and next actions









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author QuickForm_Controller : overiding the submit and next actions
James Carr

2005-10-24, 6:57 pm

Hi,

I've been using quickform controller and would like to add some
actions to take place when a form is submitted. I added the following:

$controller->addAction('next', new ActionSubmit());

In which the class ActionSubmit has a perform method that does what I
want. This works, but unfortunately it leaves me out in the cold as
well. It does what I put in there and stops there, completely skipping
over quickform_controller's default operations. Is there something I
can call to resume the normal operation?

Thanks,
JC
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com