Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • appendParameters(url: string, parameters: any, bOverwriteExisting?: boolean, bConvertToUppercase?: boolean, bDiscardExistingParams?: boolean): any
  • Appends the specified parameters to the given URL

    export
    since

    0.12

    Parameters

    • url: string

      The URL to append parameters to

    • parameters: any

      The parameters to append

    • bOverwriteExisting: boolean = true
    • bConvertToUppercase: boolean = false
    • bDiscardExistingParams: boolean = false

    Returns any

  • areUrlsSame(url1: string, url2: string): boolean
  • Indicates if the given URLs are the same

    export

    Parameters

    • url1: string
    • url2: string

    Returns boolean

  • ensureParameters(url: string, mapName: undefined | string, session: undefined | string, locale?: string, uppercase?: boolean, extraParameters?: IInvokeUrlCommandParameter[]): string
  • Normalizes the given URL to ensure it has the baseline set of required parameters for invoking any server-side script that uses the MapGuide Web API

    export

    Parameters

    • url: string

      The url to normalize

    • mapName: undefined | string

      The name of the current runtime map

    • session: undefined | string

      The current session id

    • Optional locale: string
    • uppercase: boolean = true
    • extraParameters: IInvokeUrlCommandParameter[] = []

    Returns string

  • isComponentUri(uri: string): boolean
  • Indicates if the given URI is a component URI

    export

    Parameters

    • uri: string

    Returns boolean

  • Parses the given component URI. If it not a valid component URI returns undefined

    export

    Parameters

    • uri: string

    Returns ParsedComponentUri | undefined

  • Parses the given URL and separates out the query string parameters

    export
    since

    0.12

    Parameters

    • url: string

      The URL to parse

    Returns IParsedUrl

  • parseUrlParameters(url: string): any
  • Parses the query string section of the given URL and returns the parsed parameters as an object

    since

    0.13

    Parameters

    • url: string

      The URL to parse

    Returns any

  • stringifyQuery(parameters: any): string
  • Converts the given object to a query string fragment

    export

    Parameters

    • parameters: any

      The object to stringify

    Returns string

    The query string fragment

Generated using TypeDoc