[TYPO3-mvc] How to access typoscript properties in viewHelpers?

Felix Oertel mehl at foertel.com
Tue May 18 11:39:13 CEST 2010


Hi,

Am 18.05.10 11:15, schrieb Daniel Dimitrov:
> Slowly I'm starting to be really confused with this. Can someone explain me why don't we have a factory method to load the settings?

Because settings get aggregated and merged in some places and are not 
the same in all directives.

> $mySettings = TFactory::getTypoScriptSettings(); ?

There is Tx_Extbase_Dispatcher::getFrameworkConfiguration() but I would 
not suggest to use it directly.

> remembering all the methods to access the settings is annoying.

sweet ;-) i think that's somehow the load we have to carry ;)

regards, foertel


More information about the TYPO3-project-typo3v4mvc mailing list