Searched refs:languageCode (Results 1 – 7 of 7) sorted by relevance
/web-php/src/I18n/ |
H A D | Languages.php | 66 public function convert(string $languageCode): string argument 68 return match ($languageCode) { 71 default => array_key_exists($languageCode, self::LANGUAGES) ? $languageCode : 'en',
|
/web-php/ |
H A D | my.php | 20 $userPreferences->languageCode = $_POST['my_lang']; 31 elseif (isset($langs[$userPreferences->languageCode])) { 34 $options[] = '<option value="' . $userPreferences->languageCode . '" selected>' . 35 $langs[$userPreferences->languageCode] . "</option>\n"; 38 unset($langs[$userPreferences->languageCode]);
|
/web-php/src/ |
H A D | UserPreferences.php | 26 public string $languageCode = '', argument 34 $this->languageCode = ''; 50 $this->languageCode = $preferences[0] ?? ''; 82 $preferences = [$this->languageCode, $this->searchType, '', $this->isUserGroupTipsEnabled];
|
/web-php/tests/Unit/ |
H A D | UserPreferencesTest.php | 19 string $languageCode, argument 28 self::assertSame($languageCode, $userPreferences->languageCode);
|
/web-php/tests/Unit/I18n/ |
H A D | LanguagesTest.php | 18 public function testConvert(string $languageCode, string $expected): void argument 20 self::assertSame($expected, (new Languages())->convert($languageCode));
|
/web-php/releases/8.4/ |
H A D | release.inc | 52 private string $languageCode; 55 public function __construct(string $languageCode, string $countryCode) 57 $this->setLanguageCode($languageCode); 63 return $this->languageCode; 66 public function setLanguageCode(string $languageCode): void 68 $this->languageCode = $languageCode; 83 [$languageCode, $countryCode] = explode('_', $combinedCode, 2); 85 $this->setLanguageCode($languageCode); 91 return \sprintf("%s_%s", $this->languageCode, $this->countryCode); 111 public string $languageCode; [all …]
|
/web-php/include/ |
H A D | langchooser.inc | 41 …s::LANGUAGES, Languages::INACTIVE_ONLINE_LANGUAGES, $userPreferences->languageCode, default_langua…
|
Completed in 9 milliseconds