◆ directoryExists()
OxidEsales\EshopCommunity\Core\Module\ModuleTranslationPathFinder::directoryExists |
( |
|
$path | ) |
|
|
protected |
Does the given path points to an existing directory?
- Parameters
-
string | $path | The path we want to check, if itexists. |
- Returns
- bool Does the given path points to an existing directory?
◆ findTranslationPath()
OxidEsales\EshopCommunity\Core\Module\ModuleTranslationPathFinder::findTranslationPath |
( |
|
$language, |
|
|
|
$admin, |
|
|
|
$modulePath |
|
) |
| |
Find the full path of the translation in the given module.
- Parameters
-
string | $language | The language short form. (e.g. 'de') |
bool | $admin | Are we searching for the admin files? |
string | $modulePath | The relative (to the module directory) path to the module, in which we want to find the translations file. |
- Returns
- string
◆ getModulesDirectory()
OxidEsales\EshopCommunity\Core\Module\ModuleTranslationPathFinder::getModulesDirectory |
( |
| ) |
|
|
protected |
Getter for the modules directory.
- Returns
- string The modules directory.
◆ hasLowercaseApplicationDirectory()
OxidEsales\EshopCommunity\Core\Module\ModuleTranslationPathFinder::hasLowercaseApplicationDirectory |
( |
|
$pathToModule | ) |
|
|
protected |
Check, if the module directory has an folder called 'application'.
- Parameters
-
string | $pathToModule | The path to the module to check. |
- Returns
- bool Has the given module a folder 'application'?
◆ hasUppercaseApplicationDirectory()
OxidEsales\EshopCommunity\Core\Module\ModuleTranslationPathFinder::hasUppercaseApplicationDirectory |
( |
|
$pathToModule | ) |
|
|
protected |
Check, if the module directory has an folder called 'Application'.
- Parameters
-
string | $pathToModule | The path to the module to check. |
- Returns
- bool Has the given module a folder Application?
The documentation for this class was generated from the following file: