Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

244 lines (177 sloc) 10.428 kb
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>API: yql yql.yql (YUI Library)</title>
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
<link rel="stylesheet" type="text/css" href="assets/api.css" />
<script type="text/javascript" src="assets/api-js"></script>
<script type="text/javascript" src="assets/ac-js"></script>
</head>
<body id="yahoo-com">
<div id="doc3" class="yui-t2">
<div id="hd">
<h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
<h3>yql&nbsp; <span class="subtitle">0.0.1</span></h3>
<a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a>
&gt; <a href="./module_yql.html" title="yql">yql</a>
&gt; yql.yql
<form onsubmit="return false">
<div id="propertysearch">
Search: <input autocomplete="off" id="searchinput" />
<div id="searchresults">
&nbsp;
</div>
</div>
</form>
</div>
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
<fieldset>
<legend>Filters</legend>
<span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
<span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
<span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
</fieldset>
</form>
<h2>
Class <b property="yui:name">yql.yql</b>
<span class="extends">
- extends <a href="Event.Target.html" title="Event.Target">Event.Target</a>
</span>
</h2>
<!-- class tree goes here -->
<div class="summary description" property="yui:description">
This class adds a sugar class to allow access to YQL (http://developer.yahoo.com/yql/).
</div>
<div class="section constructor details" rel="yui:constructor" resource="#constructor">
<h3 id="constructor">Constructor</h3>
<div class="content">
<div class="detail">
<strong property="yui:name">yql.yql</strong>
<code>
(
sql
,
callback
,
params
)
</code>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">sql</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> The SQL statement to execute</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">callback</span>
&lt;<span property="yui:type">Function</span>&gt;
</code>
<span property="yui:description"> The callback to execute after the query (optional).</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">params</span>
&lt;<span property="yui:type">Object</span>&gt;
</code>
<span property="yui:description"> An object literal of extra parameters to pass along (optional).</span>
</dd>
</dl>
</div>
</div>
</div>
</div>
<div rel="yui:properties" resource="#properties">
</div>
<div rel="yui:methods" resource="#methods">
</div>
<div rel="yui:events" resource="#events">
<div class="section method details">
<h3 id="events">Events</h3>
<div class="content">
<div class="" rel="yui:event" resource="#event_error">
<h4>
<a name="event_error">error</a></h4>
<div class="detail">
<code>
<strong property="yui:name">error</strong>
(
)
</code>
<div class="description" property="yui:description">
Fires when an error occurs.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_query">
<h4>
<a name="event_query">query</a></h4>
<div class="detail">
<code>
<strong property="yui:name">query</strong>
(
)
</code>
<div class="description" property="yui:description">
Fires when the Query returns.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
</div>
</div>
</div>
<div rel="yui:attributes" resource="#configattributes">
</div>
</div>
</div>
<div class="yui-b">
<div class="nav">
<div id="moduleList" class="module">
<h4>Modules</h4>
<ul class="content">
<li class="selected"><a href="module_yql.html" title="yql">yql</a></li>
</ul>
</div>
<div id="classList" class="module">
<h4>Classes</h4>
<ul class="content">
<li class="selected"><a href="yql.yql.html" title="yql.yql">yql.yql</a></li>
</ul>
</div>
<div id="fileList" class="module">
<h4>Files</h4>
<ul class="content">
<li class=""><a href="yql.js.html" title="yql.js">yql.js</a></li>
</ul>
</div>
<div id="eventsList" class="module">
<h4>Events</h4>
<ul class="content">
<li class=""><a href="#event_error" title="error">error</a></li>
<li class=""><a href="#event_query" title="query">query</a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="ft">
<hr />
Copyright &copy; 2009 Yahoo! Inc. All rights reserved.
</div>
</div>
<script type="text/javascript">
ALL_YUI_PROPS = [{"url": "yql.yql.html#event_error", "access": "", "host": "yql.yql", "type": "event", "name": "error"}, {"url": "yql.yql.html#event_query", "access": "", "host": "yql.yql", "type": "event", "name": "query"}];
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.