public function hasAccess($action, $controller, $extension, $parameters = array()) {
        $user = \common_session_SessionManager::getSession()->getUser();
        $uri = ModuleAccessService::singleton()->makeEMAUri($extension, $controller);
        $controllerClassName = MapHelper::getControllerFromUri($uri);
        return self::accessPossible($user, $controllerClassName, $action);
    }
public function hasAccess($action, $controller, $extension, $parameters = array()) {
        $user = \common_session_SessionManager::getSession()->getUser();
        $uri = ModuleAccessService::singleton()->makeEMAUri($extension, $controller);
        $controllerClassName = MapHelper::getControllerFromUri($uri);
        return self::accessPossible($user, $controllerClassName, $action);
    }
public function hasAccess ( $ action , $ controller , $ extension , $ parameters = array ( ) ) { $ user = \ common_session_SessionManager :: getSession ( ) -> getUser ( ) ; $ uri = ModuleAccessService :: singleton ( ) -> makeEMAUri ( $ extension , $ controller ) ; $ controllerClassName = MapHelper :: getControllerFromUri ( $ uri ) ; return self :: accessPossible ( $ user , $ controllerClassName , $ action ) ; }
Compatibility class for old implementation

@param string $extension
@param string $controller
@param string $action
@param array $parameters
@return boolean
@deprecated
Compatibility class for old implementation