[TYPO3-mvc] Forward to calling action
Nikolas Hagelstein
lists at shr-now.de
Mon Jun 21 18:27:10 CEST 2010
Hi,
> i got a small problem which seems pretty easy to solve but i can't
> figure it out ;)
> I have an action which needs to forward to whatever action the request
> came from.
> How do i find out where the request came from ?
--- voila: ----
$referrer = $this->request->getArgument('__referrer');
$this->forward($referrer['actionName'], $referrer['controllerName'],
$referrer['extensionName'], $this->request->getArguments());
-----
Cheers,
Nikolas
More information about the TYPO3-project-typo3v4mvc
mailing list