[TYPO3-project-4-3] idea: styles.content.getMulti
Ernesto Baschny [cron IT]
ernst at cron-it.de
Tue Aug 25 08:04:40 CEST 2009
Martin Kutschker schrieb:
> Ernesto Baschny [cron IT] schrieb:
>> Why don't we keep the current getBorder etc, maybe adding a "speed-up"
>> method so that the "first one" just fetch all necessary records (in one
>> query) and other future getXXX can make reuse of them? After all it is
>> just a filtered "select" query, we can also do the most used "filtering"
>> in PHP if we have all records in memory.
>>
>> This would make this feature more intuitive for users to use.
>
> Yeah. The only problem could arise if you have many languages. TYPO3
> would need to fetch them all, but would need only few of them (that is
> *if* you have fallback languages).
You could use config.sys_language_uid, config.sys_language_mode and
config.sys_language_overlay to decide which languages to fetch.
Cheers,
Ernesto
More information about the TYPO3-project-4-3
mailing list