source/Core/Module/ModuleList.php
public function getDisabledModuleClasses()
    {
        $disabledModules = $this->getDisabledModules();
        $disabledModuleClasses = [];
        if (isset($disabledModules) && is_array($disabledModules)) {
            //get all disabled module paths
            $extensions = $this->getModuleConfigParametersByKey(static::MODULE_KEY_EXTENSIONS);
            $modules = $this->getModulesWithExtendedClass();
            $modulePaths = $this->getModuleConfigParametersByKey(static::MODULE_KEY_PATHS);

            foreach ($disabledModules as $moduleId) {
                if (!array_key_exists($moduleId, $extensions)) {
                    $path = $modulePaths[$moduleId];
                    if (!isset($path)) {
                        $path = $moduleId;
                    }
                    foreach ($modules as $moduleClasses) {
                        foreach ($moduleClasses as $moduleClass) {
                            if (strpos($moduleClass, $path . "/") === 0) {
                                $disabledModuleClasses[] = $moduleClass;
                            }
                        }
                    }
                } else {
                    $disabledModuleClasses = array_merge($disabledModuleClasses, $extensions[$moduleId]);
                }
            }
        }

        return $disabledModuleClasses;
    }
public function getDisabledModuleClasses()
    {
        $disabledModules = $this->getDisabledModules();
        $disabledModuleClasses = [];
        if (isset($disabledModules) && is_array($disabledModules)) {
            //get all disabled module paths
            $extensions = $this->getModuleConfigParametersByKey(static::MODULE_KEY_EXTENSIONS);
            $modules = $this->getModulesWithExtendedClass();
            $modulePaths = $this->getModuleConfigParametersByKey(static::MODULE_KEY_PATHS);

            foreach ($disabledModules as $moduleId) {
                if (!array_key_exists($moduleId, $extensions)) {
                    $path = $modulePaths[$moduleId];
                    if (!isset($path)) {
                        $path = $moduleId;
                    }
                    foreach ($modules as $moduleClasses) {
                        foreach ($moduleClasses as $moduleClass) {
                            if (strpos($moduleClass, $path . "/") === 0) {
                                $disabledModuleClasses[] = $moduleClass;
                            }
                        }
                    }
                } else {
                    $disabledModuleClasses = array_merge($disabledModuleClasses, $extensions[$moduleId]);
                }
            }
        }

        return $disabledModuleClasses;
    }
public function getDisabledModuleClasses ( ) { $ disabledModules = $ this -> getDisabledModules ( ) ; $ disabledModuleClasses = [ ] ; if ( isset ( $ disabledModules ) && is_array ( $ disabledModules ) ) { //get all disabled module paths $ extensions = $ this -> getModuleConfigParametersByKey ( static :: MODULE_KEY_EXTENSIONS ) ; $ modules = $ this -> getModulesWithExtendedClass ( ) ; $ modulePaths = $ this -> getModuleConfigParametersByKey ( static :: MODULE_KEY_PATHS ) ; foreach ( $ disabledModules as $ moduleId ) { if ( ! array_key_exists ( $ moduleId , $ extensions ) ) { $ path = $ modulePaths [ $ moduleId ] ; if ( ! isset ( $ path ) ) { $ path = $ moduleId ; } foreach ( $ modules as $ moduleClasses ) { foreach ( $ moduleClasses as $ moduleClass ) { if ( strpos ( $ moduleClass , $ path . "/" ) === 0 ) { $ disabledModuleClasses [ ] = $ moduleClass ; } } } } else { $ disabledModuleClasses = array_merge ( $ disabledModuleClasses , $ extensions [ $ moduleId ] ) ; } } } return $ disabledModuleClasses ; }
Returns disabled module classes with path using config aModules
and aModulePaths.
aModules has all extended classes
aModulePaths has module id to main path array

@return array
Returns disabled module classes with path using config aModules and aModulePaths . aModules has all extended classes aModulePaths has module id to main path array