upgraded to yui 0.12.0
upgraded to yui-ext 0.33 rc2
This commit is contained in:
parent
62b3d90db7
commit
cfd09a5cb6
1271 changed files with 539033 additions and 0 deletions
304
www/extras/yui/docs/YAHOO.widget.DS_JSFunction.html
Normal file
304
www/extras/yui/docs/YAHOO.widget.DS_JSFunction.html
Normal file
|
|
@ -0,0 +1,304 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>API: autocomplete YAHOO.widget.DS_JSFunction (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">
|
||||
</head>
|
||||
|
||||
<body id="yahoo-com">
|
||||
<div id="doc3" class="yui-t2">
|
||||
|
||||
<div id="hd">
|
||||
<h1>Yahoo! UI Library</h1>
|
||||
<h3>AutoComplete Widget </h3>
|
||||
<p>
|
||||
<a href="./index.html">Yahoo! UI Library</a>
|
||||
> <a href="./module_autocomplete.html">autocomplete</a>
|
||||
> YAHOO.widget.DS_JSFunction
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="bd">
|
||||
<div id="yui-main">
|
||||
<div class="yui-b">
|
||||
|
||||
|
||||
<h2>
|
||||
|
||||
|
||||
|
||||
|
||||
Class <b>YAHOO.widget.DS_JSFunction</b>
|
||||
<span class="extends">
|
||||
- extends <a href="YAHOO.widget.DataSource.html">YAHOO.widget.DataSource</a>
|
||||
</span>
|
||||
|
||||
<span class="extends">
|
||||
</span>
|
||||
|
||||
</code>
|
||||
</h2>
|
||||
<!-- class tree goes here -->
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="summary description">
|
||||
Implementation of YAHOO.widget.DataSource using a native Javascript function as
|
||||
its live data source.
|
||||
</div>
|
||||
|
||||
<div class="section constructor details">
|
||||
<h3><a name="constructor_detail">Constructor</a></h3>
|
||||
<div class="content">
|
||||
<div class="detail">
|
||||
<strong>YAHOO.widget.DS_JSFunction</strong>
|
||||
<code>
|
||||
(
|
||||
|
||||
|
||||
|
||||
oFunction
|
||||
|
||||
,
|
||||
oConfigs
|
||||
)
|
||||
</code>
|
||||
<div class="description">
|
||||
<dl>
|
||||
<dt>Parameters:</dt>
|
||||
<dd>
|
||||
<code>oFunction
|
||||
<HTMLFunction>
|
||||
</code>
|
||||
In-memory Javascript function that returns query results as an array of objects.
|
||||
</dd>
|
||||
<dd>
|
||||
<code>oConfigs
|
||||
<Object>
|
||||
</code>
|
||||
(optional) Object literal of config params.
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section field details">
|
||||
<h3><a name="field_detail">Properties</a></h3>
|
||||
<div class="content">
|
||||
<h4><a name="dataFunction">dataFunction</a>
|
||||
<code>- HTMLFunction</code>
|
||||
</h4>
|
||||
<div class="detail">
|
||||
<div class="description">
|
||||
In-memory Javascript function that returns query results.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section field inheritance">
|
||||
<h4>Properties inherited from <a href="YAHOO.widget.DataSource.html">YAHOO.widget.DataSource</a>:</h4>
|
||||
<div class="content">
|
||||
<code>
|
||||
|
||||
<a href="YAHOO.widget.DataSource.html#_aCache">_aCache</a>,
|
||||
<a href="YAHOO.widget.DataSource.html#_sName">_sName</a>,
|
||||
<a href="YAHOO.widget.DataSource.html#maxCacheEntries">maxCacheEntries</a>,
|
||||
<a href="YAHOO.widget.DataSource.html#queryMatchCase">queryMatchCase</a>,
|
||||
<a href="YAHOO.widget.DataSource.html#queryMatchContains">queryMatchContains</a>,
|
||||
<a href="YAHOO.widget.DataSource.html#queryMatchSubset">queryMatchSubset</a>
|
||||
</code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section method details">
|
||||
<h3><a name="methodDetails">Methods</a></h3>
|
||||
<div class="content">
|
||||
<h4>
|
||||
<a name="doQuery">doQuery</a></h4>
|
||||
<div class="detail">
|
||||
<code>
|
||||
|
||||
|
||||
|
||||
void
|
||||
<strong>doQuery</strong>
|
||||
(
|
||||
|
||||
|
||||
oCallbackFn
|
||||
|
||||
|
||||
,
|
||||
sQuery
|
||||
|
||||
|
||||
,
|
||||
oParent
|
||||
|
||||
|
||||
)
|
||||
</code>
|
||||
|
||||
<div class="description">
|
||||
Queries the live data source defined by function for results. Results are
|
||||
passed back to a callback function.
|
||||
</div>
|
||||
|
||||
<div class="description">
|
||||
|
||||
<dl>
|
||||
<dt>Parameters:</dt>
|
||||
<dd>
|
||||
<code>oCallbackFn <HTMLFunction></code>
|
||||
Callback function defined by oParent object to which to return results.
|
||||
</dd>
|
||||
<dd>
|
||||
<code>sQuery <String></code>
|
||||
Query string.
|
||||
</dd>
|
||||
<dd>
|
||||
<code>oParent <Object></code>
|
||||
The object instance that has requested data.
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt>Returns:
|
||||
<code>
|
||||
void
|
||||
</code></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<hr />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section field inheritance">
|
||||
<h4>Methods inherited from <a href="YAHOO.widget.DataSource.html">YAHOO.widget.DataSource</a>:</h4>
|
||||
<div class="content">
|
||||
<code>
|
||||
|
||||
<a href="YAHOO.widget.DataSource.html#_addCacheElem">_addCacheElem</a>,
|
||||
<a href="YAHOO.widget.DataSource.html#_doQueryCache">_doQueryCache</a>,
|
||||
<a href="YAHOO.widget.DataSource.html#_init">_init</a>,
|
||||
<a href="YAHOO.widget.DataSource.html#doQuery">doQuery</a>,
|
||||
<a href="YAHOO.widget.DataSource.html#flushCache">flushCache</a>,
|
||||
<a href="YAHOO.widget.DataSource.html#getResults">getResults</a>,
|
||||
<a href="YAHOO.widget.DataSource.html#toString">toString</a>
|
||||
</code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="section field inheritance">
|
||||
<h4>Events inherited from <a href="YAHOO.widget.DataSource.html">YAHOO.widget.DataSource</a>:</h4>
|
||||
<div class="content">
|
||||
<code>
|
||||
|
||||
<a href="YAHOO.widget.DataSource.html#cacheFlushEvent">cacheFlushEvent</a>,
|
||||
<a href="YAHOO.widget.DataSource.html#cacheQueryEvent">cacheQueryEvent</a>,
|
||||
<a href="YAHOO.widget.DataSource.html#dataErrorEvent">dataErrorEvent</a>,
|
||||
<a href="YAHOO.widget.DataSource.html#getCachedResultsEvent">getCachedResultsEvent</a>,
|
||||
<a href="YAHOO.widget.DataSource.html#getResultsEvent">getResultsEvent</a>,
|
||||
<a href="YAHOO.widget.DataSource.html#queryEvent">queryEvent</a>
|
||||
</code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="yui-b">
|
||||
<div class="nav">
|
||||
|
||||
<div class="module">
|
||||
<h4>Modules</h4>
|
||||
<ul class="content">
|
||||
<li><a href="module_animation.html">animation</a></li>
|
||||
<li><a href="module_autocomplete.html">autocomplete</a></li>
|
||||
<li><a href="module_calendar.html">calendar</a></li>
|
||||
<li><a href="module_connection.html">connection</a></li>
|
||||
<li><a href="module_container.html">container</a></li>
|
||||
<li><a href="module_dom.html">dom</a></li>
|
||||
<li><a href="module_dragdrop.html">dragdrop</a></li>
|
||||
<li><a href="module_event.html">event</a></li>
|
||||
<li><a href="module_logger.html">logger</a></li>
|
||||
<li><a href="module_menu.html">menu</a></li>
|
||||
<li><a href="module_slider.html">slider</a></li>
|
||||
<li><a href="module_tabview.html">tabview</a></li>
|
||||
<li><a href="module_treeview.html">treeview</a></li>
|
||||
<li><a href="module_yahoo.html">yahoo</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="module">
|
||||
<h4>Classes</h4>
|
||||
<ul class="content">
|
||||
<li><a href="YAHOO.widget.AutoComplete.html">YAHOO.widget.AutoComplete</a></li>
|
||||
<li><a href="YAHOO.widget.DataSource.html">YAHOO.widget.DataSource</a></li>
|
||||
<li><a href="YAHOO.widget.DS_JSArray.html">YAHOO.widget.DS_JSArray</a></li>
|
||||
<li><a href="YAHOO.widget.DS_JSFunction.html">YAHOO.widget.DS_JSFunction</a></li>
|
||||
<li><a href="YAHOO.widget.DS_XHR.html">YAHOO.widget.DS_XHR</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="module">
|
||||
<h4>Files</h4>
|
||||
<ul class="content">
|
||||
<li><a href="AutoComplete.js.html">AutoComplete.js</a></li>
|
||||
<li><a href="DataSource.js.html">DataSource.js</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="module">
|
||||
<h4>Properties</h4>
|
||||
<ul class="content">
|
||||
<li><a href="#dataFunction">dataFunction</a>
|
||||
<!--<code><HTMLFunction></code>-->
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="module">
|
||||
<h4>Methods</h4>
|
||||
<ul class="content">
|
||||
<li><!--<code>void</code>-->
|
||||
<a href="#doQuery">doQuery</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ft">
|
||||
<hr />
|
||||
Copyright © 2006 Yahoo! Inc. All rights reserved.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue