LanguageHelperInterface

Extends

Class LanguageHelperInterface

category

System

package

Extensions

subpackage

Helpers

Methods

Gets the language codes of all active languages in a KeyValueCollection

getActiveLanguageCodes() : \KeyValueCollection

Gets the corresponding language code for the given ID

getLanguageCodeById(\IdType $id) : \LanguageCode

Arguments

$id

\IdType

Response

\LanguageCode

Gets all language codes in a KeyValueCollection with language ID as key

getLanguageCodes(\BoolType $onlyActiveLanguages = null) : \KeyValueCollection

Arguments

$onlyActiveLanguages

\BoolType

Response

\KeyValueCollection

getLanguageIdByCode

getLanguageIdByCode(\LanguageCode $code) : \IdType

Arguments

Response

\IdType