Issue Task Closed

#56109Cleanup \TYPO3\CMS\Lang\LanguageService

Michiel Roos 02/19/14, 11:08 updated 10/23/17, 21:39

Description

The calls to sL() are reportedly not allways returned from \TYPO3\CMS\Lang\LanguageService::$LL_labels_cache
Amongst other things:
  • See if we can also cache the HSC values on sL() calls in the \TYPO3\CMS\Lang\LanguageService::$LL_labels_cache
  • loadSingleTableDescription calls methods inside nested foreach loops. Each of the methods test unchanging values for being an array etc. over and over.
  • Replace count() calls with !empty() if we are dealing with objects known to be an array

Reviews 1