Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils/url"

Index

Functions

areUrlsSame

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

    export

    Parameters

    • url1: string
    • url2: string

    Returns boolean

ensureParameters

  • ensureParameters(url: string, mapName: string, session: string, locale?: undefined | 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: string

      The name of the current runtime map

    • session: string

      The current session id

    • Optional locale: undefined | string
    • Default value uppercase: boolean = true
    • Default value extraParameters: IInvokeUrlCommandParameter[] = []

    Returns string

isComponentUri

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

    export

    Parameters

    • uri: string

    Returns boolean

parseComponentUri

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

    export

    Parameters

    • uri: string

    Returns ParsedComponentUri | undefined

Generated using TypeDoc