[TYPO3-mvc] How to access typoscript properties in viewHelpers?
Daniel Dimitrov
danielsd_bg at yahoo.fr
Tue May 18 11:44:03 CEST 2010
Hey Felix,
:) Thanks for the reply! Any ideas how to access the settings in my
repository class then?
Daniel
"Felix Oertel" <mehl at foertel.com> wrote in message
news:mailman.1.1274175791.15419.typo3-project-typo3v4mvc at lists.typo3.org...
> 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