|
0
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
|
2 |
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#"> |
|
|
3 |
<head> |
|
|
4 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
|
|
5 |
<title>API: datasource DataSource.Local (YUI Library)</title> |
|
|
6 |
|
|
|
7 |
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" /> |
|
|
8 |
<link rel="stylesheet" type="text/css" href="assets/api.css" /> |
|
|
9 |
|
|
|
10 |
<script type="text/javascript" src="assets/api-js"></script> |
|
|
11 |
<script type="text/javascript" src="assets/ac-js"></script> |
|
|
12 |
</head> |
|
|
13 |
|
|
|
14 |
<body id="yahoo-com"> |
|
|
15 |
|
|
|
16 |
<div id="doc3" class="yui-t2"> |
|
|
17 |
<div id="hd"> |
|
|
18 |
<h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1> |
|
|
19 |
<h3>datasource <span class="subtitle">3.0.0</span></h3> |
|
|
20 |
<a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> |
|
|
21 |
> <a href="./module_datasource.html" title="datasource">datasource</a> |
|
|
22 |
> DataSource.Local |
|
|
23 |
|
|
|
24 |
<form onsubmit="return false"> |
|
|
25 |
<div id="propertysearch"> |
|
|
26 |
Search: <input autocomplete="off" id="searchinput" /> |
|
|
27 |
<div id="searchresults"> |
|
|
28 |
|
|
|
29 |
</div> |
|
|
30 |
</div> |
|
|
31 |
</form> |
|
|
32 |
</div> |
|
|
33 |
|
|
|
34 |
<div id="bd"> |
|
|
35 |
<div id="yui-main"> |
|
|
36 |
<div class="yui-b"> |
|
|
37 |
<form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form"> |
|
|
38 |
<fieldset> |
|
|
39 |
<legend>Filters</legend> |
|
|
40 |
<span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span> |
|
|
41 |
<span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span> |
|
|
42 |
<span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span> |
|
|
43 |
</fieldset> |
|
|
44 |
</form> |
|
|
45 |
|
|
|
46 |
<h2> |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
Class <b property="yui:name">DataSource.Local</b> |
|
|
52 |
<span class="extends"> |
|
|
53 |
- extends <a href="Base.html" title="Base">Base</a> |
|
|
54 |
</span> |
|
|
55 |
|
|
|
56 |
</h2> |
|
|
57 |
<!-- class tree goes here --> |
|
|
58 |
|
|
|
59 |
<dl class="subclasses" rel="yui:subclasses"> |
|
|
60 |
<dt>Known Subclasses:</dt> |
|
|
61 |
<dd> |
|
|
62 |
<span rel="yui:subclass" resource="DataSource.Function.html"> |
|
|
63 |
<a href="DataSource.Function.html" property="yui:name" title="DataSource.Function">DataSource.Function</a> |
|
|
64 |
</span> |
|
|
65 |
<span rel="yui:subclass" resource="Pollable.html"> |
|
|
66 |
<a href="Pollable.html" property="yui:name" title="Pollable">Pollable</a> |
|
|
67 |
</span> |
|
|
68 |
<span rel="yui:subclass" resource="DataSource.Get.html"> |
|
|
69 |
<a href="DataSource.Get.html" property="yui:name" title="DataSource.Get">DataSource.Get</a> |
|
|
70 |
</span> |
|
|
71 |
<span rel="yui:subclass" resource="DataSource.IO.html"> |
|
|
72 |
<a href="DataSource.IO.html" property="yui:name" title="DataSource.IO">DataSource.IO</a> |
|
|
73 |
</span> |
|
|
74 |
</dd> |
|
|
75 |
</dl> |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
<div class="summary description" property="yui:description"> |
|
|
80 |
Base class for the DataSource Utility. |
|
|
81 |
</div> |
|
|
82 |
|
|
|
83 |
<div class="section constructor details" rel="yui:constructor" resource="#constructor"> |
|
|
84 |
<h3 id="constructor">Constructor</h3> |
|
|
85 |
<div class="content"> |
|
|
86 |
<div class="detail"> |
|
|
87 |
<strong property="yui:name">DataSource.Local</strong> |
|
|
88 |
<code> |
|
|
89 |
( |
|
|
90 |
) |
|
|
91 |
</code> |
|
|
92 |
<div class="description"> |
|
|
93 |
|
|
|
94 |
|
|
|
95 |
</div> |
|
|
96 |
</div> |
|
|
97 |
</div> |
|
|
98 |
</div> |
|
|
99 |
|
|
|
100 |
<div rel="yui:properties" resource="#properties"> |
|
|
101 |
<div class="section field details"> |
|
|
102 |
<h3 id="properties">Properties</h3> |
|
|
103 |
<div class="content"> |
|
|
104 |
<div class="private" rel="yui:property" resource="#property_DataSource._tId"> |
|
|
105 |
<h4><a name="property_DataSource._tId" property="yui:name">DataSource._tId</a> |
|
|
106 |
- <code>private static <span property="yui:type">Number</span></code> |
|
|
107 |
</h4> |
|
|
108 |
<div class="detail"> |
|
|
109 |
<div class="description" property="yui:description"> |
|
|
110 |
Global transaction counter. |
|
|
111 |
</div> |
|
|
112 |
</div> |
|
|
113 |
|
|
|
114 |
|
|
|
115 |
<div class="default" property="yui:defaultValue"> |
|
|
116 |
Default Value: 0 |
|
|
117 |
</div> |
|
|
118 |
|
|
|
119 |
|
|
|
120 |
<hr /> |
|
|
121 |
</div> |
|
|
122 |
<div class="" rel="yui:property" resource="#property_NAME"> |
|
|
123 |
<h4><a name="property_NAME" property="yui:name">NAME</a> |
|
|
124 |
- <code>static final <span property="yui:type">String</span></code> |
|
|
125 |
</h4> |
|
|
126 |
<div class="detail"> |
|
|
127 |
<div class="description" property="yui:description"> |
|
|
128 |
Class name. |
|
|
129 |
</div> |
|
|
130 |
</div> |
|
|
131 |
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
|
|
|
135 |
<hr /> |
|
|
136 |
</div> |
|
|
137 |
</div> |
|
|
138 |
</div> |
|
|
139 |
|
|
|
140 |
<div rel="yui:inheritance"> |
|
|
141 |
<div class="section field inheritance" rel="yui:superclass" resource="Attribute.html"> |
|
|
142 |
<h4>Properties inherited from <a href="Attribute.html" property="yui:name" title="Attribute">Attribute</a>:</h4> |
|
|
143 |
<div class="content" rel="yui:properties"> |
|
|
144 |
<code> |
|
|
145 |
|
|
|
146 |
</code> |
|
|
147 |
</div> |
|
|
148 |
</div> |
|
|
149 |
<div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
|
150 |
<h4>Properties inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
|
151 |
<div class="content" rel="yui:properties"> |
|
|
152 |
<code> |
|
|
153 |
|
|
|
154 |
<span rel="yui:property" resource="Base.html#property_name"> |
|
|
155 |
<a class=" deprecated" href="Base.html#property_name" property="yui:name" title="name">name</a> |
|
|
156 |
</span> |
|
|
157 |
|
|
|
158 |
</code> |
|
|
159 |
</div> |
|
|
160 |
</div> |
|
|
161 |
</div> |
|
|
162 |
</div> |
|
|
163 |
|
|
|
164 |
<div rel="yui:methods" resource="#methods"> |
|
|
165 |
<div class="section method details"> |
|
|
166 |
<h3 id="methods">Methods</h3> |
|
|
167 |
<div class="content"> |
|
|
168 |
<div class="protected" rel="yui:method" resource="#method__defDataFn"> |
|
|
169 |
<h4> |
|
|
170 |
<a name="method__defDataFn">_defDataFn</a></h4> |
|
|
171 |
<div class="detail" > |
|
|
172 |
<code> |
|
|
173 |
protected |
|
|
174 |
|
|
|
175 |
|
|
|
176 |
void |
|
|
177 |
<strong property="yui:name">_defDataFn</strong> |
|
|
178 |
( |
|
|
179 |
|
|
|
180 |
|
|
|
181 |
e |
|
|
182 |
|
|
|
183 |
|
|
|
184 |
) |
|
|
185 |
</code> |
|
|
186 |
|
|
|
187 |
<div class="description" property="yui:description"> |
|
|
188 |
Normalizes raw data into a response that includes results and meta properties. |
|
|
189 |
</div> |
|
|
190 |
|
|
|
191 |
<div class="description"> |
|
|
192 |
|
|
|
193 |
<dl rel="yui:parameters"> |
|
|
194 |
<dt>Parameters:</dt> |
|
|
195 |
<dd rel="yui:parameter"> |
|
|
196 |
<code><span property="yui:name">e</span> |
|
|
197 |
<<span property="yui:type">Event.Facade</span>> |
|
|
198 |
</code> |
|
|
199 |
<span property="yui:description"> Event Facade with the following properties: |
|
|
200 |
<dl> |
|
|
201 |
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd> |
|
|
202 |
<dt>request (Object)</dt> <dd>The request.</dd> |
|
|
203 |
<dt>callback (Object)</dt> <dd>The callback object with the following properties: |
|
|
204 |
<dl> |
|
|
205 |
<dt>success (Function)</dt> <dd>Success handler.</dd> |
|
|
206 |
<dt>failure (Function)</dt> <dd>Failure handler.</dd> |
|
|
207 |
</dl> |
|
|
208 |
</dd> |
|
|
209 |
<dt>cfg (Object)</dt> <dd>Configuration object.</dd> |
|
|
210 |
<dt>data (Object)</dt> <dd>Raw data.</dd> |
|
|
211 |
</dl></span> |
|
|
212 |
</dd> |
|
|
213 |
</dl> |
|
|
214 |
|
|
|
215 |
|
|
|
216 |
|
|
|
217 |
|
|
|
218 |
|
|
|
219 |
</div> |
|
|
220 |
|
|
|
221 |
</div> |
|
|
222 |
<hr /> |
|
|
223 |
</div> |
|
|
224 |
<div class="protected" rel="yui:method" resource="#method__defRequestFn"> |
|
|
225 |
<h4> |
|
|
226 |
<a name="method__defRequestFn">_defRequestFn</a></h4> |
|
|
227 |
<div class="detail" > |
|
|
228 |
<code> |
|
|
229 |
protected |
|
|
230 |
|
|
|
231 |
|
|
|
232 |
void |
|
|
233 |
<strong property="yui:name">_defRequestFn</strong> |
|
|
234 |
( |
|
|
235 |
|
|
|
236 |
|
|
|
237 |
e |
|
|
238 |
|
|
|
239 |
|
|
|
240 |
) |
|
|
241 |
</code> |
|
|
242 |
|
|
|
243 |
<div class="description" property="yui:description"> |
|
|
244 |
Manages request/response transaction. Must fire <code>response</code> |
|
|
245 |
event when response is received. This method should be implemented by |
|
|
246 |
subclasses to achieve more complex behavior such as accessing remote data. |
|
|
247 |
</div> |
|
|
248 |
|
|
|
249 |
<div class="description"> |
|
|
250 |
|
|
|
251 |
<dl rel="yui:parameters"> |
|
|
252 |
<dt>Parameters:</dt> |
|
|
253 |
<dd rel="yui:parameter"> |
|
|
254 |
<code><span property="yui:name">e</span> |
|
|
255 |
<<span property="yui:type">Event.Facade</span>> |
|
|
256 |
</code> |
|
|
257 |
<span property="yui:description"> Event Facadewith the following properties: |
|
|
258 |
<dl> |
|
|
259 |
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd> |
|
|
260 |
<dt>request (Object)</dt> <dd>The request.</dd> |
|
|
261 |
<dt>callback (Object)</dt> <dd>The callback object with the following properties: |
|
|
262 |
<dl> |
|
|
263 |
<dt>success (Function)</dt> <dd>Success handler.</dd> |
|
|
264 |
<dt>failure (Function)</dt> <dd>Failure handler.</dd> |
|
|
265 |
</dl> |
|
|
266 |
</dd> |
|
|
267 |
<dt>cfg (Object)</dt> <dd>Configuration object.</dd> |
|
|
268 |
</dl></span> |
|
|
269 |
</dd> |
|
|
270 |
</dl> |
|
|
271 |
|
|
|
272 |
|
|
|
273 |
|
|
|
274 |
|
|
|
275 |
|
|
|
276 |
</div> |
|
|
277 |
|
|
|
278 |
</div> |
|
|
279 |
<hr /> |
|
|
280 |
</div> |
|
|
281 |
<div class="protected" rel="yui:method" resource="#method__defResponseFn"> |
|
|
282 |
<h4> |
|
|
283 |
<a name="method__defResponseFn">_defResponseFn</a></h4> |
|
|
284 |
<div class="detail" > |
|
|
285 |
<code> |
|
|
286 |
protected |
|
|
287 |
|
|
|
288 |
|
|
|
289 |
void |
|
|
290 |
<strong property="yui:name">_defResponseFn</strong> |
|
|
291 |
( |
|
|
292 |
|
|
|
293 |
|
|
|
294 |
e |
|
|
295 |
|
|
|
296 |
|
|
|
297 |
) |
|
|
298 |
</code> |
|
|
299 |
|
|
|
300 |
<div class="description" property="yui:description"> |
|
|
301 |
Sends data as a normalized response to callback. |
|
|
302 |
</div> |
|
|
303 |
|
|
|
304 |
<div class="description"> |
|
|
305 |
|
|
|
306 |
<dl rel="yui:parameters"> |
|
|
307 |
<dt>Parameters:</dt> |
|
|
308 |
<dd rel="yui:parameter"> |
|
|
309 |
<code><span property="yui:name">e</span> |
|
|
310 |
<<span property="yui:type">Event.Facade</span>> |
|
|
311 |
</code> |
|
|
312 |
<span property="yui:description"> Event Facade with the following properties: |
|
|
313 |
<dl> |
|
|
314 |
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd> |
|
|
315 |
<dt>request (Object)</dt> <dd>The request.</dd> |
|
|
316 |
<dt>callback (Object)</dt> <dd>The callback object with the following properties: |
|
|
317 |
<dl> |
|
|
318 |
<dt>success (Function)</dt> <dd>Success handler.</dd> |
|
|
319 |
<dt>failure (Function)</dt> <dd>Failure handler.</dd> |
|
|
320 |
</dl> |
|
|
321 |
</dd> |
|
|
322 |
<dt>cfg (Object)</dt> <dd>Configuration object.</dd> |
|
|
323 |
<dt>data (Object)</dt> <dd>Raw data.</dd> |
|
|
324 |
<dt>response (Object)</dt> <dd>Normalized response object with the following properties: |
|
|
325 |
<dl> |
|
|
326 |
<dt>results (Object)</dt> <dd>Parsed results.</dd> |
|
|
327 |
<dt>meta (Object)</dt> <dd>Parsed meta data.</dd> |
|
|
328 |
<dt>error (Boolean)</dt> <dd>Error flag.</dd> |
|
|
329 |
</dl> |
|
|
330 |
</dd> |
|
|
331 |
</dl></span> |
|
|
332 |
</dd> |
|
|
333 |
</dl> |
|
|
334 |
|
|
|
335 |
|
|
|
336 |
|
|
|
337 |
|
|
|
338 |
|
|
|
339 |
</div> |
|
|
340 |
|
|
|
341 |
</div> |
|
|
342 |
<hr /> |
|
|
343 |
</div> |
|
|
344 |
<div class="private" rel="yui:method" resource="#method__initEvents"> |
|
|
345 |
<h4> |
|
|
346 |
<a name="method__initEvents">_initEvents</a></h4> |
|
|
347 |
<div class="detail" > |
|
|
348 |
<code> |
|
|
349 |
private |
|
|
350 |
|
|
|
351 |
|
|
|
352 |
void |
|
|
353 |
<strong property="yui:name">_initEvents</strong> |
|
|
354 |
( |
|
|
355 |
) |
|
|
356 |
</code> |
|
|
357 |
|
|
|
358 |
<div class="description" property="yui:description"> |
|
|
359 |
This method creates all the events for this module. |
|
|
360 |
</div> |
|
|
361 |
|
|
|
362 |
<div class="description"> |
|
|
363 |
|
|
|
364 |
|
|
|
365 |
|
|
|
366 |
|
|
|
367 |
|
|
|
368 |
|
|
|
369 |
</div> |
|
|
370 |
|
|
|
371 |
</div> |
|
|
372 |
<hr /> |
|
|
373 |
</div> |
|
|
374 |
<div class="" rel="yui:method" resource="#method_DataSource.issueCallback"> |
|
|
375 |
<h4> |
|
|
376 |
<a name="method_DataSource.issueCallback">DataSource.issueCallback</a></h4> |
|
|
377 |
<div class="detail" > |
|
|
378 |
<code> |
|
|
379 |
|
|
|
380 |
static |
|
|
381 |
|
|
|
382 |
void |
|
|
383 |
<strong property="yui:name">DataSource.issueCallback</strong> |
|
|
384 |
( |
|
|
385 |
|
|
|
386 |
|
|
|
387 |
callback |
|
|
388 |
|
|
|
389 |
|
|
|
390 |
, |
|
|
391 |
params |
|
|
392 |
|
|
|
393 |
|
|
|
394 |
, |
|
|
395 |
error |
|
|
396 |
|
|
|
397 |
|
|
|
398 |
) |
|
|
399 |
</code> |
|
|
400 |
|
|
|
401 |
<div class="description" property="yui:description"> |
|
|
402 |
Executes a given callback. The third param determines whether to execute |
|
|
403 |
</div> |
|
|
404 |
|
|
|
405 |
<div class="description"> |
|
|
406 |
|
|
|
407 |
<dl rel="yui:parameters"> |
|
|
408 |
<dt>Parameters:</dt> |
|
|
409 |
<dd rel="yui:parameter"> |
|
|
410 |
<code><span property="yui:name">callback</span> |
|
|
411 |
<<span property="yui:type">Object</span>> |
|
|
412 |
</code> |
|
|
413 |
<span property="yui:description"> The callback object.</span> |
|
|
414 |
</dd> |
|
|
415 |
<dd rel="yui:parameter"> |
|
|
416 |
<code><span property="yui:name">params</span> |
|
|
417 |
<<span property="yui:type">Array</span>> |
|
|
418 |
</code> |
|
|
419 |
<span property="yui:description"> params to be passed to the callback method</span> |
|
|
420 |
</dd> |
|
|
421 |
<dd rel="yui:parameter"> |
|
|
422 |
<code><span property="yui:name">error</span> |
|
|
423 |
<<span property="yui:type">Boolean</span>> |
|
|
424 |
</code> |
|
|
425 |
<span property="yui:description"> whether an error occurred</span> |
|
|
426 |
</dd> |
|
|
427 |
</dl> |
|
|
428 |
|
|
|
429 |
|
|
|
430 |
|
|
|
431 |
|
|
|
432 |
|
|
|
433 |
</div> |
|
|
434 |
|
|
|
435 |
</div> |
|
|
436 |
<hr /> |
|
|
437 |
</div> |
|
|
438 |
<div class="private" rel="yui:method" resource="#method_initializer"> |
|
|
439 |
<h4> |
|
|
440 |
<a name="method_initializer">initializer</a></h4> |
|
|
441 |
<div class="detail" > |
|
|
442 |
<code> |
|
|
443 |
private |
|
|
444 |
|
|
|
445 |
|
|
|
446 |
void |
|
|
447 |
<strong property="yui:name">initializer</strong> |
|
|
448 |
( |
|
|
449 |
|
|
|
450 |
|
|
|
451 |
config |
|
|
452 |
|
|
|
453 |
|
|
|
454 |
) |
|
|
455 |
</code> |
|
|
456 |
|
|
|
457 |
<div class="description" property="yui:description"> |
|
|
458 |
Internal init() handler. |
|
|
459 |
</div> |
|
|
460 |
|
|
|
461 |
<div class="description"> |
|
|
462 |
|
|
|
463 |
<dl rel="yui:parameters"> |
|
|
464 |
<dt>Parameters:</dt> |
|
|
465 |
<dd rel="yui:parameter"> |
|
|
466 |
<code><span property="yui:name">config</span> |
|
|
467 |
<<span property="yui:type">Object</span>> |
|
|
468 |
</code> |
|
|
469 |
<span property="yui:description"> Config object.</span> |
|
|
470 |
</dd> |
|
|
471 |
</dl> |
|
|
472 |
|
|
|
473 |
|
|
|
474 |
|
|
|
475 |
|
|
|
476 |
|
|
|
477 |
</div> |
|
|
478 |
|
|
|
479 |
</div> |
|
|
480 |
<hr /> |
|
|
481 |
</div> |
|
|
482 |
<div class="" rel="yui:method" resource="#method_sendRequest"> |
|
|
483 |
<h4> |
|
|
484 |
<a name="method_sendRequest">sendRequest</a></h4> |
|
|
485 |
<div class="detail" > |
|
|
486 |
<code> |
|
|
487 |
|
|
|
488 |
|
|
|
489 |
|
|
|
490 |
Number |
|
|
491 |
<strong property="yui:name">sendRequest</strong> |
|
|
492 |
( |
|
|
493 |
|
|
|
494 |
|
|
|
495 |
request |
|
|
496 |
|
|
|
497 |
|
|
|
498 |
, |
|
|
499 |
callback |
|
|
500 |
|
|
|
501 |
|
|
|
502 |
, |
|
|
503 |
cfg |
|
|
504 |
|
|
|
505 |
|
|
|
506 |
) |
|
|
507 |
</code> |
|
|
508 |
|
|
|
509 |
<div class="description" property="yui:description"> |
|
|
510 |
Generates a unique transaction ID and fires <code>request</code> event. |
|
|
511 |
</div> |
|
|
512 |
|
|
|
513 |
<div class="description"> |
|
|
514 |
|
|
|
515 |
<dl rel="yui:parameters"> |
|
|
516 |
<dt>Parameters:</dt> |
|
|
517 |
<dd rel="yui:parameter"> |
|
|
518 |
<code><span property="yui:name">request</span> |
|
|
519 |
<<span property="yui:type">Object</span>> |
|
|
520 |
</code> |
|
|
521 |
<span property="yui:description"> Request.</span> |
|
|
522 |
</dd> |
|
|
523 |
<dd rel="yui:parameter"> |
|
|
524 |
<code><span property="yui:name">callback</span> |
|
|
525 |
<<span property="yui:type">Object</span>> |
|
|
526 |
</code> |
|
|
527 |
<span property="yui:description"> An object literal with the following properties: |
|
|
528 |
<dl> |
|
|
529 |
<dt><code>success</code></dt> |
|
|
530 |
<dd>The function to call when the data is ready.</dd> |
|
|
531 |
<dt><code>failure</code></dt> |
|
|
532 |
<dd>The function to call upon a response failure condition.</dd> |
|
|
533 |
<dt><code>argument</code></dt> |
|
|
534 |
<dd>Arbitrary data payload that will be passed back to the success and failure handlers.</dd> |
|
|
535 |
</dl></span> |
|
|
536 |
</dd> |
|
|
537 |
<dd rel="yui:parameter"> |
|
|
538 |
<code><span property="yui:name">cfg</span> |
|
|
539 |
<<span property="yui:type">Object</span>> |
|
|
540 |
</code> |
|
|
541 |
<span property="yui:description"> Configuration object</span> |
|
|
542 |
</dd> |
|
|
543 |
</dl> |
|
|
544 |
|
|
|
545 |
<dl> |
|
|
546 |
<dt>Returns: |
|
|
547 |
<code property="yui:return"> |
|
|
548 |
Number |
|
|
549 |
</code></dt> |
|
|
550 |
<dd property="yui:returnInfo">Transaction ID.</dd> |
|
|
551 |
</dl> |
|
|
552 |
|
|
|
553 |
|
|
|
554 |
|
|
|
555 |
|
|
|
556 |
</div> |
|
|
557 |
|
|
|
558 |
</div> |
|
|
559 |
<hr /> |
|
|
560 |
</div> |
|
|
561 |
</div> |
|
|
562 |
</div> |
|
|
563 |
|
|
|
564 |
<div rel="yui:inheritance"> |
|
|
565 |
<div class="section field inheritance" rel="yui:superclass" resource="EventTarget.html"> |
|
|
566 |
<h4>Methods inherited from <a href="EventTarget.html" property="yui:name" title="EventTarget">EventTarget</a>:</h4> |
|
|
567 |
<div class="content" rel="yui:methods"> |
|
|
568 |
<code> |
|
|
569 |
<span rel="yui:method" resource="EventTarget.html#method__getType"> |
|
|
570 |
<a class="private" href="EventTarget.html#method__getType" property="yui:name" title="_getType">_getType</a><span class="private">,</span> |
|
|
571 |
</span> |
|
|
572 |
<span rel="yui:method" resource="EventTarget.html#method__parseType"> |
|
|
573 |
<a class="private" href="EventTarget.html#method__parseType" property="yui:name" title="_parseType">_parseType</a><span class="private">,</span> |
|
|
574 |
</span> |
|
|
575 |
<span rel="yui:method" resource="EventTarget.html#method_addTarget"> |
|
|
576 |
<a class="" href="EventTarget.html#method_addTarget" property="yui:name" title="addTarget">addTarget</a><span class="">,</span> |
|
|
577 |
</span> |
|
|
578 |
<span rel="yui:method" resource="EventTarget.html#method_after"> |
|
|
579 |
<a class="" href="EventTarget.html#method_after" property="yui:name" title="after">after</a><span class="">,</span> |
|
|
580 |
</span> |
|
|
581 |
<span rel="yui:method" resource="EventTarget.html#method_before"> |
|
|
582 |
<a class=" deprecated" href="EventTarget.html#method_before" property="yui:name" title="before">before</a><span class=" deprecated">,</span> |
|
|
583 |
</span> |
|
|
584 |
<span rel="yui:method" resource="EventTarget.html#method_bubble"> |
|
|
585 |
<a class="" href="EventTarget.html#method_bubble" property="yui:name" title="bubble">bubble</a><span class="">,</span> |
|
|
586 |
</span> |
|
|
587 |
<span rel="yui:method" resource="EventTarget.html#method_detach"> |
|
|
588 |
<a class="" href="EventTarget.html#method_detach" property="yui:name" title="detach">detach</a><span class="">,</span> |
|
|
589 |
</span> |
|
|
590 |
<span rel="yui:method" resource="EventTarget.html#method_detachAll"> |
|
|
591 |
<a class="" href="EventTarget.html#method_detachAll" property="yui:name" title="detachAll">detachAll</a><span class="">,</span> |
|
|
592 |
</span> |
|
|
593 |
<span rel="yui:method" resource="EventTarget.html#method_fire"> |
|
|
594 |
<a class="" href="EventTarget.html#method_fire" property="yui:name" title="fire">fire</a><span class="">,</span> |
|
|
595 |
</span> |
|
|
596 |
<span rel="yui:method" resource="EventTarget.html#method_getEvent"> |
|
|
597 |
<a class="" href="EventTarget.html#method_getEvent" property="yui:name" title="getEvent">getEvent</a><span class="">,</span> |
|
|
598 |
</span> |
|
|
599 |
<span rel="yui:method" resource="EventTarget.html#method_on"> |
|
|
600 |
<a class="" href="EventTarget.html#method_on" property="yui:name" title="on">on</a><span class="">,</span> |
|
|
601 |
</span> |
|
|
602 |
<span rel="yui:method" resource="EventTarget.html#method_publish"> |
|
|
603 |
<a class="" href="EventTarget.html#method_publish" property="yui:name" title="publish">publish</a><span class="">,</span> |
|
|
604 |
</span> |
|
|
605 |
<span rel="yui:method" resource="EventTarget.html#method_removeTarget"> |
|
|
606 |
<a class="" href="EventTarget.html#method_removeTarget" property="yui:name" title="removeTarget">removeTarget</a><span class="">,</span> |
|
|
607 |
</span> |
|
|
608 |
<span rel="yui:method" resource="EventTarget.html#method_subscribe"> |
|
|
609 |
<a class=" deprecated" href="EventTarget.html#method_subscribe" property="yui:name" title="subscribe">subscribe</a><span class=" deprecated">,</span> |
|
|
610 |
</span> |
|
|
611 |
<span rel="yui:method" resource="EventTarget.html#method_unsubscribe"> |
|
|
612 |
<a class=" deprecated" href="EventTarget.html#method_unsubscribe" property="yui:name" title="unsubscribe">unsubscribe</a><span class=" deprecated">,</span> |
|
|
613 |
</span> |
|
|
614 |
<span rel="yui:method" resource="EventTarget.html#method_unsubscribeAll"> |
|
|
615 |
<a class=" deprecated" href="EventTarget.html#method_unsubscribeAll" property="yui:name" title="unsubscribeAll">unsubscribeAll</a> |
|
|
616 |
</span> |
|
|
617 |
</code> |
|
|
618 |
</div> |
|
|
619 |
</div> |
|
|
620 |
<div class="section field inheritance" rel="yui:superclass" resource="Attribute.html"> |
|
|
621 |
<h4>Methods inherited from <a href="Attribute.html" property="yui:name" title="Attribute">Attribute</a>:</h4> |
|
|
622 |
<div class="content" rel="yui:methods"> |
|
|
623 |
<code> |
|
|
624 |
<span rel="yui:method" resource="Attribute.html#method__addAttrs"> |
|
|
625 |
<a class="private" href="Attribute.html#method__addAttrs" property="yui:name" title="_addAttrs">_addAttrs</a><span class="private">,</span> |
|
|
626 |
</span> |
|
|
627 |
<span rel="yui:method" resource="Attribute.html#method__addLazyAttr"> |
|
|
628 |
<a class="private" href="Attribute.html#method__addLazyAttr" property="yui:name" title="_addLazyAttr">_addLazyAttr</a><span class="private">,</span> |
|
|
629 |
</span> |
|
|
630 |
<span rel="yui:method" resource="Attribute.html#method__defAttrChangeFn"> |
|
|
631 |
<a class="private" href="Attribute.html#method__defAttrChangeFn" property="yui:name" title="_defAttrChangeFn">_defAttrChangeFn</a><span class="private">,</span> |
|
|
632 |
</span> |
|
|
633 |
<span rel="yui:method" resource="Attribute.html#method__fireAttrChange"> |
|
|
634 |
<a class="private" href="Attribute.html#method__fireAttrChange" property="yui:name" title="_fireAttrChange">_fireAttrChange</a><span class="private">,</span> |
|
|
635 |
</span> |
|
|
636 |
<span rel="yui:method" resource="Attribute.html#method__getAttr"> |
|
|
637 |
<a class="protected" href="Attribute.html#method__getAttr" property="yui:name" title="_getAttr">_getAttr</a><span class="protected">,</span> |
|
|
638 |
</span> |
|
|
639 |
<span rel="yui:method" resource="Attribute.html#method__getAttrInitVal"> |
|
|
640 |
<a class="private" href="Attribute.html#method__getAttrInitVal" property="yui:name" title="_getAttrInitVal">_getAttrInitVal</a><span class="private">,</span> |
|
|
641 |
</span> |
|
|
642 |
<span rel="yui:method" resource="Attribute.html#method__getAttrs"> |
|
|
643 |
<a class="protected" href="Attribute.html#method__getAttrs" property="yui:name" title="_getAttrs">_getAttrs</a><span class="protected">,</span> |
|
|
644 |
</span> |
|
|
645 |
<span rel="yui:method" resource="Attribute.html#method__getStateVal"> |
|
|
646 |
<a class="private" href="Attribute.html#method__getStateVal" property="yui:name" title="_getStateVal">_getStateVal</a><span class="private">,</span> |
|
|
647 |
</span> |
|
|
648 |
<span rel="yui:method" resource="Attribute.html#method__isLazyAttr"> |
|
|
649 |
<a class="private" href="Attribute.html#method__isLazyAttr" property="yui:name" title="_isLazyAttr">_isLazyAttr</a><span class="private">,</span> |
|
|
650 |
</span> |
|
|
651 |
<span rel="yui:method" resource="Attribute.html#method__normAttrVals"> |
|
|
652 |
<a class="private" href="Attribute.html#method__normAttrVals" property="yui:name" title="_normAttrVals">_normAttrVals</a><span class="private">,</span> |
|
|
653 |
</span> |
|
|
654 |
<span rel="yui:method" resource="Attribute.html#method__protectAttrs"> |
|
|
655 |
<a class="protected" href="Attribute.html#method__protectAttrs" property="yui:name" title="_protectAttrs">_protectAttrs</a><span class="protected">,</span> |
|
|
656 |
</span> |
|
|
657 |
<span rel="yui:method" resource="Attribute.html#method__set"> |
|
|
658 |
<a class="protected" href="Attribute.html#method__set" property="yui:name" title="_set">_set</a><span class="protected">,</span> |
|
|
659 |
</span> |
|
|
660 |
<span rel="yui:method" resource="Attribute.html#method__setAttr"> |
|
|
661 |
<a class="protected" href="Attribute.html#method__setAttr" property="yui:name" title="_setAttr">_setAttr</a><span class="protected">,</span> |
|
|
662 |
</span> |
|
|
663 |
<span rel="yui:method" resource="Attribute.html#method__setAttrs"> |
|
|
664 |
<a class="protected" href="Attribute.html#method__setAttrs" property="yui:name" title="_setAttrs">_setAttrs</a><span class="protected">,</span> |
|
|
665 |
</span> |
|
|
666 |
<span rel="yui:method" resource="Attribute.html#method__setAttrVal"> |
|
|
667 |
<a class="private" href="Attribute.html#method__setAttrVal" property="yui:name" title="_setAttrVal">_setAttrVal</a><span class="private">,</span> |
|
|
668 |
</span> |
|
|
669 |
<span rel="yui:method" resource="Attribute.html#method__setStateVal"> |
|
|
670 |
<a class="private" href="Attribute.html#method__setStateVal" property="yui:name" title="_setStateVal">_setStateVal</a><span class="private">,</span> |
|
|
671 |
</span> |
|
|
672 |
<span rel="yui:method" resource="Attribute.html#method_addAttr"> |
|
|
673 |
<a class="" href="Attribute.html#method_addAttr" property="yui:name" title="addAttr">addAttr</a><span class="">,</span> |
|
|
674 |
</span> |
|
|
675 |
<span rel="yui:method" resource="Attribute.html#method_addAttrs"> |
|
|
676 |
<a class="" href="Attribute.html#method_addAttrs" property="yui:name" title="addAttrs">addAttrs</a><span class="">,</span> |
|
|
677 |
</span> |
|
|
678 |
<span rel="yui:method" resource="Attribute.html#method_attrAdded"> |
|
|
679 |
<a class="" href="Attribute.html#method_attrAdded" property="yui:name" title="attrAdded">attrAdded</a><span class="">,</span> |
|
|
680 |
</span> |
|
|
681 |
<span rel="yui:method" resource="Attribute.html#method_get"> |
|
|
682 |
<a class="" href="Attribute.html#method_get" property="yui:name" title="get">get</a><span class="">,</span> |
|
|
683 |
</span> |
|
|
684 |
<span rel="yui:method" resource="Attribute.html#method_getAttrs"> |
|
|
685 |
<a class="" href="Attribute.html#method_getAttrs" property="yui:name" title="getAttrs">getAttrs</a><span class="">,</span> |
|
|
686 |
</span> |
|
|
687 |
<span rel="yui:method" resource="Attribute.html#method_modifyAttr"> |
|
|
688 |
<a class="" href="Attribute.html#method_modifyAttr" property="yui:name" title="modifyAttr">modifyAttr</a><span class="">,</span> |
|
|
689 |
</span> |
|
|
690 |
<span rel="yui:method" resource="Attribute.html#method_removeAttr"> |
|
|
691 |
<a class="" href="Attribute.html#method_removeAttr" property="yui:name" title="removeAttr">removeAttr</a><span class="">,</span> |
|
|
692 |
</span> |
|
|
693 |
<span rel="yui:method" resource="Attribute.html#method_reset"> |
|
|
694 |
<a class="" href="Attribute.html#method_reset" property="yui:name" title="reset">reset</a><span class="">,</span> |
|
|
695 |
</span> |
|
|
696 |
<span rel="yui:method" resource="Attribute.html#method_set"> |
|
|
697 |
<a class="" href="Attribute.html#method_set" property="yui:name" title="set">set</a><span class="">,</span> |
|
|
698 |
</span> |
|
|
699 |
<span rel="yui:method" resource="Attribute.html#method_setAttrs"> |
|
|
700 |
<a class="" href="Attribute.html#method_setAttrs" property="yui:name" title="setAttrs">setAttrs</a> |
|
|
701 |
</span> |
|
|
702 |
</code> |
|
|
703 |
</div> |
|
|
704 |
</div> |
|
|
705 |
<div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
|
706 |
<h4>Methods inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
|
707 |
<div class="content" rel="yui:methods"> |
|
|
708 |
<code> |
|
|
709 |
<span rel="yui:method" resource="Base.html#method__aggregateAttrs"> |
|
|
710 |
<a class="private" href="Base.html#method__aggregateAttrs" property="yui:name" title="_aggregateAttrs">_aggregateAttrs</a><span class="private">,</span> |
|
|
711 |
</span> |
|
|
712 |
<span rel="yui:method" resource="Base.html#method__defDestroyFn"> |
|
|
713 |
<a class="protected" href="Base.html#method__defDestroyFn" property="yui:name" title="_defDestroyFn">_defDestroyFn</a><span class="protected">,</span> |
|
|
714 |
</span> |
|
|
715 |
<span rel="yui:method" resource="Base.html#method__defInitFn"> |
|
|
716 |
<a class="protected" href="Base.html#method__defInitFn" property="yui:name" title="_defInitFn">_defInitFn</a><span class="protected">,</span> |
|
|
717 |
</span> |
|
|
718 |
<span rel="yui:method" resource="Base.html#method__destroyHierarchy"> |
|
|
719 |
<a class="private" href="Base.html#method__destroyHierarchy" property="yui:name" title="_destroyHierarchy">_destroyHierarchy</a><span class="private">,</span> |
|
|
720 |
</span> |
|
|
721 |
<span rel="yui:method" resource="Base.html#method__filterAttrCfs"> |
|
|
722 |
<a class="private" href="Base.html#method__filterAttrCfs" property="yui:name" title="_filterAttrCfs">_filterAttrCfs</a><span class="private">,</span> |
|
|
723 |
</span> |
|
|
724 |
<span rel="yui:method" resource="Base.html#method__getAttrCfgs"> |
|
|
725 |
<a class="protected" href="Base.html#method__getAttrCfgs" property="yui:name" title="_getAttrCfgs">_getAttrCfgs</a><span class="protected">,</span> |
|
|
726 |
</span> |
|
|
727 |
<span rel="yui:method" resource="Base.html#method__getClasses"> |
|
|
728 |
<a class="protected" href="Base.html#method__getClasses" property="yui:name" title="_getClasses">_getClasses</a><span class="protected">,</span> |
|
|
729 |
</span> |
|
|
730 |
<span rel="yui:method" resource="Base.html#method__initHierarchy"> |
|
|
731 |
<a class="private" href="Base.html#method__initHierarchy" property="yui:name" title="_initHierarchy">_initHierarchy</a><span class="private">,</span> |
|
|
732 |
</span> |
|
|
733 |
<span rel="yui:method" resource="Base.html#method__initHierarchyData"> |
|
|
734 |
<a class="private" href="Base.html#method__initHierarchyData" property="yui:name" title="_initHierarchyData">_initHierarchyData</a><span class="private">,</span> |
|
|
735 |
</span> |
|
|
736 |
<span rel="yui:method" resource="Base.html#method_destroy"> |
|
|
737 |
<a class="" href="Base.html#method_destroy" property="yui:name" title="destroy">destroy</a><span class="">,</span> |
|
|
738 |
</span> |
|
|
739 |
<span rel="yui:method" resource="Base.html#method_init"> |
|
|
740 |
<a class="" href="Base.html#method_init" property="yui:name" title="init">init</a><span class="">,</span> |
|
|
741 |
</span> |
|
|
742 |
<span rel="yui:method" resource="Base.html#method_toString"> |
|
|
743 |
<a class="" href="Base.html#method_toString" property="yui:name" title="toString">toString</a> |
|
|
744 |
</span> |
|
|
745 |
</code> |
|
|
746 |
</div> |
|
|
747 |
</div> |
|
|
748 |
</div> |
|
|
749 |
</div> |
|
|
750 |
|
|
|
751 |
<div rel="yui:events" resource="#events"> |
|
|
752 |
<div class="section method details"> |
|
|
753 |
<h3 id="events">Events</h3> |
|
|
754 |
<div class="content"> |
|
|
755 |
<div class="" rel="yui:event" resource="#event_data"> |
|
|
756 |
<h4> |
|
|
757 |
<a name="event_data">data</a></h4> |
|
|
758 |
<div class="detail"> |
|
|
759 |
<code> |
|
|
760 |
|
|
|
761 |
|
|
|
762 |
|
|
|
763 |
<strong property="yui:name">data</strong> |
|
|
764 |
|
|
|
765 |
( |
|
|
766 |
|
|
|
767 |
|
|
|
768 |
e |
|
|
769 |
|
|
|
770 |
|
|
|
771 |
) |
|
|
772 |
|
|
|
773 |
</code> |
|
|
774 |
|
|
|
775 |
<div class="description" property="yui:description"> |
|
|
776 |
Fired when raw data is received. |
|
|
777 |
</div> |
|
|
778 |
|
|
|
779 |
<div class="description"> |
|
|
780 |
|
|
|
781 |
|
|
|
782 |
<dl rel="yui:parameters"> |
|
|
783 |
<dt>Parameters:</dt> |
|
|
784 |
<dd rel="yui:parameter"> |
|
|
785 |
<code><span property="yui:name">e</span> |
|
|
786 |
<<span property="yui:type">Event.Facade</span>> |
|
|
787 |
</code> |
|
|
788 |
<span property="yui:description"> Event Facade with the following properties: |
|
|
789 |
<dl> |
|
|
790 |
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd> |
|
|
791 |
<dt>request (Object)</dt> <dd>The request.</dd> |
|
|
792 |
<dt>callback (Object)</dt> <dd>The callback object with the following properties: |
|
|
793 |
<dl> |
|
|
794 |
<dt>success (Function)</dt> <dd>Success handler.</dd> |
|
|
795 |
<dt>failure (Function)</dt> <dd>Failure handler.</dd> |
|
|
796 |
</dl> |
|
|
797 |
</dd> |
|
|
798 |
<dt>cfg (Object)</dt> <dd>Configuration object.</dd> |
|
|
799 |
<dt>data (Object)</dt> <dd>Raw data.</dd> |
|
|
800 |
</dl></span> |
|
|
801 |
</dd> |
|
|
802 |
|
|
|
803 |
</dl> |
|
|
804 |
|
|
|
805 |
<div class="preventable"> |
|
|
806 |
<strong>Preventable:</strong> This event is preventable by method e.preventDefault(). The default function executed by this event is _defDataFn. |
|
|
807 |
</div> |
|
|
808 |
|
|
|
809 |
</div> |
|
|
810 |
|
|
|
811 |
</div> |
|
|
812 |
<hr /> |
|
|
813 |
</div> |
|
|
814 |
<div class="" rel="yui:event" resource="#event_error"> |
|
|
815 |
<h4> |
|
|
816 |
<a name="event_error">error</a></h4> |
|
|
817 |
<div class="detail"> |
|
|
818 |
<code> |
|
|
819 |
|
|
|
820 |
|
|
|
821 |
|
|
|
822 |
<strong property="yui:name">error</strong> |
|
|
823 |
|
|
|
824 |
( |
|
|
825 |
|
|
|
826 |
|
|
|
827 |
e |
|
|
828 |
|
|
|
829 |
|
|
|
830 |
) |
|
|
831 |
|
|
|
832 |
</code> |
|
|
833 |
|
|
|
834 |
<div class="description" property="yui:description"> |
|
|
835 |
Fired when an error is encountered. |
|
|
836 |
</div> |
|
|
837 |
|
|
|
838 |
<div class="description"> |
|
|
839 |
|
|
|
840 |
|
|
|
841 |
<dl rel="yui:parameters"> |
|
|
842 |
<dt>Parameters:</dt> |
|
|
843 |
<dd rel="yui:parameter"> |
|
|
844 |
<code><span property="yui:name">e</span> |
|
|
845 |
<<span property="yui:type">Event.Facade</span>> |
|
|
846 |
</code> |
|
|
847 |
<span property="yui:description"> Event Facade with the following properties: |
|
|
848 |
<dl> |
|
|
849 |
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd> |
|
|
850 |
<dt>request (Object)</dt> <dd>The request.</dd> |
|
|
851 |
<dt>callback (Object)</dt> <dd>The callback object with the following properties: |
|
|
852 |
<dl> |
|
|
853 |
<dt>success (Function)</dt> <dd>Success handler.</dd> |
|
|
854 |
<dt>failure (Function)</dt> <dd>Failure handler.</dd> |
|
|
855 |
</dl> |
|
|
856 |
</dd> |
|
|
857 |
<dt>cfg (Object)</dt> <dd>Configuration object.</dd> |
|
|
858 |
<dt>data (Object)</dt> <dd>Raw data.</dd> |
|
|
859 |
<dt>response (Object)</dt> <dd>Normalized response object with the following properties: |
|
|
860 |
<dl> |
|
|
861 |
<dt>results (Object)</dt> <dd>Parsed results.</dd> |
|
|
862 |
<dt>meta (Object)</dt> <dd>Parsed meta data.</dd> |
|
|
863 |
<dt>error (Object)</dt> <dd>Error object.</dd> |
|
|
864 |
</dl> |
|
|
865 |
</dd> |
|
|
866 |
</dl></span> |
|
|
867 |
</dd> |
|
|
868 |
|
|
|
869 |
</dl> |
|
|
870 |
|
|
|
871 |
|
|
|
872 |
</div> |
|
|
873 |
|
|
|
874 |
</div> |
|
|
875 |
<hr /> |
|
|
876 |
</div> |
|
|
877 |
<div class="" rel="yui:event" resource="#event_request"> |
|
|
878 |
<h4> |
|
|
879 |
<a name="event_request">request</a></h4> |
|
|
880 |
<div class="detail"> |
|
|
881 |
<code> |
|
|
882 |
|
|
|
883 |
|
|
|
884 |
|
|
|
885 |
<strong property="yui:name">request</strong> |
|
|
886 |
|
|
|
887 |
( |
|
|
888 |
|
|
|
889 |
|
|
|
890 |
e |
|
|
891 |
|
|
|
892 |
|
|
|
893 |
) |
|
|
894 |
|
|
|
895 |
</code> |
|
|
896 |
|
|
|
897 |
<div class="description" property="yui:description"> |
|
|
898 |
Fired when a data request is received. |
|
|
899 |
</div> |
|
|
900 |
|
|
|
901 |
<div class="description"> |
|
|
902 |
|
|
|
903 |
|
|
|
904 |
<dl rel="yui:parameters"> |
|
|
905 |
<dt>Parameters:</dt> |
|
|
906 |
<dd rel="yui:parameter"> |
|
|
907 |
<code><span property="yui:name">e</span> |
|
|
908 |
<<span property="yui:type">Event.Facade</span>> |
|
|
909 |
</code> |
|
|
910 |
<span property="yui:description"> Event Facade with the following properties: |
|
|
911 |
<dl> |
|
|
912 |
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd> |
|
|
913 |
<dt>request (Object)</dt> <dd>The request.</dd> |
|
|
914 |
<dt>callback (Object)</dt> <dd>The callback object.</dd> |
|
|
915 |
<dt>cfg (Object)</dt> <dd>Configuration object.</dd> |
|
|
916 |
</dl></span> |
|
|
917 |
</dd> |
|
|
918 |
|
|
|
919 |
</dl> |
|
|
920 |
|
|
|
921 |
<div class="preventable"> |
|
|
922 |
<strong>Preventable:</strong> This event is preventable by method e.preventDefault(). The default function executed by this event is _defRequestFn. |
|
|
923 |
</div> |
|
|
924 |
|
|
|
925 |
</div> |
|
|
926 |
|
|
|
927 |
</div> |
|
|
928 |
<hr /> |
|
|
929 |
</div> |
|
|
930 |
<div class="" rel="yui:event" resource="#event_response"> |
|
|
931 |
<h4> |
|
|
932 |
<a name="event_response">response</a></h4> |
|
|
933 |
<div class="detail"> |
|
|
934 |
<code> |
|
|
935 |
|
|
|
936 |
|
|
|
937 |
|
|
|
938 |
<strong property="yui:name">response</strong> |
|
|
939 |
|
|
|
940 |
( |
|
|
941 |
|
|
|
942 |
|
|
|
943 |
e |
|
|
944 |
|
|
|
945 |
|
|
|
946 |
) |
|
|
947 |
|
|
|
948 |
</code> |
|
|
949 |
|
|
|
950 |
<div class="description" property="yui:description"> |
|
|
951 |
Fired when response is returned. |
|
|
952 |
</div> |
|
|
953 |
|
|
|
954 |
<div class="description"> |
|
|
955 |
|
|
|
956 |
|
|
|
957 |
<dl rel="yui:parameters"> |
|
|
958 |
<dt>Parameters:</dt> |
|
|
959 |
<dd rel="yui:parameter"> |
|
|
960 |
<code><span property="yui:name">e</span> |
|
|
961 |
<<span property="yui:type">Event.Facade</span>> |
|
|
962 |
</code> |
|
|
963 |
<span property="yui:description"> Event Facade with the following properties: |
|
|
964 |
<dl> |
|
|
965 |
<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd> |
|
|
966 |
<dt>request (Object)</dt> <dd>The request.</dd> |
|
|
967 |
<dt>callback (Object)</dt> <dd>The callback object with the following properties: |
|
|
968 |
<dl> |
|
|
969 |
<dt>success (Function)</dt> <dd>Success handler.</dd> |
|
|
970 |
<dt>failure (Function)</dt> <dd>Failure handler.</dd> |
|
|
971 |
</dl> |
|
|
972 |
</dd> |
|
|
973 |
<dt>cfg (Object)</dt> <dd>Configuration object.</dd> |
|
|
974 |
<dt>data (Object)</dt> <dd>Raw data.</dd> |
|
|
975 |
<dt>response (Object)</dt> <dd>Normalized response object with the following properties: |
|
|
976 |
<dl> |
|
|
977 |
<dt>results (Object)</dt> <dd>Parsed results.</dd> |
|
|
978 |
<dt>meta (Object)</dt> <dd>Parsed meta data.</dd> |
|
|
979 |
<dt>error (Boolean)</dt> <dd>Error flag.</dd> |
|
|
980 |
</dl> |
|
|
981 |
</dd> |
|
|
982 |
</dl></span> |
|
|
983 |
</dd> |
|
|
984 |
|
|
|
985 |
</dl> |
|
|
986 |
|
|
|
987 |
<div class="preventable"> |
|
|
988 |
<strong>Preventable:</strong> This event is preventable by method e.preventDefault(). The default function executed by this event is _defResponseFn. |
|
|
989 |
</div> |
|
|
990 |
|
|
|
991 |
</div> |
|
|
992 |
|
|
|
993 |
</div> |
|
|
994 |
<hr /> |
|
|
995 |
</div> |
|
|
996 |
<div class="" rel="yui:event" resource="#event_sourceChange"> |
|
|
997 |
<h4> |
|
|
998 |
<a name="event_sourceChange">sourceChange</a></h4> |
|
|
999 |
<div class="detail"> |
|
|
1000 |
<code> |
|
|
1001 |
|
|
|
1002 |
|
|
|
1003 |
|
|
|
1004 |
<strong property="yui:name">sourceChange</strong> |
|
|
1005 |
|
|
|
1006 |
( |
|
|
1007 |
|
|
|
1008 |
|
|
|
1009 |
event |
|
|
1010 |
|
|
|
1011 |
|
|
|
1012 |
) |
|
|
1013 |
|
|
|
1014 |
</code> |
|
|
1015 |
|
|
|
1016 |
<div class="description" property="yui:description"> |
|
|
1017 |
Fires when the value for the configuration attribute 'source' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
|
1018 |
</div> |
|
|
1019 |
|
|
|
1020 |
<div class="description"> |
|
|
1021 |
|
|
|
1022 |
|
|
|
1023 |
<dl rel="yui:parameters"> |
|
|
1024 |
<dt>Parameters:</dt> |
|
|
1025 |
<dd rel="yui:parameter"> |
|
|
1026 |
<code><span property="yui:name">event</span> |
|
|
1027 |
<<span property="yui:type">Event.Facade</span>> |
|
|
1028 |
</code> |
|
|
1029 |
<span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
|
1030 |
</dd> |
|
|
1031 |
|
|
|
1032 |
</dl> |
|
|
1033 |
|
|
|
1034 |
|
|
|
1035 |
</div> |
|
|
1036 |
|
|
|
1037 |
</div> |
|
|
1038 |
<hr /> |
|
|
1039 |
</div> |
|
|
1040 |
</div> |
|
|
1041 |
</div> |
|
|
1042 |
|
|
|
1043 |
|
|
|
1044 |
<div rel="yui:inheritance"> |
|
|
1045 |
<div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
|
1046 |
<h4>Events inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
|
1047 |
<div class="content" rel="yui:events"> |
|
|
1048 |
<code> |
|
|
1049 |
<span rel="yui:event" resource="Base.html#event_destroy"> |
|
|
1050 |
<a class="" href="Base.html#event_destroy" property="yui:name" title="destroy">destroy</a><span class="">,</span> |
|
|
1051 |
</span> |
|
|
1052 |
<span rel="yui:event" resource="Base.html#event_destroyedChange"> |
|
|
1053 |
<a class="" href="Base.html#event_destroyedChange" property="yui:name" title="destroyedChange">destroyedChange</a><span class="">,</span> |
|
|
1054 |
</span> |
|
|
1055 |
<span rel="yui:event" resource="Base.html#event_init"> |
|
|
1056 |
<a class="" href="Base.html#event_init" property="yui:name" title="init">init</a><span class="">,</span> |
|
|
1057 |
</span> |
|
|
1058 |
<span rel="yui:event" resource="Base.html#event_initializedChange"> |
|
|
1059 |
<a class="" href="Base.html#event_initializedChange" property="yui:name" title="initializedChange">initializedChange</a><span class="">,</span> |
|
|
1060 |
</span> |
|
|
1061 |
|
|
|
1062 |
</code> |
|
|
1063 |
</div> |
|
|
1064 |
</div> |
|
|
1065 |
</div> |
|
|
1066 |
</div> |
|
|
1067 |
|
|
|
1068 |
<div rel="yui:attributes" resource="#configattributes"> |
|
|
1069 |
<div class="section field details"> |
|
|
1070 |
<h3 id="configattributes">Configuration Attributes</h3> |
|
|
1071 |
<div class="content"> |
|
|
1072 |
<div class="" rel="yui:attribute" resource="#config_source"> |
|
|
1073 |
<h4><a name="config_source">source</a> |
|
|
1074 |
<code>- <span property="yui:type">MIXED</span></code> |
|
|
1075 |
</h4> |
|
|
1076 |
<div class="detail"> |
|
|
1077 |
<div class="description" property="yui:description"> |
|
|
1078 |
Pointer to live data. |
|
|
1079 |
</div> |
|
|
1080 |
</div> |
|
|
1081 |
|
|
|
1082 |
|
|
|
1083 |
<div class="default"> |
|
|
1084 |
Default Value: null |
|
|
1085 |
</div> |
|
|
1086 |
|
|
|
1087 |
<hr /> |
|
|
1088 |
</div> |
|
|
1089 |
|
|
|
1090 |
</div> |
|
|
1091 |
</div> |
|
|
1092 |
|
|
|
1093 |
<div rel="yui:inheritance"> |
|
|
1094 |
<div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
|
1095 |
<h4>Configuration attributes inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
|
1096 |
<div class="content" rel="yui:attributes"> |
|
|
1097 |
<code> |
|
|
1098 |
<span rel="yui:attribute" resource="Base.html#config_destroyed"> |
|
|
1099 |
<a class="" href="Base.html#config_destroyed" property="yui:name" title="destroyed">destroyed</a><span class="">,</span> |
|
|
1100 |
</span> |
|
|
1101 |
<span rel="yui:attribute" resource="Base.html#config_initialized"> |
|
|
1102 |
<a class="" href="Base.html#config_initialized" property="yui:name" title="initialized">initialized</a><span class="">,</span> |
|
|
1103 |
</span> |
|
|
1104 |
|
|
|
1105 |
</code> |
|
|
1106 |
</div> |
|
|
1107 |
</div> |
|
|
1108 |
</div> |
|
|
1109 |
</div> |
|
|
1110 |
|
|
|
1111 |
</div> |
|
|
1112 |
</div> |
|
|
1113 |
<div class="yui-b"> |
|
|
1114 |
<div class="nav"> |
|
|
1115 |
|
|
|
1116 |
<div id="moduleList" class="module"> |
|
|
1117 |
<h4>Modules</h4> |
|
|
1118 |
<ul class="content"> |
|
|
1119 |
<li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
|
1120 |
<li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li> |
|
|
1121 |
<li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
|
1122 |
<li class=""><a href="module_base.html" title="base">base</a></li> |
|
|
1123 |
<li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
|
1124 |
<li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
|
1125 |
<li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
|
1126 |
<li class=""><a href="module_console.html" title="console">console</a></li> |
|
|
1127 |
<li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
|
1128 |
<li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
|
1129 |
<li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
|
1130 |
<li class="selected"><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
|
1131 |
<li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
|
1132 |
<li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
|
1133 |
<li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
|
1134 |
<li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
|
1135 |
<li class=""><a href="module_event.html" title="event">event</a></li> |
|
|
1136 |
<li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
|
1137 |
<li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
|
1138 |
<li class=""><a href="module_history.html" title="history">history</a></li> |
|
|
1139 |
<li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
|
1140 |
<li class=""><a href="module_io.html" title="io">io</a></li> |
|
|
1141 |
<li class=""><a href="module_json.html" title="json">json</a></li> |
|
|
1142 |
<li class=""><a href="module_node.html" title="node">node</a></li> |
|
|
1143 |
<li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
|
1144 |
<li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
|
1145 |
<li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
|
1146 |
<li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
|
1147 |
<li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
|
1148 |
<li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
|
1149 |
<li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li> |
|
|
1150 |
<li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
|
1151 |
<li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
|
1152 |
<li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
|
1153 |
<li class=""><a href="module_test.html" title="test">test</a></li> |
|
|
1154 |
<li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
|
1155 |
<li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
|
1156 |
<li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
|
1157 |
<li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
|
1158 |
<li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
|
1159 |
<li class=""><a href="module_yui.html" title="yui">yui</a></li> |
|
|
1160 |
</ul> |
|
|
1161 |
</div> |
|
|
1162 |
|
|
|
1163 |
<div id="classList" class="module"> |
|
|
1164 |
<h4>Classes</h4> |
|
|
1165 |
<ul class="content"> |
|
|
1166 |
<li class=""><a href="DataSource.Function.html" title="DataSource.Function">DataSource.Function</a></li> |
|
|
1167 |
<li class=""><a href="DataSource.Get.html" title="DataSource.Get">DataSource.Get</a></li> |
|
|
1168 |
<li class=""><a href="DataSource.IO.html" title="DataSource.IO">DataSource.IO</a></li> |
|
|
1169 |
<li class="selected"><a href="DataSource.Local.html" title="DataSource.Local">DataSource.Local</a></li> |
|
|
1170 |
<li class=""><a href="DataSourceArraySchema.html" title="DataSourceArraySchema">DataSourceArraySchema</a></li> |
|
|
1171 |
<li class=""><a href="DataSourceCache.html" title="DataSourceCache">DataSourceCache</a></li> |
|
|
1172 |
<li class=""><a href="DataSourceJSONSchema.html" title="DataSourceJSONSchema">DataSourceJSONSchema</a></li> |
|
|
1173 |
<li class=""><a href="DataSourceTextSchema.html" title="DataSourceTextSchema">DataSourceTextSchema</a></li> |
|
|
1174 |
<li class=""><a href="DataSourceXMLSchema.html" title="DataSourceXMLSchema">DataSourceXMLSchema</a></li> |
|
|
1175 |
<li class=""><a href="Pollable.html" title="Pollable">Pollable</a></li> |
|
|
1176 |
</ul> |
|
|
1177 |
</div> |
|
|
1178 |
|
|
|
1179 |
<div id="fileList" class="module"> |
|
|
1180 |
<h4>Files</h4> |
|
|
1181 |
<ul class="content"> |
|
|
1182 |
<li class=""><a href="datasource-arrayschema.js.html" title="datasource-arrayschema.js">datasource-arrayschema.js</a></li> |
|
|
1183 |
<li class=""><a href="datasource-cache.js.html" title="datasource-cache.js">datasource-cache.js</a></li> |
|
|
1184 |
<li class=""><a href="datasource-function.js.html" title="datasource-function.js">datasource-function.js</a></li> |
|
|
1185 |
<li class=""><a href="datasource-get.js.html" title="datasource-get.js">datasource-get.js</a></li> |
|
|
1186 |
<li class=""><a href="datasource-io.js.html" title="datasource-io.js">datasource-io.js</a></li> |
|
|
1187 |
<li class=""><a href="datasource-jsonschema.js.html" title="datasource-jsonschema.js">datasource-jsonschema.js</a></li> |
|
|
1188 |
<li class=""><a href="datasource-local.js.html" title="datasource-local.js">datasource-local.js</a></li> |
|
|
1189 |
<li class=""><a href="datasource-polling.js.html" title="datasource-polling.js">datasource-polling.js</a></li> |
|
|
1190 |
<li class=""><a href="datasource-textschema.js.html" title="datasource-textschema.js">datasource-textschema.js</a></li> |
|
|
1191 |
<li class=""><a href="datasource-xmlschema.js.html" title="datasource-xmlschema.js">datasource-xmlschema.js</a></li> |
|
|
1192 |
</ul> |
|
|
1193 |
</div> |
|
|
1194 |
|
|
|
1195 |
<div id="propertyList" class="module"> |
|
|
1196 |
<h4>Properties</h4> |
|
|
1197 |
<ul class="content"> |
|
|
1198 |
<li class="private"><a href="#property_DataSource._tId" title="DataSource._tId">DataSource._tId</a></li> |
|
|
1199 |
<li class=""><a href="#property_NAME" title="NAME">NAME</a></li> |
|
|
1200 |
</ul> |
|
|
1201 |
</div> |
|
|
1202 |
|
|
|
1203 |
<div id="methodsList" class="module"> |
|
|
1204 |
<h4>Methods</h4> |
|
|
1205 |
<ul class="content"> |
|
|
1206 |
<li class="protected"><a href="#method__defDataFn" title="_defDataFn">_defDataFn</a></li> |
|
|
1207 |
<li class="protected"><a href="#method__defRequestFn" title="_defRequestFn">_defRequestFn</a></li> |
|
|
1208 |
<li class="protected"><a href="#method__defResponseFn" title="_defResponseFn">_defResponseFn</a></li> |
|
|
1209 |
<li class="private"><a href="#method__initEvents" title="_initEvents">_initEvents</a></li> |
|
|
1210 |
<li class=""><a href="#method_DataSource.issueCallback" title="DataSource.issueCallback">DataSource.issueCallback</a></li> |
|
|
1211 |
<li class="private"><a href="#method_initializer" title="initializer">initializer</a></li> |
|
|
1212 |
<li class=""><a href="#method_sendRequest" title="sendRequest">sendRequest</a></li> |
|
|
1213 |
</ul> |
|
|
1214 |
</div> |
|
|
1215 |
|
|
|
1216 |
<div id="eventsList" class="module"> |
|
|
1217 |
<h4>Events</h4> |
|
|
1218 |
<ul class="content"> |
|
|
1219 |
<li class=""><a href="#event_data" title="data">data</a></li> |
|
|
1220 |
<li class=""><a href="#event_error" title="error">error</a></li> |
|
|
1221 |
<li class=""><a href="#event_request" title="request">request</a></li> |
|
|
1222 |
<li class=""><a href="#event_response" title="response">response</a></li> |
|
|
1223 |
<li class=""><a href="#event_sourceChange" title="sourceChange">sourceChange</a></li> |
|
|
1224 |
</ul> |
|
|
1225 |
</div> |
|
|
1226 |
|
|
|
1227 |
<div id="configList" class="module"> |
|
|
1228 |
<h4>Configuration Attributes</h4> |
|
|
1229 |
<ul class="content"> |
|
|
1230 |
<li class=""><a href="#config_source" title="source">source</a></li> |
|
|
1231 |
</ul> |
|
|
1232 |
</div> |
|
|
1233 |
|
|
|
1234 |
</div> |
|
|
1235 |
</div> |
|
|
1236 |
</div> |
|
|
1237 |
<div id="ft"> |
|
|
1238 |
<hr /> |
|
|
1239 |
Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
|
1240 |
</div> |
|
|
1241 |
</div> |
|
|
1242 |
<script type="text/javascript"> |
|
|
1243 |
ALL_YUI_PROPS = [{"access": "", "host": "DataSource.Get", "name": "asyncMode", "url": "DataSource.Get.html#config_asyncMode", "type": "config"}, {"access": "", "host": "DataSource.Get", "name": "asyncModeChange", "url": "DataSource.Get.html#event_asyncModeChange", "type": "event"}, {"access": "protected", "host": "DataSourceArraySchema", "name": "_beforeDefDataFn\n<dl>\n<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>\n<dt>request (Object)</dt> <dd>The request.</dd>\n<dt>callback (Object)</dt> <dd>The callback object with the following properties:\n<dl>\n<dt>success (Function)</dt> <dd>Success handler.</dd>\n<dt>failure (Function)</dt> <dd>Failure handler.</dd>\n</dl>\n</dd>\n<dt>data (Object)</dt> <dd>Raw data.</dd>\n</dl>", "url": "DataSourceArraySchema.html#method__beforeDefDataFn\n<dl>\n<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>\n<dt>request (Object)</dt> <dd>The request.</dd>\n<dt>callback (Object)</dt> <dd>The callback object with the following properties:\n<dl>\n<dt>success (Function)</dt> <dd>Success handler.</dd>\n<dt>failure (Function)</dt> <dd>Failure handler.</dd>\n</dl>\n</dd>\n<dt>data (Object)</dt> <dd>Raw data.</dd>\n</dl>", "type": "method"}, {"access": "protected", "host": "DataSourceXMLSchema", "name": "_beforeDefDataFn\n<dl>\n<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>\n<dt>request (Object)</dt> <dd>The request.</dd>\n<dt>callback (Object)</dt> <dd>The callback object with the following properties:\n<dl>\n<dt>success (Function)</dt> <dd>Success handler.</dd>\n<dt>failure (Function)</dt> <dd>Failure handler.</dd>\n</dl>\n</dd>\n<dt>data (Object)</dt> <dd>Raw data.</dd>\n</dl>", "url": "DataSourceXMLSchema.html#method__beforeDefDataFn\n<dl>\n<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>\n<dt>request (Object)</dt> <dd>The request.</dd>\n<dt>callback (Object)</dt> <dd>The callback object with the following properties:\n<dl>\n<dt>success (Function)</dt> <dd>Success handler.</dd>\n<dt>failure (Function)</dt> <dd>Failure handler.</dd>\n</dl>\n</dd>\n<dt>data (Object)</dt> <dd>Raw data.</dd>\n</dl>", "type": "method"}, {"access": "protected", "host": "DataSourceJSONSchema", "name": "_beforeDefDataFn\n<dl>\n<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>\n<dt>request (Object)</dt> <dd>The request.</dd>\n<dt>callback (Object)</dt> <dd>The callback object with the following properties:\n<dl>\n<dt>success (Function)</dt> <dd>Success handler.</dd>\n<dt>failure (Function)</dt> <dd>Failure handler.</dd>\n</dl>\n</dd>\n<dt>data (Object)</dt> <dd>Raw data.</dd>\n</dl>", "url": "DataSourceJSONSchema.html#method__beforeDefDataFn\n<dl>\n<dt>tId (Number)</dt> <dd>Unique transaction ID.</dd>\n<dt>request (Object)</dt> <dd>The request.</dd>\n<dt>callback (Object)</dt> <dd>The callback object with the following properties:\n<dl>\n<dt>success (Function)</dt> <dd>Success handler.</dd>\n<dt>failure (Function)</dt> <dd>Failure handler.</dd>\n</dl>\n</dd>\n<dt>data (Object)</dt> <dd>Raw data.</dd>\n</dl>", "type": "method"}, {"access": "", "host": "DataSource.Get", "name": "callbacks", "url": "DataSource.Get.html#property_callbacks", "type": "property"}, {"access": "", "host": "Pollable", "name": "clearAllIntervals", "url": "Pollable.html#method_clearAllIntervals", "type": "method"}, {"access": "", "host": "Pollable", "name": "clearInterval", "url": "Pollable.html#method_clearInterval", "type": "method"}, {"access": "", "host": "DataSource.Local", "name": "data", "url": "DataSource.Local.html#event_data", "type": "event"}, {"access": "", "host": "DataSource.Local", "name": "DataSource.issueCallback", "url": "DataSource.Local.html#method_DataSource.issueCallback", "type": "method"}, {"access": "private", "host": "DataSource.Local", "name": "DataSource._tId", "url": "DataSource.Local.html#property_DataSource._tId", "type": "property"}, {"access": "protected", "host": "DataSource.Local", "name": "_defDataFn", "url": "DataSource.Local.html#method__defDataFn", "type": "method"}, {"access": "protected", "host": "DataSource.Get", "name": "_defRequestFn", "url": "DataSource.Get.html#method__defRequestFn", "type": "method"}, {"access": "protected", "host": "DataSource.Function", "name": "_defRequestFn", "url": "DataSource.Function.html#method__defRequestFn", "type": "method"}, {"access": "protected", "host": "DataSource.IO", "name": "_defRequestFn", "url": "DataSource.IO.html#method__defRequestFn", "type": "method"}, {"access": "protected", "host": "DataSource.Local", "name": "_defRequestFn", "url": "DataSource.Local.html#method__defRequestFn", "type": "method"}, {"access": "protected", "host": "DataSource.Local", "name": "_defResponseFn", "url": "DataSource.Local.html#method__defResponseFn", "type": "method"}, {"access": "", "host": "DataSource.Local", "name": "error", "url": "DataSource.Local.html#event_error", "type": "event"}, {"access": "", "host": "DataSource.Get", "name": "generateRequestCallback", "url": "DataSource.Get.html#config_generateRequestCallback", "type": "config"}, {"access": "", "host": "DataSource.Get", "name": "generateRequestCallbackChange", "url": "DataSource.Get.html#event_generateRequestCallbackChange", "type": "event"}, {"access": "", "host": "DataSource.Get", "name": "get", "url": "DataSource.Get.html#config_get", "type": "config"}, {"access": "", "host": "DataSource.Get", "name": "getChange", "url": "DataSource.Get.html#event_getChange", "type": "event"}, {"access": "private", "host": "DataSource.Local", "name": "_initEvents", "url": "DataSource.Local.html#method__initEvents", "type": "method"}, {"access": "private", "host": "DataSourceArraySchema", "name": "initializer", "url": "DataSourceArraySchema.html#method_initializer", "type": "method"}, {"access": "private", "host": "DataSourceXMLSchema", "name": "initializer", "url": "DataSourceXMLSchema.html#method_initializer", "type": "method"}, {"access": "private", "host": "DataSourceJSONSchema", "name": "initializer", "url": "DataSourceJSONSchema.html#method_initializer", "type": "method"}, {"access": "private", "host": "DataSource.IO", "name": "initializer", "url": "DataSource.IO.html#method_initializer", "type": "method"}, {"access": "private", "host": "DataSource.Local", "name": "initializer", "url": "DataSource.Local.html#method_initializer", "type": "method"}, {"access": "private", "host": "Pollable", "name": "_intervals", "url": "Pollable.html#property__intervals", "type": "property"}, {"access": "", "host": "DataSource.IO", "name": "io", "url": "DataSource.IO.html#config_io", "type": "config"}, {"access": "", "host": "DataSource.IO", "name": "ioChange", "url": "DataSource.IO.html#event_ioChange", "type": "event"}, {"access": "", "host": "DataSource.Get", "name": "NAME", "url": "DataSource.Get.html#property_NAME", "type": "property"}, {"access": "", "host": "DataSource.Function", "name": "NAME", "url": "DataSource.Function.html#property_NAME", "type": "property"}, {"access": "", "host": "DataSourceArraySchema", "name": "NAME", "url": "DataSourceArraySchema.html#property_NAME", "type": "property"}, {"access": "", "host": "DataSourceXMLSchema", "name": "NAME", "url": "DataSourceXMLSchema.html#property_NAME", "type": "property"}, {"access": "", "host": "DataSourceJSONSchema", "name": "NAME", "url": "DataSourceJSONSchema.html#property_NAME", "type": "property"}, {"access": "", "host": "DataSource.IO", "name": "NAME", "url": "DataSource.IO.html#property_NAME", "type": "property"}, {"access": "", "host": "DataSource.Local", "name": "NAME", "url": "DataSource.Local.html#property_NAME", "type": "property"}, {"access": "", "host": "DataSourceArraySchema", "name": "NS", "url": "DataSourceArraySchema.html#property_NS", "type": "property"}, {"access": "", "host": "DataSourceXMLSchema", "name": "NS", "url": "DataSourceXMLSchema.html#property_NS", "type": "property"}, {"access": "", "host": "DataSourceJSONSchema", "name": "NS", "url": "DataSourceJSONSchema.html#property_NS", "type": "property"}, {"access": "private", "host": "DataSource.IO", "name": "_queue", "url": "DataSource.IO.html#property__queue", "type": "property"}, {"access": "", "host": "DataSource.Local", "name": "request", "url": "DataSource.Local.html#event_request", "type": "event"}, {"access": "", "host": "DataSource.Local", "name": "response", "url": "DataSource.Local.html#event_response", "type": "event"}, {"access": "", "host": "DataSource.Get", "name": "scriptCallbackParam", "url": "DataSource.Get.html#config_scriptCallbackParam", "type": "config"}, {"access": "", "host": "DataSource.Get", "name": "scriptCallbackParamChange", "url": "DataSource.Get.html#event_scriptCallbackParamChange", "type": "event"}, {"access": "", "host": "DataSource.Local", "name": "sendRequest", "url": "DataSource.Local.html#method_sendRequest", "type": "method"}, {"access": "", "host": "Pollable", "name": "setInterval", "url": "Pollable.html#method_setInterval", "type": "method"}, {"access": "", "host": "DataSource.Function", "name": "source", "url": "DataSource.Function.html#config_source", "type": "config"}, {"access": "", "host": "DataSource.Local", "name": "source", "url": "DataSource.Local.html#config_source", "type": "config"}, {"access": "", "host": "DataSource.Function", "name": "sourceChange", "url": "DataSource.Function.html#event_sourceChange", "type": "event"}, {"access": "", "host": "DataSource.Local", "name": "sourceChange", "url": "DataSource.Local.html#event_sourceChange", "type": "event"}, {"access": "private", "host": "DataSource.Get", "name": "_tId", "url": "DataSource.Get.html#property__tId", "type": "property"}]; |
|
|
1244 |
</script> |
|
|
1245 |
</body> |
|
|
1246 |
</html> |