public static function getActions(\core_kernel_classes_Resource $module)
    {
        $returnValue = array();
        $controllerClassName = MapHelper::getControllerFromUri($module->getUri());
        try {
            foreach (ControllerHelper::getActions($controllerClassName) as $actionName) {
                $uri = MapHelper::getUriForAction($controllerClassName, $actionName);
                $returnValue[$uri] = new \core_kernel_classes_Resource($uri);
            }
        } catch (\ReflectionException $e) {
            // unknown controller, no actions returned
        }
        return (array) $returnValue;
    }
public static function getActions(\core_kernel_classes_Resource $module)
    {
        $returnValue = array();
        $controllerClassName = MapHelper::getControllerFromUri($module->getUri());
        try {
            foreach (ControllerHelper::getActions($controllerClassName) as $actionName) {
                $uri = MapHelper::getUriForAction($controllerClassName, $actionName);
                $returnValue[$uri] = new \core_kernel_classes_Resource($uri);
            }
        } catch (\ReflectionException $e) {
            // unknown controller, no actions returned
        }
        return (array) $returnValue;
    }
public static function getActions ( \ core_kernel_classes_Resource $ module ) { $ returnValue = array ( ) ; $ controllerClassName = MapHelper :: getControllerFromUri ( $ module -> getUri ( ) ) ; try { foreach ( ControllerHelper :: getActions ( $ controllerClassName ) as $ actionName ) { $ uri = MapHelper :: getUriForAction ( $ controllerClassName , $ actionName ) ; $ returnValue [ $ uri ] = new \ core_kernel_classes_Resource ( $ uri ) ; } } catch ( \ ReflectionException $ e ) { // unknown controller, no actions returned } return ( array ) $ returnValue ; }
returns the actions of a module from the ontology

@access public
@author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
@param  Resource $module
@return array
returns the actions of a module from the ontology