public function getModulesPath()
    {
        $paths = array();
        foreach ($this->getLoadedModules(true) as $module) {
            $paths[$module->getName()] = $module->getPath();
        }

        return $paths;
    }
public function getModulesPath()
    {
        $paths = array();
        foreach ($this->getLoadedModules(true) as $module) {
            $paths[$module->getName()] = $module->getPath();
        }

        return $paths;
    }
public function getModulesPath ( ) { $ paths = array ( ) ; foreach ( $ this -> getLoadedModules ( true ) as $ module ) { $ paths [ $ module -> getName ( ) ] = $ module -> getPath ( ) ; } return $ paths ; }
Returns an array of paths to modules.

@return array An array of paths to each loaded module
Returns an array of paths to modules .