OXID eShop CE
6.1.5
|
Public Member Functions | |
__construct ($fileCache, $shopIdCalculator) | |
getModuleVariable ($name) | |
setModuleVariable ($name, $value) | |
Static Public Member Functions | |
static | resetModuleVariables () |
Protected Member Functions | |
getConfigurationKey () | |
getModuleVarFromDB ($name) | |
getFileCache () | |
getShopIdCalculator () | |
Static Protected Attributes | |
static | $moduleVariables = [] |
Private Attributes | |
$fileCache | |
$shopIdCalculator | |
Selects module variables from database or cache.
OxidEsales\EshopCommunity\Core\Module\ModuleVariablesLocator::__construct | ( | $fileCache, | |
$shopIdCalculator | |||
) |
FileCache | $fileCache | |
ShopIdCalculator | $shopIdCalculator |
|
protected |
Returns configuration key. This method is independent from oxConfig functionality.
|
protected |
|
protected |
Returns shop module variable value directly from database.
string | $name | Module variable name |
OxidEsales\EshopCommunity\Core\Module\ModuleVariablesLocator::getModuleVariable | ( | $name | ) |
Retrieves module configuration variable for the base shop. Currently getModuleVar() is expected to be called with one of the values: aModules | aDisabledModules | aModulePaths This method is independent from oxConfig functionality.
string | $name | Configuration array name |
|
protected |
|
static |
Resets previously set module information.
OxidEsales\EshopCommunity\Core\Module\ModuleVariablesLocator::setModuleVariable | ( | $name, | |
$value | |||
) |
Sets module information variable. The variable is set statically and is not saved for future.
string | $name | Configuration array name |
array | $value | Module name values |
|
private |
|
staticprotected |
|
private |