32 $this->_oCaller = $oCaller;
33 $this->_oModuleList = $oModuleList;
50 protected function _prepareModulesInformation()
52 $aPreparedModules = array();
54 foreach ($aModules as $oModule) {
57 $oPreparedModule =
new stdClass();
58 $oPreparedModule->id = $oModule->getId();
59 $oPreparedModule->version = $oModule->getInfo(
'version');
61 $oPreparedModule->activeInShops =
new stdClass();
62 $oPreparedModule->activeInShops->activeInShop = array();
63 if ($oModule->isActive()) {
66 $aPreparedModules[] = $oPreparedModule;
69 return $aPreparedModules;
81 $oRequestParams->modules =
new stdClass();
82 $oRequestParams->modules->module = $this->_prepareModulesInformation();
85 return $oRequestParams;
105 $aModules = $this->_oModuleList->getList();