[TYPO3-dev] class.t3lib_page.php and $GLOBALS['TSFE']->TCAcachedExtras
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Thu Aug 17 09:34:24 CEST 2006
Nikolas Hagelstein schrieb:
> Hi,
> i wonder why
> getRecordOverlay of class.t3lib_page.php uses TCAcachedExtras
> instead of the normal TCA.
> e.g line 348
> if
> ($GLOBALS['TSFE']->TCAcachedExtras[$table]['l10n_mode'][$fN]!='exclude'
>
> Using the normal TCA array would make it easier to use getRecordOverlay
> from
> withhin eID plugins. With TCAcachedExtras it is neccesary to generate a
> "Fake TSFE" obj.
>
> Any Ideas?
The l10n_mode is not part of the "main" TCA structure. Normally it would
have to be loaded as a dynamic TCA configuration. But as l10n_mode is
needed it is loaded into TCAcachedExtras to avoid loading the complete TCA
for all tables.
Masi
More information about the TYPO3-dev
mailing list