Свойство | Type | Description | |
---|---|---|---|
$_AvailableLocalePacks | Locales in the system. |
Méthode | Description | |
---|---|---|
availableLocalePacks ( ) : array | null | ||
availableLocales ( ) : array | ||
copyDefinitions ( $SourcePath, $DestPath ) : mixed | ||
enabledLocalePacks ( boolean $GetInfo = false ) : array | ||
generateChanges ( $Path, $BasePath, null $DestPath = null ) : null | string | ||
loadDefinitions ( $Path, null $Skip = null ) : array | ||
testLocale ( string $LocaleKey ) | Temporarily enable a locale pack without installing it/ | |
writeDefinitions ( resource $fp, array $Definitions ) | Write a locale's definitions to a file. |
Méthode | Description | |
---|---|---|
calculateLocaleInfo ( &$info ) | ||
getFileHeader ( ) |
public availableLocalePacks ( ) : array | null | ||
Résultat | array | null |
public copyDefinitions ( $SourcePath, $DestPath ) : mixed | ||
$SourcePath | ||
$DestPath | ||
Résultat | mixed |
public enabledLocalePacks ( boolean $GetInfo = false ) : array | ||
$GetInfo | boolean | |
Résultat | array |
public loadDefinitions ( $Path, null $Skip = null ) : array | ||
$Path | ||
$Skip | null | |
Résultat | array |
public testLocale ( string $LocaleKey ) | ||
$LocaleKey | string | The key of the folder. |
public static writeDefinitions ( resource $fp, array $Definitions ) | ||
$fp | resource | The file to write to. |
$Definitions | array | The definitions to write. |