IsoCodeService
Helper functionality for dealing with ISO codes.
This class is not part of the TYPO3 Core API.
Table of Contents
Methods
- renderIsoCodeSelectDropdown() : array<string|int, mixed>
- Renders a select dropdown with ISO 639-1 codes.
- getIsoCodes() : array<string|int, mixed>
- Returns the list of ISO 639-1 codes.
- getLanguageService() : LanguageService
- Returns LanguageService
Methods
renderIsoCodeSelectDropdown()
Renders a select dropdown with ISO 639-1 codes.
public
renderIsoCodeSelectDropdown([array<string|int, mixed> $conf = [] ]) : array<string|int, mixed>
Parameters
- $conf : array<string|int, mixed> = []
Return values
array<string|int, mixed>getIsoCodes()
Returns the list of ISO 639-1 codes.
protected
getIsoCodes() : array<string|int, mixed>
List taken from http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
Return values
array<string|int, mixed>getLanguageService()
Returns LanguageService
protected
getLanguageService() : LanguageService