[TYPO3-mvc] postProcess hook, extbase and TS settings

Dawid Pacholczyk dpacholczyk at gmail.com
Fri Feb 18 13:43:22 CET 2011


W dniu 2011-02-18 13:21, Franz Koch pisze:
> Hey Dawid,
>
>> I have - imo - big problem. I`m creating an extbase extension which need
>> to be supported by a postProcess hook. I`ve build one base on this
>> article: http://typo3.org/development/articles/how-to-use-existing-hooks/
>>
>> Now...how can I use/inject my extbase ext ts settings (from setup.txt)
>> into class with hook so I can use this ts settings to make some
>> operations using postprocess hook ?
>
> Which hook exactly? FE or BE?
>
> In FE context you normally can access any TS via:
> $GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_yourext.']...
>
> But be aware that the dots will not be removed like extbase does for you
> in $this->settings.
>
>
> PS:
>
> Isn't this more of a general extension develpment question? Most likely
> this has been answered in either the english or the dev list already.
> Just for the next time.
>

So obvious :)

I`ve put it here cause it was supporting extbase ext and I thought I can 
somehow user $this->settings

Sorry for trouble.

And no its not FE its BE ext

Best regards.
Dawid Pacholczyk


More information about the TYPO3-project-typo3v4mvc mailing list