Interface jQuery.sap.util.UriParametersModule: jquery.sap.script


Encapsulates all URI parameters of the current windows location (URL).

Use jQuery.sap.getUriParameters to create an instance of jQuery.sap.util.UriParameters.


Since: 0.9.0.
Method Summary
get(sUri)Returns the value(s) of the URI parameter with the given name sName.
Method Detail
get(sUri): string|array

Returns the value(s) of the URI parameter with the given name sName.

If the boolean parameter bAll is true, an array of string values of all occurrences of the URI parameter with the given name is returned. This array is empty if the URI parameter is not contained in the windows URL.

If the boolean parameter bAll is false or is not specified, the value of the first occurrence of the URI parameter with the given name is returned. Might be null if the URI parameter is not contained in the windows URL.

Parameters:
stringsUriThe name of the URI parameter.
Returns:
string|arrayThe value(s) of the URI parameter with the given name