source/Core/OnlineModuleVersionNotifier.php
protected function _prepareModulesInformation()
    {
        $aPreparedModules = [];
        $aModules = $this->_getModules();
        foreach ($aModules as $oModule) {
            /** @var \OxidEsales\Eshop\Core\Module\Module $oModule */

            $oPreparedModule = new stdClass();
            $oPreparedModule->id = $oModule->getId();
            $oPreparedModule->version = $oModule->getInfo('version');

            $oPreparedModule->activeInShops = new stdClass();
            $oPreparedModule->activeInShops->activeInShop = [];
            if ($oModule->isActive()) {
                $oPreparedModule->activeInShops->activeInShop[] = \OxidEsales\Eshop\Core\Registry::getConfig()->getShopUrl();
            }
            $aPreparedModules[] = $oPreparedModule;
        }

        return $aPreparedModules;
    }
protected function _prepareModulesInformation()
    {
        $aPreparedModules = [];
        $aModules = $this->_getModules();
        foreach ($aModules as $oModule) {
            /** @var \OxidEsales\Eshop\Core\Module\Module $oModule */

            $oPreparedModule = new stdClass();
            $oPreparedModule->id = $oModule->getId();
            $oPreparedModule->version = $oModule->getInfo('version');

            $oPreparedModule->activeInShops = new stdClass();
            $oPreparedModule->activeInShops->activeInShop = [];
            if ($oModule->isActive()) {
                $oPreparedModule->activeInShops->activeInShop[] = \OxidEsales\Eshop\Core\Registry::getConfig()->getShopUrl();
            }
            $aPreparedModules[] = $oPreparedModule;
        }

        return $aPreparedModules;
    }
protected function _prepareModulesInformation ( ) { $ aPreparedModules = [ ] ; $ aModules = $ this -> _getModules ( ) ; foreach ( $ aModules as $ oModule ) { /** @var \OxidEsales\Eshop\Core\Module\Module $oModule */ $ oPreparedModule = new stdClass ( ) ; $ oPreparedModule -> id = $ oModule -> getId ( ) ; $ oPreparedModule -> version = $ oModule -> getInfo ( 'version' ) ; $ oPreparedModule -> activeInShops = new stdClass ( ) ; $ oPreparedModule -> activeInShops -> activeInShop = [ ] ; if ( $ oModule -> isActive ( ) ) { $ oPreparedModule -> activeInShops -> activeInShop [ ] = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getShopUrl ( ) ; } $ aPreparedModules [ ] = $ oPreparedModule ; } return $ aPreparedModules ; }
Collects only required modules information and returns as array.

@return null
Collects only required modules information and returns as array .