Lines Matching refs:YQLRequest
7 * @class YQLRequest
14 var YQLRequest = function (sql, callback, params, opts) {
22 params.format = Y.YQLRequest.FORMAT;
25 params.env = Y.YQLRequest.ENV;
34 YQLRequest.prototype = {
63 * @return {YQLRequest}
66 var qs = [], url = ((this._opts && this._opts.proto) ? this._opts.proto : Y.YQLRequest.PROTO);
74 url += ((this._opts && this._opts.base) ? this._opts.base : Y.YQLRequest.BASE_URL) + qs;
100 YQLRequest.FORMAT = 'json';
106 YQLRequest.PROTO = 'http';
112 YQLRequest.BASE_URL = ':/'+'/query.yahooapis.com/v1/public/yql?';
118 YQLRequest.ENV = 'http:/'+'/datatables.org/alltables.env';
120 Y.YQLRequest = YQLRequest;
132 return new Y.YQLRequest(sql, callback, params, opts).send();