QuickForm - usage of Process()

From: Date: Thu, 06 Nov 2003 11:25:22 +0000
Subject: QuickForm - usage of Process()
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8810@lists.php.net to get a copy of this message
I'm extending the QF class so I can just dump forms into pages as easily as $form = new Form_signup(); $form->display(); I have been using a function ProcesS() in my classes to provide the form processing code, however I've just noticed that there is a process() in the base class (QuickForm). I'm not entirly sure how I should be using this process function though, and the documentation isn't making it all that clear for me. I should be passing a callback to the function it seems, which passes all the data (optionally containing the files) to a function. It seems to me I would have to create a extra function in my extended class for processing, so why not just overload the process() function in the base? I hope this makes some sense.... Kind Regards, -- Ian P. Christian http://www.fuzzmail.co.uk ~ Free, Fast and Fuzzy webmail

« previous php.pear.general (#8810) next »