public function getRegisteredUserFunctions($namespace = null)
    {
        $url = UrlHelper::buildUrl(Urls::URL_AQL_USER_FUNCTION, []);
        if (null !== $namespace) {
            $url = UrlHelper::appendParamsUrl($url, ['namespace' => $namespace]);
        }
        $response = $this->_connection->get($url);

        $data = $response->getJson();
        if (isset($data['result'])) {
            return $data['result'];
        }
        // backwards compatibility
        return $data;
    }
public function getRegisteredUserFunctions($namespace = null)
    {
        $url = UrlHelper::buildUrl(Urls::URL_AQL_USER_FUNCTION, []);
        if (null !== $namespace) {
            $url = UrlHelper::appendParamsUrl($url, ['namespace' => $namespace]);
        }
        $response = $this->_connection->get($url);

        $data = $response->getJson();
        if (isset($data['result'])) {
            return $data['result'];
        }
        // backwards compatibility
        return $data;
    }
public function getRegisteredUserFunctions ( $ namespace = null ) { $ url = UrlHelper :: buildUrl ( Urls :: URL_AQL_USER_FUNCTION , [ ] ) ; if ( null !== $ namespace ) { $ url = UrlHelper :: appendParamsUrl ( $ url , [ 'namespace' => $ namespace ] ) ; } $ response = $ this -> _connection -> get ( $ url ) ; $ data = $ response -> getJson ( ) ; if ( isset ( $ data [ 'result' ] ) ) { return $ data [ 'result' ] ; } // backwards compatibility return $ data ; }
Get registered user functions

The method can optionally be passed a $namespace parameter to narrow the results down to a specific namespace.

@param null $namespace

@throws Exception throw exception if the request failed

@return mixed true if successful without a return value or the return value if one was set in the action
Get registered user functions