protected function getLocation($method, $database = null, array $arguments = null)
    {
        $location = "http://{$this->server}/$method";

        if ($database) {
            $location .= '/' . rawurlencode($database);
        }

        if ($arguments) {
            $location .= '/' . implode('/', array_map('rawurlencode', $arguments));
        }

        return $location;
    }
protected function getLocation($method, $database = null, array $arguments = null)
    {
        $location = "http://{$this->server}/$method";

        if ($database) {
            $location .= '/' . rawurlencode($database);
        }

        if ($arguments) {
            $location .= '/' . implode('/', array_map('rawurlencode', $arguments));
        }

        return $location;
    }
protected function getLocation ( $ method , $ database = null , array $ arguments = null ) { $ location = "http://{$this->server}/$method" ; if ( $ database ) { $ location .= '/' . rawurlencode ( $ database ) ; } if ( $ arguments ) { $ location .= '/' . implode ( '/' , array_map ( 'rawurlencode' , $ arguments ) ) ; } return $ location ; }
Creates a relative URL for the specified OrientDB method call.

@param string $method
@param string $database
@param array $arguments
@return string
Creates a relative URL for the specified OrientDB method call .