View Issue Details

IDProjectCategoryView StatusLast Update
0005477OXID eShop (all versions)4. ------ eShop Core -------public2015-12-01 10:37
Status acknowledgedResolutionopen 
Product Version4.7.0 / 5.0.0 revision 51243 
Target VersionFixed in Version 
Summary0005477: oxSuperCfg has to be refactored
DescriptionSince the oxid team introduced the oxRegistry class (+1),
there is no need for static properties in oxSuperCfg.

You can use oxSuperCfg::setConfig() to set any! variable as config, which is returned in oxSuperCfg::getConfig().

For example:
$controllerObject = oxNew('order');

Please refactor this elementary class!

set type hints:
public function setConfig(oxConfig $oConfig ) {...}

only use oxRegistry:
public function getConfig() {
 // unit test part...

 return oxRegistry::getConfig();
public function setConfig(oxConfig $oConfig) {
 // unit test part...

 return oxRegistry::setConfig('oxConfig', $oConfig);
TagsNo tags attached.
ThemeNot defined
PHP VersionNot defined
Database VersionNot defined


There are no notes attached to this issue.