Searched refs:langCode (Results 1 – 1 of 1) sorted by relevance
40 $langCode = $this->normalize(htmlspecialchars($langParam, ENT_QUOTES, 'UTF-8'));41 $explicitly_specified = $langCode;42 if ($this->isAvailableLanguage($langCode)) {43 return [$langCode, $explicitly_specified];152 private function normalize(string $langCode): string argument155 $langCode = strtolower(htmlspecialchars($langCode));158 if ($langCode == 'pt_br') {161 return $langCode;164 private function isAvailableLanguage(string $langCode): bool argument166 … return isset($this->availableLanguages[$langCode]) && !isset($this->inactiveLanguages[$langCode]);
Completed in 4 milliseconds