[TYPO3-mvc] viewHelper for URIs can't access Enviroment
Sebastian Kurfürst
sebastian at typo3.org
Fri Aug 6 06:34:12 CEST 2010
Hey David,
> $this->data =
> $this->controllerContext->getRequest()->getContentObjectData();
> $pluginNamespace = 'tx_' . $this->data['list_type'];
getContentObjectData() is somehow "hacky" and bound to v4. I'd rather
suggest using the first solution, as this is upwards-compatible to FLOW3
as well.
> Now I still have some questions:
> 1) is the prefix for the pluginNamespace always 'tx_'?
Currently yes.
Greets,
Sebastian
More information about the TYPO3-project-typo3v4mvc
mailing list