[TYPO3-core] RFC #11431: Hook request for manipulating the pageID in getPage

Christian Kuhn lolli at schwarzbu.ch
Sat Jun 27 13:51:29 CEST 2009


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 11431_v4.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090627/174c9fa1/attachment.txt 


More information about the TYPO3-team-core mailing list