protected getLangValue ( array $arrValues, string $strLangCode = null ) : mixed | null | ||
$arrValues | array | The array holding all language values in the form array('langcode' => $varValue). |
$strLangCode | string | The language code of the language to fetch. Optional, if not given, $GLOBALS['TL_LANGUAGE'] is used. |
return | mixed | null | the value for the given language or the fallback language, NULL if neither is present. |