[TYPO3-mvc] How to access typoscript properties in viewHelpers?
Sebastian Kurfürst
sebastian at typo3.org
Sat May 22 12:18:29 CEST 2010
Hey,
> 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 the settings are "local properties", i.e. they cannot be
provided globally through a static method. That's the same with the
Request or Response objects for example.
In FLOW3, there is so-called "settings injection": If you create a
method "injectSettings" in your extension, it is automatically populated
with the settings. However, as this is not possible right now in
Extbase, that's why accessing settings is not too consistent sadly.
Greets,
Sebastian
More information about the TYPO3-project-typo3v4mvc
mailing list