Lines Matching refs:YQLRequest
9 * @class YQLRequest
16 var YQLRequest = function (sql, callback, params, opts) {
24 params.format = Y.YQLRequest.FORMAT;
27 params.env = Y.YQLRequest.ENV;
36 YQLRequest.prototype = {
65 * @return {YQLRequest}
68 var qs = [], url = ((this._opts && this._opts.proto) ? this._opts.proto : Y.YQLRequest.PROTO);
76 url += ((this._opts && this._opts.base) ? this._opts.base : Y.YQLRequest.BASE_URL) + qs;
102 YQLRequest.FORMAT = 'json';
108 YQLRequest.PROTO = 'http';
114 YQLRequest.BASE_URL = ':/'+'/query.yahooapis.com/v1/public/yql?';
120 YQLRequest.ENV = 'http:/'+'/datatables.org/alltables.env';
122 Y.YQLRequest = YQLRequest;
134 return new Y.YQLRequest(sql, callback, params, opts).send();