public static function getActions($controllerClassName) {
        try {
            $actions = ServiceManager::getServiceManager()->get('generis/cache')->get(self::CONTROLLER_PREFIX.$controllerClassName);
        } catch (\common_cache_NotFoundException $e) {
            $factory = new Factory();
            $desc =  $factory->getControllerDescription($controllerClassName);
            
            $actions = array();
            foreach ($desc->getActions() as $action) {
                $actions[] = $action->getName();
            }
            ServiceManager::getServiceManager()->get('generis/cache')->put($actions, self::CONTROLLER_PREFIX.$controllerClassName);
        }
        return $actions;
    }
public static function getActions($controllerClassName) {
        try {
            $actions = ServiceManager::getServiceManager()->get('generis/cache')->get(self::CONTROLLER_PREFIX.$controllerClassName);
        } catch (\common_cache_NotFoundException $e) {
            $factory = new Factory();
            $desc =  $factory->getControllerDescription($controllerClassName);
            
            $actions = array();
            foreach ($desc->getActions() as $action) {
                $actions[] = $action->getName();
            }
            ServiceManager::getServiceManager()->get('generis/cache')->put($actions, self::CONTROLLER_PREFIX.$controllerClassName);
        }
        return $actions;
    }
public static function getActions ( $ controllerClassName ) { try { $ actions = ServiceManager :: getServiceManager ( ) -> get ( 'generis/cache' ) -> get ( self :: CONTROLLER_PREFIX . $ controllerClassName ) ; } catch ( \ common_cache_NotFoundException $ e ) { $ factory = new Factory ( ) ; $ desc = $ factory -> getControllerDescription ( $ controllerClassName ) ; $ actions = array ( ) ; foreach ( $ desc -> getActions ( ) as $ action ) { $ actions [ ] = $ action -> getName ( ) ; } ServiceManager :: getServiceManager ( ) -> get ( 'generis/cache' ) -> put ( $ actions , self :: CONTROLLER_PREFIX . $ controllerClassName ) ; } return $ actions ; }
Get the list of actions for a controller

@param string $controllerClassName
@return array
Get the list of actions for a controller