[Flow] How to determine the currently called controller
Christian Loock
brainshack at gmail.com
Mon Mar 10 09:22:06 CET 2014
Hello,
inside my ViewHelper i need to know which Action/Controller/Package is
currently being called (to determin the active state of a Menu item).
I tried to create an ActionRequest like this:
\TYPO3\Flow\Http\Request::createFromEnvironment()->createActionRequest()
But the ActionRequest will always return NULL when i try to call controller
Information.
What is the best way to get those informations outside of a
ActionController?
Thanks in advance,
Christian
More information about the Flow
mailing list