|
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 Pollable (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 > Pollable |
|
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">Pollable</b> |
|
52 <span class="extends"> |
|
53 - extends <a href="DataSource.Local.html" title="DataSource.Local">DataSource.Local</a> |
|
54 </span> |
|
55 |
|
56 </h2> |
|
57 <!-- class tree goes here --> |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 <div class="summary description" property="yui:description"> |
|
63 Adds polling to the DataSource Utility. |
|
64 </div> |
|
65 |
|
66 |
|
67 <div rel="yui:properties" resource="#properties"> |
|
68 <div class="section field details"> |
|
69 <h3 id="properties">Properties</h3> |
|
70 <div class="content"> |
|
71 <div class="private" rel="yui:property" resource="#property__intervals"> |
|
72 <h4><a name="property__intervals" property="yui:name">_intervals</a> |
|
73 - <code>private <span property="yui:type">object</span></code> |
|
74 </h4> |
|
75 <div class="detail"> |
|
76 <div class="description" property="yui:description"> |
|
77 Hash of polling interval IDs that have been enabled, |
|
78 stored here to be able to clear all intervals. |
|
79 </div> |
|
80 </div> |
|
81 |
|
82 |
|
83 |
|
84 |
|
85 <hr /> |
|
86 </div> |
|
87 </div> |
|
88 </div> |
|
89 |
|
90 <div rel="yui:inheritance"> |
|
91 <div class="section field inheritance" rel="yui:superclass" resource="Attribute.html"> |
|
92 <h4>Properties inherited from <a href="Attribute.html" property="yui:name" title="Attribute">Attribute</a>:</h4> |
|
93 <div class="content" rel="yui:properties"> |
|
94 <code> |
|
95 |
|
96 </code> |
|
97 </div> |
|
98 </div> |
|
99 <div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
100 <h4>Properties inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
101 <div class="content" rel="yui:properties"> |
|
102 <code> |
|
103 |
|
104 <span rel="yui:property" resource="Base.html#property_name"> |
|
105 <a class=" deprecated" href="Base.html#property_name" property="yui:name" title="name">name</a> |
|
106 </span> |
|
107 |
|
108 </code> |
|
109 </div> |
|
110 </div> |
|
111 <div class="section field inheritance" rel="yui:superclass" resource="DataSource.Local.html"> |
|
112 <h4>Properties inherited from <a href="DataSource.Local.html" property="yui:name" title="DataSource.Local">DataSource.Local</a>:</h4> |
|
113 <div class="content" rel="yui:properties"> |
|
114 <code> |
|
115 |
|
116 </code> |
|
117 </div> |
|
118 </div> |
|
119 </div> |
|
120 </div> |
|
121 |
|
122 <div rel="yui:methods" resource="#methods"> |
|
123 <div class="section method details"> |
|
124 <h3 id="methods">Methods</h3> |
|
125 <div class="content"> |
|
126 <div class="" rel="yui:method" resource="#method_clearAllIntervals"> |
|
127 <h4> |
|
128 <a name="method_clearAllIntervals">clearAllIntervals</a></h4> |
|
129 <div class="detail" > |
|
130 <code> |
|
131 |
|
132 |
|
133 |
|
134 void |
|
135 <strong property="yui:name">clearAllIntervals</strong> |
|
136 ( |
|
137 ) |
|
138 </code> |
|
139 |
|
140 <div class="description" property="yui:description"> |
|
141 Clears all intervals. |
|
142 </div> |
|
143 |
|
144 <div class="description"> |
|
145 |
|
146 |
|
147 |
|
148 |
|
149 |
|
150 |
|
151 </div> |
|
152 |
|
153 </div> |
|
154 <hr /> |
|
155 </div> |
|
156 <div class="" rel="yui:method" resource="#method_clearInterval"> |
|
157 <h4> |
|
158 <a name="method_clearInterval">clearInterval</a></h4> |
|
159 <div class="detail" > |
|
160 <code> |
|
161 |
|
162 |
|
163 |
|
164 void |
|
165 <strong property="yui:name">clearInterval</strong> |
|
166 ( |
|
167 |
|
168 |
|
169 id |
|
170 |
|
171 |
|
172 ) |
|
173 </code> |
|
174 |
|
175 <div class="description" property="yui:description"> |
|
176 Disables polling mechanism associated with the given interval ID. |
|
177 </div> |
|
178 |
|
179 <div class="description"> |
|
180 |
|
181 <dl rel="yui:parameters"> |
|
182 <dt>Parameters:</dt> |
|
183 <dd rel="yui:parameter"> |
|
184 <code><span property="yui:name">id</span> |
|
185 <<span property="yui:type">Number</span>> |
|
186 </code> |
|
187 <span property="yui:description"> Interval ID.</span> |
|
188 </dd> |
|
189 </dl> |
|
190 |
|
191 |
|
192 |
|
193 |
|
194 |
|
195 </div> |
|
196 |
|
197 </div> |
|
198 <hr /> |
|
199 </div> |
|
200 <div class="" rel="yui:method" resource="#method_setInterval"> |
|
201 <h4> |
|
202 <a name="method_setInterval">setInterval</a></h4> |
|
203 <div class="detail" > |
|
204 <code> |
|
205 |
|
206 |
|
207 |
|
208 Number |
|
209 <strong property="yui:name">setInterval</strong> |
|
210 ( |
|
211 |
|
212 |
|
213 msec |
|
214 |
|
215 |
|
216 , |
|
217 request |
|
218 |
|
219 |
|
220 , |
|
221 callback |
|
222 |
|
223 |
|
224 ) |
|
225 </code> |
|
226 |
|
227 <div class="description" property="yui:description"> |
|
228 Sets up a polling mechanism to send requests at set intervals and forward |
|
229 responses to given callback. |
|
230 </div> |
|
231 |
|
232 <div class="description"> |
|
233 |
|
234 <dl rel="yui:parameters"> |
|
235 <dt>Parameters:</dt> |
|
236 <dd rel="yui:parameter"> |
|
237 <code><span property="yui:name">msec</span> |
|
238 <<span property="yui:type">Number</span>> |
|
239 </code> |
|
240 <span property="yui:description"> Length of interval in milliseconds.</span> |
|
241 </dd> |
|
242 <dd rel="yui:parameter"> |
|
243 <code><span property="yui:name">request</span> |
|
244 <<span property="yui:type">Object</span>> |
|
245 </code> |
|
246 <span property="yui:description"> Request object.</span> |
|
247 </dd> |
|
248 <dd rel="yui:parameter"> |
|
249 <code><span property="yui:name">callback</span> |
|
250 <<span property="yui:type">Object</span>> |
|
251 </code> |
|
252 <span property="yui:description"> An object literal with the following properties: |
|
253 <dl> |
|
254 <dt><code>success</code></dt> |
|
255 <dd>The function to call when the data is ready.</dd> |
|
256 <dt><code>failure</code></dt> |
|
257 <dd>The function to call upon a response failure condition.</dd> |
|
258 <dt><code>argument</code></dt> |
|
259 <dd>Arbitrary data that will be passed back to the success and failure handlers.</dd> |
|
260 </dl></span> |
|
261 </dd> |
|
262 </dl> |
|
263 |
|
264 <dl> |
|
265 <dt>Returns: |
|
266 <code property="yui:return"> |
|
267 Number |
|
268 </code></dt> |
|
269 <dd property="yui:returnInfo">Interval ID.</dd> |
|
270 </dl> |
|
271 |
|
272 |
|
273 |
|
274 |
|
275 </div> |
|
276 |
|
277 </div> |
|
278 <hr /> |
|
279 </div> |
|
280 </div> |
|
281 </div> |
|
282 |
|
283 <div rel="yui:inheritance"> |
|
284 <div class="section field inheritance" rel="yui:superclass" resource="EventTarget.html"> |
|
285 <h4>Methods inherited from <a href="EventTarget.html" property="yui:name" title="EventTarget">EventTarget</a>:</h4> |
|
286 <div class="content" rel="yui:methods"> |
|
287 <code> |
|
288 <span rel="yui:method" resource="EventTarget.html#method__getType"> |
|
289 <a class="private" href="EventTarget.html#method__getType" property="yui:name" title="_getType">_getType</a><span class="private">,</span> |
|
290 </span> |
|
291 <span rel="yui:method" resource="EventTarget.html#method__parseType"> |
|
292 <a class="private" href="EventTarget.html#method__parseType" property="yui:name" title="_parseType">_parseType</a><span class="private">,</span> |
|
293 </span> |
|
294 <span rel="yui:method" resource="EventTarget.html#method_addTarget"> |
|
295 <a class="" href="EventTarget.html#method_addTarget" property="yui:name" title="addTarget">addTarget</a><span class="">,</span> |
|
296 </span> |
|
297 <span rel="yui:method" resource="EventTarget.html#method_after"> |
|
298 <a class="" href="EventTarget.html#method_after" property="yui:name" title="after">after</a><span class="">,</span> |
|
299 </span> |
|
300 <span rel="yui:method" resource="EventTarget.html#method_before"> |
|
301 <a class=" deprecated" href="EventTarget.html#method_before" property="yui:name" title="before">before</a><span class=" deprecated">,</span> |
|
302 </span> |
|
303 <span rel="yui:method" resource="EventTarget.html#method_bubble"> |
|
304 <a class="" href="EventTarget.html#method_bubble" property="yui:name" title="bubble">bubble</a><span class="">,</span> |
|
305 </span> |
|
306 <span rel="yui:method" resource="EventTarget.html#method_detach"> |
|
307 <a class="" href="EventTarget.html#method_detach" property="yui:name" title="detach">detach</a><span class="">,</span> |
|
308 </span> |
|
309 <span rel="yui:method" resource="EventTarget.html#method_detachAll"> |
|
310 <a class="" href="EventTarget.html#method_detachAll" property="yui:name" title="detachAll">detachAll</a><span class="">,</span> |
|
311 </span> |
|
312 <span rel="yui:method" resource="EventTarget.html#method_fire"> |
|
313 <a class="" href="EventTarget.html#method_fire" property="yui:name" title="fire">fire</a><span class="">,</span> |
|
314 </span> |
|
315 <span rel="yui:method" resource="EventTarget.html#method_getEvent"> |
|
316 <a class="" href="EventTarget.html#method_getEvent" property="yui:name" title="getEvent">getEvent</a><span class="">,</span> |
|
317 </span> |
|
318 <span rel="yui:method" resource="EventTarget.html#method_on"> |
|
319 <a class="" href="EventTarget.html#method_on" property="yui:name" title="on">on</a><span class="">,</span> |
|
320 </span> |
|
321 <span rel="yui:method" resource="EventTarget.html#method_publish"> |
|
322 <a class="" href="EventTarget.html#method_publish" property="yui:name" title="publish">publish</a><span class="">,</span> |
|
323 </span> |
|
324 <span rel="yui:method" resource="EventTarget.html#method_removeTarget"> |
|
325 <a class="" href="EventTarget.html#method_removeTarget" property="yui:name" title="removeTarget">removeTarget</a><span class="">,</span> |
|
326 </span> |
|
327 <span rel="yui:method" resource="EventTarget.html#method_subscribe"> |
|
328 <a class=" deprecated" href="EventTarget.html#method_subscribe" property="yui:name" title="subscribe">subscribe</a><span class=" deprecated">,</span> |
|
329 </span> |
|
330 <span rel="yui:method" resource="EventTarget.html#method_unsubscribe"> |
|
331 <a class=" deprecated" href="EventTarget.html#method_unsubscribe" property="yui:name" title="unsubscribe">unsubscribe</a><span class=" deprecated">,</span> |
|
332 </span> |
|
333 <span rel="yui:method" resource="EventTarget.html#method_unsubscribeAll"> |
|
334 <a class=" deprecated" href="EventTarget.html#method_unsubscribeAll" property="yui:name" title="unsubscribeAll">unsubscribeAll</a> |
|
335 </span> |
|
336 </code> |
|
337 </div> |
|
338 </div> |
|
339 <div class="section field inheritance" rel="yui:superclass" resource="Attribute.html"> |
|
340 <h4>Methods inherited from <a href="Attribute.html" property="yui:name" title="Attribute">Attribute</a>:</h4> |
|
341 <div class="content" rel="yui:methods"> |
|
342 <code> |
|
343 <span rel="yui:method" resource="Attribute.html#method__addAttrs"> |
|
344 <a class="private" href="Attribute.html#method__addAttrs" property="yui:name" title="_addAttrs">_addAttrs</a><span class="private">,</span> |
|
345 </span> |
|
346 <span rel="yui:method" resource="Attribute.html#method__addLazyAttr"> |
|
347 <a class="private" href="Attribute.html#method__addLazyAttr" property="yui:name" title="_addLazyAttr">_addLazyAttr</a><span class="private">,</span> |
|
348 </span> |
|
349 <span rel="yui:method" resource="Attribute.html#method__defAttrChangeFn"> |
|
350 <a class="private" href="Attribute.html#method__defAttrChangeFn" property="yui:name" title="_defAttrChangeFn">_defAttrChangeFn</a><span class="private">,</span> |
|
351 </span> |
|
352 <span rel="yui:method" resource="Attribute.html#method__fireAttrChange"> |
|
353 <a class="private" href="Attribute.html#method__fireAttrChange" property="yui:name" title="_fireAttrChange">_fireAttrChange</a><span class="private">,</span> |
|
354 </span> |
|
355 <span rel="yui:method" resource="Attribute.html#method__getAttr"> |
|
356 <a class="protected" href="Attribute.html#method__getAttr" property="yui:name" title="_getAttr">_getAttr</a><span class="protected">,</span> |
|
357 </span> |
|
358 <span rel="yui:method" resource="Attribute.html#method__getAttrInitVal"> |
|
359 <a class="private" href="Attribute.html#method__getAttrInitVal" property="yui:name" title="_getAttrInitVal">_getAttrInitVal</a><span class="private">,</span> |
|
360 </span> |
|
361 <span rel="yui:method" resource="Attribute.html#method__getAttrs"> |
|
362 <a class="protected" href="Attribute.html#method__getAttrs" property="yui:name" title="_getAttrs">_getAttrs</a><span class="protected">,</span> |
|
363 </span> |
|
364 <span rel="yui:method" resource="Attribute.html#method__getStateVal"> |
|
365 <a class="private" href="Attribute.html#method__getStateVal" property="yui:name" title="_getStateVal">_getStateVal</a><span class="private">,</span> |
|
366 </span> |
|
367 <span rel="yui:method" resource="Attribute.html#method__isLazyAttr"> |
|
368 <a class="private" href="Attribute.html#method__isLazyAttr" property="yui:name" title="_isLazyAttr">_isLazyAttr</a><span class="private">,</span> |
|
369 </span> |
|
370 <span rel="yui:method" resource="Attribute.html#method__normAttrVals"> |
|
371 <a class="private" href="Attribute.html#method__normAttrVals" property="yui:name" title="_normAttrVals">_normAttrVals</a><span class="private">,</span> |
|
372 </span> |
|
373 <span rel="yui:method" resource="Attribute.html#method__protectAttrs"> |
|
374 <a class="protected" href="Attribute.html#method__protectAttrs" property="yui:name" title="_protectAttrs">_protectAttrs</a><span class="protected">,</span> |
|
375 </span> |
|
376 <span rel="yui:method" resource="Attribute.html#method__set"> |
|
377 <a class="protected" href="Attribute.html#method__set" property="yui:name" title="_set">_set</a><span class="protected">,</span> |
|
378 </span> |
|
379 <span rel="yui:method" resource="Attribute.html#method__setAttr"> |
|
380 <a class="protected" href="Attribute.html#method__setAttr" property="yui:name" title="_setAttr">_setAttr</a><span class="protected">,</span> |
|
381 </span> |
|
382 <span rel="yui:method" resource="Attribute.html#method__setAttrs"> |
|
383 <a class="protected" href="Attribute.html#method__setAttrs" property="yui:name" title="_setAttrs">_setAttrs</a><span class="protected">,</span> |
|
384 </span> |
|
385 <span rel="yui:method" resource="Attribute.html#method__setAttrVal"> |
|
386 <a class="private" href="Attribute.html#method__setAttrVal" property="yui:name" title="_setAttrVal">_setAttrVal</a><span class="private">,</span> |
|
387 </span> |
|
388 <span rel="yui:method" resource="Attribute.html#method__setStateVal"> |
|
389 <a class="private" href="Attribute.html#method__setStateVal" property="yui:name" title="_setStateVal">_setStateVal</a><span class="private">,</span> |
|
390 </span> |
|
391 <span rel="yui:method" resource="Attribute.html#method_addAttr"> |
|
392 <a class="" href="Attribute.html#method_addAttr" property="yui:name" title="addAttr">addAttr</a><span class="">,</span> |
|
393 </span> |
|
394 <span rel="yui:method" resource="Attribute.html#method_addAttrs"> |
|
395 <a class="" href="Attribute.html#method_addAttrs" property="yui:name" title="addAttrs">addAttrs</a><span class="">,</span> |
|
396 </span> |
|
397 <span rel="yui:method" resource="Attribute.html#method_attrAdded"> |
|
398 <a class="" href="Attribute.html#method_attrAdded" property="yui:name" title="attrAdded">attrAdded</a><span class="">,</span> |
|
399 </span> |
|
400 <span rel="yui:method" resource="Attribute.html#method_get"> |
|
401 <a class="" href="Attribute.html#method_get" property="yui:name" title="get">get</a><span class="">,</span> |
|
402 </span> |
|
403 <span rel="yui:method" resource="Attribute.html#method_getAttrs"> |
|
404 <a class="" href="Attribute.html#method_getAttrs" property="yui:name" title="getAttrs">getAttrs</a><span class="">,</span> |
|
405 </span> |
|
406 <span rel="yui:method" resource="Attribute.html#method_modifyAttr"> |
|
407 <a class="" href="Attribute.html#method_modifyAttr" property="yui:name" title="modifyAttr">modifyAttr</a><span class="">,</span> |
|
408 </span> |
|
409 <span rel="yui:method" resource="Attribute.html#method_removeAttr"> |
|
410 <a class="" href="Attribute.html#method_removeAttr" property="yui:name" title="removeAttr">removeAttr</a><span class="">,</span> |
|
411 </span> |
|
412 <span rel="yui:method" resource="Attribute.html#method_reset"> |
|
413 <a class="" href="Attribute.html#method_reset" property="yui:name" title="reset">reset</a><span class="">,</span> |
|
414 </span> |
|
415 <span rel="yui:method" resource="Attribute.html#method_set"> |
|
416 <a class="" href="Attribute.html#method_set" property="yui:name" title="set">set</a><span class="">,</span> |
|
417 </span> |
|
418 <span rel="yui:method" resource="Attribute.html#method_setAttrs"> |
|
419 <a class="" href="Attribute.html#method_setAttrs" property="yui:name" title="setAttrs">setAttrs</a> |
|
420 </span> |
|
421 </code> |
|
422 </div> |
|
423 </div> |
|
424 <div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
425 <h4>Methods inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
426 <div class="content" rel="yui:methods"> |
|
427 <code> |
|
428 <span rel="yui:method" resource="Base.html#method__aggregateAttrs"> |
|
429 <a class="private" href="Base.html#method__aggregateAttrs" property="yui:name" title="_aggregateAttrs">_aggregateAttrs</a><span class="private">,</span> |
|
430 </span> |
|
431 <span rel="yui:method" resource="Base.html#method__defDestroyFn"> |
|
432 <a class="protected" href="Base.html#method__defDestroyFn" property="yui:name" title="_defDestroyFn">_defDestroyFn</a><span class="protected">,</span> |
|
433 </span> |
|
434 <span rel="yui:method" resource="Base.html#method__defInitFn"> |
|
435 <a class="protected" href="Base.html#method__defInitFn" property="yui:name" title="_defInitFn">_defInitFn</a><span class="protected">,</span> |
|
436 </span> |
|
437 <span rel="yui:method" resource="Base.html#method__destroyHierarchy"> |
|
438 <a class="private" href="Base.html#method__destroyHierarchy" property="yui:name" title="_destroyHierarchy">_destroyHierarchy</a><span class="private">,</span> |
|
439 </span> |
|
440 <span rel="yui:method" resource="Base.html#method__filterAttrCfs"> |
|
441 <a class="private" href="Base.html#method__filterAttrCfs" property="yui:name" title="_filterAttrCfs">_filterAttrCfs</a><span class="private">,</span> |
|
442 </span> |
|
443 <span rel="yui:method" resource="Base.html#method__getAttrCfgs"> |
|
444 <a class="protected" href="Base.html#method__getAttrCfgs" property="yui:name" title="_getAttrCfgs">_getAttrCfgs</a><span class="protected">,</span> |
|
445 </span> |
|
446 <span rel="yui:method" resource="Base.html#method__getClasses"> |
|
447 <a class="protected" href="Base.html#method__getClasses" property="yui:name" title="_getClasses">_getClasses</a><span class="protected">,</span> |
|
448 </span> |
|
449 <span rel="yui:method" resource="Base.html#method__initHierarchy"> |
|
450 <a class="private" href="Base.html#method__initHierarchy" property="yui:name" title="_initHierarchy">_initHierarchy</a><span class="private">,</span> |
|
451 </span> |
|
452 <span rel="yui:method" resource="Base.html#method__initHierarchyData"> |
|
453 <a class="private" href="Base.html#method__initHierarchyData" property="yui:name" title="_initHierarchyData">_initHierarchyData</a><span class="private">,</span> |
|
454 </span> |
|
455 <span rel="yui:method" resource="Base.html#method_destroy"> |
|
456 <a class="" href="Base.html#method_destroy" property="yui:name" title="destroy">destroy</a><span class="">,</span> |
|
457 </span> |
|
458 <span rel="yui:method" resource="Base.html#method_init"> |
|
459 <a class="" href="Base.html#method_init" property="yui:name" title="init">init</a><span class="">,</span> |
|
460 </span> |
|
461 <span rel="yui:method" resource="Base.html#method_toString"> |
|
462 <a class="" href="Base.html#method_toString" property="yui:name" title="toString">toString</a> |
|
463 </span> |
|
464 </code> |
|
465 </div> |
|
466 </div> |
|
467 <div class="section field inheritance" rel="yui:superclass" resource="DataSource.Local.html"> |
|
468 <h4>Methods inherited from <a href="DataSource.Local.html" property="yui:name" title="DataSource.Local">DataSource.Local</a>:</h4> |
|
469 <div class="content" rel="yui:methods"> |
|
470 <code> |
|
471 <span rel="yui:method" resource="DataSource.Local.html#method__defDataFn"> |
|
472 <a class="protected" href="DataSource.Local.html#method__defDataFn" property="yui:name" title="_defDataFn">_defDataFn</a><span class="protected">,</span> |
|
473 </span> |
|
474 <span rel="yui:method" resource="DataSource.Local.html#method__defRequestFn"> |
|
475 <a class="protected" href="DataSource.Local.html#method__defRequestFn" property="yui:name" title="_defRequestFn">_defRequestFn</a><span class="protected">,</span> |
|
476 </span> |
|
477 <span rel="yui:method" resource="DataSource.Local.html#method__defResponseFn"> |
|
478 <a class="protected" href="DataSource.Local.html#method__defResponseFn" property="yui:name" title="_defResponseFn">_defResponseFn</a><span class="protected">,</span> |
|
479 </span> |
|
480 <span rel="yui:method" resource="DataSource.Local.html#method__initEvents"> |
|
481 <a class="private" href="DataSource.Local.html#method__initEvents" property="yui:name" title="_initEvents">_initEvents</a><span class="private">,</span> |
|
482 </span> |
|
483 <span rel="yui:method" resource="DataSource.Local.html#method_initializer"> |
|
484 <a class="private" href="DataSource.Local.html#method_initializer" property="yui:name" title="initializer">initializer</a><span class="private">,</span> |
|
485 </span> |
|
486 <span rel="yui:method" resource="DataSource.Local.html#method_sendRequest"> |
|
487 <a class="" href="DataSource.Local.html#method_sendRequest" property="yui:name" title="sendRequest">sendRequest</a> |
|
488 </span> |
|
489 </code> |
|
490 </div> |
|
491 </div> |
|
492 </div> |
|
493 </div> |
|
494 |
|
495 <div rel="yui:events" resource="#events"> |
|
496 |
|
497 |
|
498 <div rel="yui:inheritance"> |
|
499 <div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
500 <h4>Events inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
501 <div class="content" rel="yui:events"> |
|
502 <code> |
|
503 <span rel="yui:event" resource="Base.html#event_destroy"> |
|
504 <a class="" href="Base.html#event_destroy" property="yui:name" title="destroy">destroy</a><span class="">,</span> |
|
505 </span> |
|
506 <span rel="yui:event" resource="Base.html#event_destroyedChange"> |
|
507 <a class="" href="Base.html#event_destroyedChange" property="yui:name" title="destroyedChange">destroyedChange</a><span class="">,</span> |
|
508 </span> |
|
509 <span rel="yui:event" resource="Base.html#event_init"> |
|
510 <a class="" href="Base.html#event_init" property="yui:name" title="init">init</a><span class="">,</span> |
|
511 </span> |
|
512 <span rel="yui:event" resource="Base.html#event_initializedChange"> |
|
513 <a class="" href="Base.html#event_initializedChange" property="yui:name" title="initializedChange">initializedChange</a><span class="">,</span> |
|
514 </span> |
|
515 |
|
516 </code> |
|
517 </div> |
|
518 </div> |
|
519 <div class="section field inheritance" rel="yui:superclass" resource="DataSource.Local.html"> |
|
520 <h4>Events inherited from <a href="DataSource.Local.html" property="yui:name" title="DataSource.Local">DataSource.Local</a>:</h4> |
|
521 <div class="content" rel="yui:events"> |
|
522 <code> |
|
523 <span rel="yui:event" resource="DataSource.Local.html#event_data"> |
|
524 <a class="" href="DataSource.Local.html#event_data" property="yui:name" title="data">data</a><span class="">,</span> |
|
525 </span> |
|
526 <span rel="yui:event" resource="DataSource.Local.html#event_error"> |
|
527 <a class="" href="DataSource.Local.html#event_error" property="yui:name" title="error">error</a><span class="">,</span> |
|
528 </span> |
|
529 <span rel="yui:event" resource="DataSource.Local.html#event_request"> |
|
530 <a class="" href="DataSource.Local.html#event_request" property="yui:name" title="request">request</a> |
|
531 </span> |
|
532 <span rel="yui:event" resource="DataSource.Local.html#event_response"> |
|
533 <a class="" href="DataSource.Local.html#event_response" property="yui:name" title="response">response</a> |
|
534 </span> |
|
535 <span rel="yui:event" resource="DataSource.Local.html#event_sourceChange"> |
|
536 <a class="" href="DataSource.Local.html#event_sourceChange" property="yui:name" title="sourceChange">sourceChange</a> |
|
537 </span> |
|
538 |
|
539 </code> |
|
540 </div> |
|
541 </div> |
|
542 </div> |
|
543 </div> |
|
544 |
|
545 <div rel="yui:attributes" resource="#configattributes"> |
|
546 |
|
547 <div rel="yui:inheritance"> |
|
548 <div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
549 <h4>Configuration attributes inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
550 <div class="content" rel="yui:attributes"> |
|
551 <code> |
|
552 <span rel="yui:attribute" resource="Base.html#config_destroyed"> |
|
553 <a class="" href="Base.html#config_destroyed" property="yui:name" title="destroyed">destroyed</a><span class="">,</span> |
|
554 </span> |
|
555 <span rel="yui:attribute" resource="Base.html#config_initialized"> |
|
556 <a class="" href="Base.html#config_initialized" property="yui:name" title="initialized">initialized</a><span class="">,</span> |
|
557 </span> |
|
558 |
|
559 </code> |
|
560 </div> |
|
561 </div> |
|
562 <div class="section field inheritance" rel="yui:superclass" resource="DataSource.Local.html"> |
|
563 <h4>Configuration attributes inherited from <a href="DataSource.Local.html" property="yui:name" title="DataSource.Local">DataSource.Local</a>:</h4> |
|
564 <div class="content" rel="yui:attributes"> |
|
565 <code> |
|
566 <span rel="yui:attribute" resource="DataSource.Local.html#config_source"> |
|
567 <a class="" href="DataSource.Local.html#config_source" property="yui:name" title="source">source</a><span class="">,</span> |
|
568 </span> |
|
569 |
|
570 </code> |
|
571 </div> |
|
572 </div> |
|
573 </div> |
|
574 </div> |
|
575 |
|
576 </div> |
|
577 </div> |
|
578 <div class="yui-b"> |
|
579 <div class="nav"> |
|
580 |
|
581 <div id="moduleList" class="module"> |
|
582 <h4>Modules</h4> |
|
583 <ul class="content"> |
|
584 <li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
585 <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li> |
|
586 <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
587 <li class=""><a href="module_base.html" title="base">base</a></li> |
|
588 <li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
589 <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
590 <li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
591 <li class=""><a href="module_console.html" title="console">console</a></li> |
|
592 <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
593 <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
594 <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
595 <li class="selected"><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
596 <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
597 <li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
598 <li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
599 <li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
600 <li class=""><a href="module_event.html" title="event">event</a></li> |
|
601 <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
602 <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
603 <li class=""><a href="module_history.html" title="history">history</a></li> |
|
604 <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
605 <li class=""><a href="module_io.html" title="io">io</a></li> |
|
606 <li class=""><a href="module_json.html" title="json">json</a></li> |
|
607 <li class=""><a href="module_node.html" title="node">node</a></li> |
|
608 <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
609 <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
610 <li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
611 <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
612 <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
613 <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
614 <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li> |
|
615 <li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
616 <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
617 <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
618 <li class=""><a href="module_test.html" title="test">test</a></li> |
|
619 <li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
620 <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
621 <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
622 <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
623 <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
624 <li class=""><a href="module_yui.html" title="yui">yui</a></li> |
|
625 </ul> |
|
626 </div> |
|
627 |
|
628 <div id="classList" class="module"> |
|
629 <h4>Classes</h4> |
|
630 <ul class="content"> |
|
631 <li class=""><a href="DataSource.Function.html" title="DataSource.Function">DataSource.Function</a></li> |
|
632 <li class=""><a href="DataSource.Get.html" title="DataSource.Get">DataSource.Get</a></li> |
|
633 <li class=""><a href="DataSource.IO.html" title="DataSource.IO">DataSource.IO</a></li> |
|
634 <li class=""><a href="DataSource.Local.html" title="DataSource.Local">DataSource.Local</a></li> |
|
635 <li class=""><a href="DataSourceArraySchema.html" title="DataSourceArraySchema">DataSourceArraySchema</a></li> |
|
636 <li class=""><a href="DataSourceCache.html" title="DataSourceCache">DataSourceCache</a></li> |
|
637 <li class=""><a href="DataSourceJSONSchema.html" title="DataSourceJSONSchema">DataSourceJSONSchema</a></li> |
|
638 <li class=""><a href="DataSourceTextSchema.html" title="DataSourceTextSchema">DataSourceTextSchema</a></li> |
|
639 <li class=""><a href="DataSourceXMLSchema.html" title="DataSourceXMLSchema">DataSourceXMLSchema</a></li> |
|
640 <li class="selected"><a href="Pollable.html" title="Pollable">Pollable</a></li> |
|
641 </ul> |
|
642 </div> |
|
643 |
|
644 <div id="fileList" class="module"> |
|
645 <h4>Files</h4> |
|
646 <ul class="content"> |
|
647 <li class=""><a href="datasource-arrayschema.js.html" title="datasource-arrayschema.js">datasource-arrayschema.js</a></li> |
|
648 <li class=""><a href="datasource-cache.js.html" title="datasource-cache.js">datasource-cache.js</a></li> |
|
649 <li class=""><a href="datasource-function.js.html" title="datasource-function.js">datasource-function.js</a></li> |
|
650 <li class=""><a href="datasource-get.js.html" title="datasource-get.js">datasource-get.js</a></li> |
|
651 <li class=""><a href="datasource-io.js.html" title="datasource-io.js">datasource-io.js</a></li> |
|
652 <li class=""><a href="datasource-jsonschema.js.html" title="datasource-jsonschema.js">datasource-jsonschema.js</a></li> |
|
653 <li class=""><a href="datasource-local.js.html" title="datasource-local.js">datasource-local.js</a></li> |
|
654 <li class=""><a href="datasource-polling.js.html" title="datasource-polling.js">datasource-polling.js</a></li> |
|
655 <li class=""><a href="datasource-textschema.js.html" title="datasource-textschema.js">datasource-textschema.js</a></li> |
|
656 <li class=""><a href="datasource-xmlschema.js.html" title="datasource-xmlschema.js">datasource-xmlschema.js</a></li> |
|
657 </ul> |
|
658 </div> |
|
659 |
|
660 <div id="propertyList" class="module"> |
|
661 <h4>Properties</h4> |
|
662 <ul class="content"> |
|
663 <li class="private"><a href="#property__intervals" title="_intervals">_intervals</a></li> |
|
664 </ul> |
|
665 </div> |
|
666 |
|
667 <div id="methodsList" class="module"> |
|
668 <h4>Methods</h4> |
|
669 <ul class="content"> |
|
670 <li class=""><a href="#method_clearAllIntervals" title="clearAllIntervals">clearAllIntervals</a></li> |
|
671 <li class=""><a href="#method_clearInterval" title="clearInterval">clearInterval</a></li> |
|
672 <li class=""><a href="#method_setInterval" title="setInterval">setInterval</a></li> |
|
673 </ul> |
|
674 </div> |
|
675 |
|
676 |
|
677 |
|
678 </div> |
|
679 </div> |
|
680 </div> |
|
681 <div id="ft"> |
|
682 <hr /> |
|
683 Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
684 </div> |
|
685 </div> |
|
686 <script type="text/javascript"> |
|
687 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": "", "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": "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": "", "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": "Pollable", "name": "_intervals", "url": "Pollable.html#property__intervals", "type": "property"}, {"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": "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": "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.Function", "name": "sourceChange", "url": "DataSource.Function.html#event_sourceChange", "type": "event"}, {"access": "private", "host": "DataSource.Get", "name": "_tId", "url": "DataSource.Get.html#property__tId", "type": "property"}]; |
|
688 </script> |
|
689 </body> |
|
690 </html> |