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;
    }
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;
    }
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 ; }
returns the modules of an extension from the ontology

@access public
@author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
@param  string $extensionID
@return array
returns the modules of an extension from the ontology