Re: [QuickForm_Controller] free the templates! qf_ct for president!

From: Date: Tue, 21 Oct 2003 20:24:14 +0000
Subject: Re: [QuickForm_Controller] free the templates! qf_ct for president!
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8522@lists.php.net to get a copy of this message
Hi! Matthias H. Risse wrote:
Think I found a good solution for my purpose, but wonder if its really smart to fiddle the current pagename out of $_GET (eg: _qf_page2_display -> page2). Is there a possibility to ask a QuickForm_Controller-object for the currently displayed page? Something like getCurrentPage($obj) would do. RTFM+URL and other comments warmly welcome :)
No, getting this info directly from $_GET is not recommended. Yes, Controller has a special method for getting this info: http://pear.php.net/manual/en/package.html.html-quickform-controller.html-quickform-controller.getactionname.php

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