TcaSystemLanguageCollector

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<string|int, mixed>
getBackendUser()  : BackendUserAuthentication

Methods

populateAvailableSiteLanguages()

Provides a list of all languages available for ALL sites.

public populateAvailableSiteLanguages(array<string|int, mixed> &$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<string|int, mixed>

populateAvailableSystemLanguagesForBackend()

Populate languages and group by available languages of the Language packs

public populateAvailableSystemLanguagesForBackend(array<string|int, mixed> &$fieldInformation) : void
Parameters
$fieldInformation : array<string|int, mixed>

getAllSites()

protected getAllSites() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results