[TYPO3-dev] hook for overwrite or for new markers in substituteMarkerArray
Krystian Szymukowicz
t33k.RE.MO.VE at RE.MO.VE.prolabium.com
Tue Sep 14 14:49:35 CEST 2010
On 2010-09-14 09:03, Dmitry Dulepov wrote:
> Hi!
>
> Krystian Szymukowicz wrote:
>> but I am quite sure it will get torpedo from core devs
>
> I'll give my -1 because that function is used a lot and iterating over
> hooks would have several disadvantages:
> - performance would be lower because of many call_user_func
> - you never know from where your are executed. So you can accidentally
> modify existing markers for the plugin you do not know about.
Thanks for letting me know before I would loose time to prepare patch.
Yes - this two reasons are maybe good for not letting it go into core
but anyway I will probably xclass this function for my own purposes. I
think its better to xclass one function in one place instead of several
different functions in different classes and extensions.
> I suggest that you contact the extension author and ask to add a hook.
>
I will try to.
Thanks for your input.
--
grtz
Krystian Szymukowicz
More information about the TYPO3-dev
mailing list