[TYPO3-core] RFC #11431: Hook request for manipulating the pageID in getPage
Steffen Kamper
info at sk-typo3.de
Sun Aug 2 20:01:57 CEST 2009
Hi Christian,
+1 on reading. I applied and saw no error, but i didn't wrote a testhook
for this. As the hook is defined like the other ones a expect the hook
working.
vg Steffen
Christian Kuhn schrieb:
> Hey Rupert,
>
> Rupert Germann wrote:
>> the double foreach() loop is not needed at this place. please fix that.
>
> You're perfectly right, thanks! Please see attached version.
>
>> be aware that function getPage() can be called hundreds of times when
>> rendering big menus or sitemaps where the caching doesn't help.
>
> True. Whoever uses this low level hook should be aware that any
> complicated logic might have a noticeable negative impact on performance.
>
>
> Thanks
> Christian
>
More information about the TYPO3-team-core
mailing list