TYPO3  7.6
Public Member Functions | Protected Member Functions | List of all members
IsoCodeService Class Reference

Public Member Functions

 renderIsoCodeSelectDropdown (array $conf=array())
 

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 ( )
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 IsoCodeService\renderIsoCodeSelectDropdown().

getLanguageService ( )
protected

Returns LanguageService

Returns

Definition at line 252 of file IsoCodeService.php.

References $GLOBALS.

Referenced by IsoCodeService\renderIsoCodeSelectDropdown().

renderIsoCodeSelectDropdown ( array  $conf = array())

Renders a select dropdown with ISO 639-1 codes.

Parameters
array$conf
Returns
array

Definition at line 28 of file IsoCodeService.php.

References IsoCodeService\getIsoCodes(), and IsoCodeService\getLanguageService().