[TYPO3-mvc] viewHelper for URIs can't access Enviroment

Steffen Ritter info at rs-websystems.de
Sun Aug 1 10:29:06 CEST 2010


Am 01.08.2010 06:32, schrieb David Bruchmann:
> Hi,
>
> trying to write a viewHelper for extended URI-Handling / -Methods I need
> the enviroment i.e. simply the calling controller-name.
$this->getControllerContext()->getRequest()->getControllerActionName();
$this->getControllerContext()->getRequest()->getControllerExtensionName();
$this->getControllerContext()->getRequest()->getControllerName();
$this->getControllerContext()->getRequest()->getArguments()
...

$this->templateVariableContainer->get('settings');

What do you miss?

regards

Steffen


More information about the TYPO3-project-typo3v4mvc mailing list