Handler class for the storing of the metadata controller field of the modules.
- Deprecated:
- since v6.4.0 (2019-03-22); Use
OxidEsales\EshopCommunity\Internal\Framework\Module\Configuration\DataObject\ModuleConfiguration\ModuleConfigurationDaoBridgeInterface
.
◆ add()
OxidEsales\EshopCommunity\Core\Routing\Module\ClassProviderStorage::add |
( |
|
$moduleId, |
|
|
|
$controllers |
|
) |
| |
Add the controllers for the module, given by its ID, to the storage.
- Parameters
-
string | $moduleId | The ID of the module controllers to add. |
array | $controllers | The controllers to add to the storage. |
◆ controllerKeysToLowercase()
OxidEsales\EshopCommunity\Core\Routing\Module\ClassProviderStorage::controllerKeysToLowercase |
( |
|
$controllers | ) |
|
|
private |
Change the controller keys to lower case.
- Parameters
-
array | $controllers | The controllers array of one module. |
- Returns
- array The given controllers array with the controller keys in lower case.
◆ get()
OxidEsales\EshopCommunity\Core\Routing\Module\ClassProviderStorage::get |
( |
| ) |
|
Get the stored controller value from the oxconfig.
- Returns
- null|array The controllers field of the modules metadata.
◆ getConfig()
OxidEsales\EshopCommunity\Core\Routing\Module\ClassProviderStorage::getConfig |
( |
| ) |
|
|
private |
Get the config object.
- Returns
- \oxConfig The config object.
◆ remove()
OxidEsales\EshopCommunity\Core\Routing\Module\ClassProviderStorage::remove |
( |
|
$moduleId | ) |
|
Delete the controllers for the module, given by its ID, from the storage.
- Parameters
-
string | $moduleId | The ID of the module, for which we want to delete the controllers from the storage. |
◆ set()
OxidEsales\EshopCommunity\Core\Routing\Module\ClassProviderStorage::set |
( |
|
$value | ) |
|
Set the stored controller value from the oxconfig.
- Parameters
-
array | $value | The controllers field of the modules metadata. |
◆ toLowercase()
OxidEsales\EshopCommunity\Core\Routing\Module\ClassProviderStorage::toLowercase |
( |
|
$modulesControllers | ) |
|
|
private |
Change the module IDs and the controller keys to lower case.
- Parameters
-
array | $modulesControllers | The controller arrays of several modules. |
- Returns
- array The given controller arrays of several modules, with the module IDs and the controller keys in lower case.
◆ STORAGE_KEY
const OxidEsales\EshopCommunity\Core\Routing\Module\ClassProviderStorage::STORAGE_KEY = 'aModuleControllers' |
The documentation for this class was generated from the following file: