protected function _getOxcomAdminSearchModules()
    {
        $aData = [];
        $oModules = oxNew(\OxidEsales\Eshop\Core\Module\ModuleList::class);
        $aModules = $oModules->getModulePaths();
        foreach ($aModules as $sKey => $sValue) {
            $oModule = oxNew(\OxidEsales\Eshop\Core\Module\Module::class);
            $oModule->load($sKey);
            $sTitle = strip_tags($oModule->getTitle());
            if (strstr(strtolower($sTitle), strtolower($this->_sQueryName))) {
                $aData[] = ['name' => $sTitle . ' (' . ($oModule->isActive() ? Registry::getLang()->translateString("OXCOM_ADMINSEARCH_MODULE_ACTIVE") : Registry::getLang()->translateString("OXCOM_ADMINSEARCH_MODULE_INACTIVE")) . ')', 'oxid' => $sKey, 'type' => 'module'];
            }
        }

        return $aData;
    }
protected function _getOxcomAdminSearchModules()
    {
        $aData = [];
        $oModules = oxNew(\OxidEsales\Eshop\Core\Module\ModuleList::class);
        $aModules = $oModules->getModulePaths();
        foreach ($aModules as $sKey => $sValue) {
            $oModule = oxNew(\OxidEsales\Eshop\Core\Module\Module::class);
            $oModule->load($sKey);
            $sTitle = strip_tags($oModule->getTitle());
            if (strstr(strtolower($sTitle), strtolower($this->_sQueryName))) {
                $aData[] = ['name' => $sTitle . ' (' . ($oModule->isActive() ? Registry::getLang()->translateString("OXCOM_ADMINSEARCH_MODULE_ACTIVE") : Registry::getLang()->translateString("OXCOM_ADMINSEARCH_MODULE_INACTIVE")) . ')', 'oxid' => $sKey, 'type' => 'module'];
            }
        }

        return $aData;
    }
protected function _getOxcomAdminSearchModules ( ) { $ aData = [ ] ; $ oModules = oxNew ( \ OxidEsales \ Eshop \ Core \ Module \ ModuleList :: class ) ; $ aModules = $ oModules -> getModulePaths ( ) ; foreach ( $ aModules as $ sKey => $ sValue ) { $ oModule = oxNew ( \ OxidEsales \ Eshop \ Core \ Module \ Module :: class ) ; $ oModule -> load ( $ sKey ) ; $ sTitle = strip_tags ( $ oModule -> getTitle ( ) ) ; if ( strstr ( strtolower ( $ sTitle ) , strtolower ( $ this -> _sQueryName ) ) ) { $ aData [ ] = [ 'name' => $ sTitle . ' (' . ( $ oModule -> isActive ( ) ? Registry :: getLang ( ) -> translateString ( "OXCOM_ADMINSEARCH_MODULE_ACTIVE" ) : Registry :: getLang ( ) -> translateString ( "OXCOM_ADMINSEARCH_MODULE_INACTIVE" ) ) . ')' , 'oxid' => $ sKey , 'type' => 'module' ] ; } } return $ aData ; }
Gets search modules data

@return array
Gets search modules data