[TYPO3-core] RFC: #11438: Add a registry to t3lib

Rupert Germann rupi at gmx.li
Wed Aug 12 17:14:51 CEST 2009


Ingo Renner schrieb:
> Rupert Germann wrote:
>> one little thing: the call to validateNamespace() in function
>> loadEntriesByNamespace() seems not to be needed because at this point
>> the namespace is already validated.

other way round: simply remove the call to validateNamespace() from 
function get().
if the namespace is not valid or not yet set to $this->entries it will 
be validated by loadEntriesByNamespace(). This is done only once per 
namespace and so we have it cached.

what do you think?

greets
rupert



More information about the TYPO3-team-core mailing list