public static function getModules($extensionId)
    {
        $returnValue = array();
        foreach (ControllerHelper::getControllers($extensionId) as $controllerClassName) {
            $shortName = strpos($controllerClassName, '\\') !== false
                ? substr($controllerClassName, strrpos($controllerClassName, '\\')+1)
                : substr($controllerClassName, strrpos($controllerClassName, '_')+1)
            ;
            $uri = AccessService::singleton()->makeEMAUri($extensionId, $shortName);
            $returnValue[$uri] = new \core_kernel_classes_Resource($uri);
        }
        return (array) $returnValue;
    }