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

David Bruchmann david at bruchmann-web.de
Tue Aug 3 21:12:06 CEST 2010


----- Ursprüngliche Nachricht -----
Von: Steffen Ritter <info at rs-websystems.de>
Gesendet: Sonntag, 1. August 2010 10:29:06
An:
CC:
Betreff: Re: [TYPO3-mvc] viewHelper for URIs can't access Enviroment
> 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?
>


Hi,

I still need a way to get the url-name for a plugin like
tx_[EXTENSION KEY SHORTENED]_[PLUGIN-KEY / CONTROLLER]

I think I could build it by myself but I'd like more to get it from a 
function or some known array.

Thanks,
David


More information about the TYPO3-project-typo3v4mvc mailing list