source/Core/Module/ModuleList.php
public function getActiveModuleInfo()
    {
        $aModulePaths = $this->getModuleConfigParametersByKey(static::MODULE_KEY_PATHS);

        // Extract module paths from extended classes
        if (!is_array($aModulePaths) || count($aModulePaths) < 1) {
            $aModulePaths = $this->extractModulePaths();
        }

        $aDisabledModules = $this->getDisabledModules();
        if (is_array($aDisabledModules) && count($aDisabledModules) > 0 && count($aModulePaths) > 0) {
            $aModulePaths = array_diff_key($aModulePaths, array_flip($aDisabledModules));
        }

        return $aModulePaths;
    }
public function getActiveModuleInfo()
    {
        $aModulePaths = $this->getModuleConfigParametersByKey(static::MODULE_KEY_PATHS);

        // Extract module paths from extended classes
        if (!is_array($aModulePaths) || count($aModulePaths) < 1) {
            $aModulePaths = $this->extractModulePaths();
        }

        $aDisabledModules = $this->getDisabledModules();
        if (is_array($aDisabledModules) && count($aDisabledModules) > 0 && count($aModulePaths) > 0) {
            $aModulePaths = array_diff_key($aModulePaths, array_flip($aDisabledModules));
        }

        return $aModulePaths;
    }
public function getActiveModuleInfo ( ) { $ aModulePaths = $ this -> getModuleConfigParametersByKey ( static :: MODULE_KEY_PATHS ) ; // Extract module paths from extended classes if ( ! is_array ( $ aModulePaths ) || count ( $ aModulePaths ) < 1 ) { $ aModulePaths = $ this -> extractModulePaths ( ) ; } $ aDisabledModules = $ this -> getDisabledModules ( ) ; if ( is_array ( $ aDisabledModules ) && count ( $ aDisabledModules ) > 0 && count ( $ aModulePaths ) > 0 ) { $ aModulePaths = array_diff_key ( $ aModulePaths , array_flip ( $ aDisabledModules ) ) ; } return $ aModulePaths ; }
Get active modules path info

@return array
Get active modules path info