src/aria/modules/RequestMgr.js
function (requestPath, params) {
            if (!params || params.length === 0) {
                // Nothing to do if there are no parameters
                return requestPath;
            }

            // Flatten the array of global parameters
            var flat = [];
            for (var i = 0, len = params.length; i < len; i += 1) {
                var par = params[i];
                // The value is already encoded inside the addParam
                flat.push(par.name + '=' + par.value);
            }

            /*
             * Just in case we want to change it in the future. W3C recommends to use semi columns instead of ampersand
             * http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2
             */
            var parametersSeparator = "&";

            var flatString = flat.join(parametersSeparator);

            return this.__appendActionParameters(requestPath, flatString);
        }
function (requestPath, params) {
            if (!params || params.length === 0) {
                // Nothing to do if there are no parameters
                return requestPath;
            }

            // Flatten the array of global parameters
            var flat = [];
            for (var i = 0, len = params.length; i < len; i += 1) {
                var par = params[i];
                // The value is already encoded inside the addParam
                flat.push(par.name + '=' + par.value);
            }

            /*
             * Just in case we want to change it in the future. W3C recommends to use semi columns instead of ampersand
             * http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2
             */
            var parametersSeparator = "&";

            var flatString = flat.join(parametersSeparator);

            return this.__appendActionParameters(requestPath, flatString);
        }
function ( requestPath , params ) { if ( ! params || params . length === 0 ) { // Nothing to do if there are no parameters return requestPath ; } // Flatten the array of global parameters var flat = [ ] ; for ( var i = 0 , len = params . length ; i < len ; i += 1 ) { var par = params [ i ] ; // The value is already encoded inside the addParam flat . push ( par . name + '=' + par . value ) ; } /*
             * Just in case we want to change it in the future. W3C recommends to use semi columns instead of ampersand
             * http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2
             */ var parametersSeparator = "&" ; var flatString = flat . join ( parametersSeparator ) ; return this . __appendActionParameters ( requestPath , flatString ) ; }
Append the global parameters to a url request path. Global parameters are objects with properties name and
value
@param {String} requestPath The base requestPath
@param {Array} params List of parameters (added through addParam)
@return {String} the final requestPath
@private
Append the global parameters to a url request path . Global parameters are objects with properties name and value