TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Service\IsoCodeService Class Reference

Public Member Functions

 renderIsoCodeSelectDropdown (array $conf=[])
 

Protected Member Functions

 getIsoCodes ()
 
 getLanguageService ()
 

Detailed Description

Helper functionality for dealing with ISO codes.

Definition at line 20 of file IsoCodeService.php.

Member Function Documentation

◆ getIsoCodes()

TYPO3\CMS\Core\Service\IsoCodeService::getIsoCodes ( )
protected

Returns the list of ISO 639-1 codes.

List taken from http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes

Returns
array

Definition at line 56 of file IsoCodeService.php.

Referenced by TYPO3\CMS\Core\Service\IsoCodeService\renderIsoCodeSelectDropdown().

◆ getLanguageService()

TYPO3\CMS\Core\Service\IsoCodeService::getLanguageService ( )
protected

Returns LanguageService

Returns

Definition at line 252 of file IsoCodeService.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\Service\IsoCodeService\renderIsoCodeSelectDropdown().

◆ renderIsoCodeSelectDropdown()

TYPO3\CMS\Core\Service\IsoCodeService::renderIsoCodeSelectDropdown ( array  $conf = [])

Renders a select dropdown with ISO 639-1 codes.

Parameters
array$conf
Returns
array

Definition at line 28 of file IsoCodeService.php.

References TYPO3\CMS\Core\Service\IsoCodeService\getIsoCodes(), and TYPO3\CMS\Core\Service\IsoCodeService\getLanguageService().