TcaSystemLanguageCollector
final class \
Provides ItemProcFunc fields for special population of available TYPO3 system languages
Internal
Table of Contents
Methods
- __construct() : mixed
- populateAvailableSiteLanguages() : void
- Provides a list of all languages available for ALL sites.
- populateAvailableSystemLanguagesForBackend() : void
- Populate languages and group by available languages of the Language packs
- getAllSites() : array
- getBackendUser() : BackendUserAuthentication
Methods
__construct()
public
__construct(Locales $locales) : mixed
Parameters
- $locales : Locales
populateAvailableSiteLanguages()
Provides a list of all languages available for ALL sites.
public
populateAvailableSiteLanguages(array &$fieldInformation) : void
In case no site configuration can be found in the system, a fallback is used to add at least the default language.
Used by be_users and be_groups for their allowed_languages column.
Parameters
- $fieldInformation : array
populateAvailableSystemLanguagesForBackend()
Populate languages and group by available languages of the Language packs
public
populateAvailableSystemLanguagesForBackend(array &$fieldInformation) : void
Parameters
- $fieldInformation : array
getAllSites()
protected
getAllSites() : array
Return values
arraygetBackendUser()
protected
getBackendUser() : BackendUserAuthentication