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