|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ILIAS\Language\ComponentTranslation\ComponentLanguageFileDirectory:
Collaboration diagram for ILIAS\Language\ComponentTranslation\ComponentLanguageFileDirectory:Public Member Functions | |
| __construct (private readonly Component $component, private readonly string $prefix, private readonly string $path_inside_component='lang/', ?string $shipped_file_name_pattern=null) | |
| getShippedFileNamePattern () | |
| The name without ".po": exactly one "%s" (language key), otherwise only letters, digits, "_", "-" and "." (no "/", no ".."), e.g. More... | |
| getPrefix () | |
| getPath () | |
| getSuffix () | |
| isLocal () | |
| getPrefix () | |
| getPath () | |
| getSuffix () | |
| isLocal () | |
| getShippedFileNamePattern () | |
| The name without ".po": exactly one "%s" (language key), otherwise only letters, digits, "_", "-" and "." (no "/", no ".."), e.g. More... | |
Private Attributes | |
| string | $base_directory |
| readonly string | $shipped_file_name_pattern |
Definition at line 28 of file ComponentLanguageFileDirectory.php.
| ILIAS\Language\ComponentTranslation\ComponentLanguageFileDirectory::__construct | ( | private readonly Component | $component, |
| private readonly string | $prefix, | ||
| private readonly string | $path_inside_component = 'lang/', |
||
| ?string | $shipped_file_name_pattern = null |
||
| ) |
| string | null | $shipped_file_name_pattern | see NamesShippedLanguageFiles, e.g. "ilias_%s"; default "<prefix>_%s" |
InvalidArgumentException for an invalid pattern, see MigratedLanguageFilePaths::assertValidShippedFileNamePattern()
Definition at line 37 of file ComponentLanguageFileDirectory.php.
References ILIAS\Language\ComponentTranslation\ComponentLanguageFileDirectory\$shipped_file_name_pattern, and ILIAS\Language\ComponentTranslation\MigratedLanguageFilePaths\assertValidShippedFileNamePattern().
Here is the call graph for this function:| ILIAS\Language\ComponentTranslation\ComponentLanguageFileDirectory::getPath | ( | ) |
Implements ILIAS\Language\ComponentTranslation\LanguageFileDirectory.
Definition at line 57 of file ComponentLanguageFileDirectory.php.
| ILIAS\Language\ComponentTranslation\ComponentLanguageFileDirectory::getPrefix | ( | ) |
Implements ILIAS\Language\ComponentTranslation\LanguageFileDirectory.
Definition at line 52 of file ComponentLanguageFileDirectory.php.
| ILIAS\Language\ComponentTranslation\ComponentLanguageFileDirectory::getShippedFileNamePattern | ( | ) |
The name without ".po": exactly one "%s" (language key), otherwise only letters, digits, "_", "-" and "." (no "/", no ".."), e.g.
"ilias_%s".
Implements ILIAS\Language\ComponentTranslation\NamesShippedLanguageFiles.
Definition at line 47 of file ComponentLanguageFileDirectory.php.
References ILIAS\Language\ComponentTranslation\ComponentLanguageFileDirectory\$shipped_file_name_pattern.
| ILIAS\Language\ComponentTranslation\ComponentLanguageFileDirectory::getSuffix | ( | ) |
Implements ILIAS\Language\ComponentTranslation\LanguageFileDirectory.
Definition at line 69 of file ComponentLanguageFileDirectory.php.
| ILIAS\Language\ComponentTranslation\ComponentLanguageFileDirectory::isLocal | ( | ) |
Implements ILIAS\Language\ComponentTranslation\LanguageFileDirectory.
Definition at line 74 of file ComponentLanguageFileDirectory.php.
|
private |
Definition at line 30 of file ComponentLanguageFileDirectory.php.
|
private |