From a controller: $this->getRequest()->getRequestUri(); will return what you're after.
T
On Sun, Jan 18, 2009 at 13:49, Raavi Raaj <raaviraaj77@gmail.com> wrote:
Hi,I have a "send a friend" form where I would like to return the user to the original page from where he accessed the tool.I also have a "contact user" form, which can be used only by signed-in users, therefore member needs to login/register before accessing the form; and again, I would like to return her to the original page form where she accessed the tool.How can I do the above in ZF? All help is appreciated.-RP.S.- I have a standard (conventional) ZF setup- I have extended the "Zend_Controller_Action" in "My_Action"- All my controllers extend "My_Action"Can I do some tricks in "My_Action"? (I did try some stuff, but that din't work when login/registration is involved)
没有评论:
发表评论