[TYPO3-mvc] How to access typoscript properties in viewHelpers?
Daniel Dimitrov
danielsd_bg at yahoo.fr
Wed May 19 11:43:06 CEST 2010
Hey Franz,
I'm making the same - I'm passing arguments here and there.
In the repository I need to know the pid for several queries. And there are
often situations where you need information from the TS settings.
The mentioned "itemsPerPage/limit" are also an example for this.
Daniel
"Franz Koch" <typo3.RemoveForMessage at elements-net.de> wrote in message
news:mailman.1.1274187063.32741.typo3-project-typo3v4mvc at lists.typo3.org...
> Hey,
>
>> :) Thanks for the reply! Any ideas how to access the settings in my
>> repository class then?
>
> why do you need access to those settings in your repository? I'm not sure
> if a repository should contain the logic to determine the correct
> settings - maybe better pass the needed values as arguments to your
> repository methods? That's at least what I did for things like
> 'itemsPerPage'/limit etc.
>
> --
> kind regards,
> Franz Koch
More information about the TYPO3-project-typo3v4mvc
mailing list