commit extjs-2.2.1
[extjs.git] / docs / output / Ext.html
1         <div class="body-wrap">
2         <div class="top-tools">
3             <a class="inner-link" href="#Ext-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4             <a class="inner-link" href="#Ext-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5             <a class="inner-link" href="#Ext-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6                         <a class="bookmark" href="../docs/?class=Ext"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
7         </div>
8                 <h1>Class Ext</h1>
9         <table cellspacing="0">
10             <tr><td class="label">Package:</td><td class="hd-info">Global</td></tr>
11             <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/Ext.js" target="_blank">Ext.js</a></td></tr>
12             <tr><td class="label">Class:</td><td class="hd-info">Ext</td></tr>
13                                     <tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr>
14                     </table>
15         <div class="description">
16             Ext core utilities and functions.<br><br><i>This class is a singleton and cannot be created directly.</i>        </div>
17         
18         <div class="hr"></div>
19                 <a id="Ext-props"></a>
20         <h2>Public Properties</h2>
21                 <table cellspacing="0" class="member-table">
22             <tr>
23                 <th class="sig-header" colspan="2">Property</th>
24                 <th class="msource-header">Defined By</th>
25             </tr>
26                 <tr class="property-row expandable">\r
27         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
28         <td class="sig">\r
29         <a id="Ext-BLANK_IMAGE_URL"></a>\r
30             <b>BLANK_IMAGE_URL</b> : String            <div class="mdesc">\r
31                         <div class="short">URL to a 1x1 transparent gif image used by Ext to create inline icons with CSS background images. (Defaults to
32 "http:...</div>\r
33             <div class="long">\r
34                 URL to a 1x1 transparent gif image used by Ext to create inline icons with CSS background images. (Defaults to
35 "http://extjs.com/s.gif" and you should change this to a URL on your server).            </div>\r
36                         </div>\r
37         </td>\r
38         <td class="msource">Ext</td>\r
39     </tr>\r
40         <tr class="property-row alt expandable">\r
41         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
42         <td class="sig">\r
43         <a id="Ext-SSL_SECURE_URL"></a>\r
44             <b>SSL_SECURE_URL</b> : String            <div class="mdesc">\r
45                         <div class="short">URL to a blank file used by Ext when in secure mode for iframe src and onReady src to prevent
46 the IE insecure content...</div>\r
47             <div class="long">\r
48                 URL to a blank file used by Ext when in secure mode for iframe src and onReady src to prevent
49 the IE insecure content warning (defaults to javascript:false).            </div>\r
50                         </div>\r
51         </td>\r
52         <td class="msource">Ext</td>\r
53     </tr>\r
54         <tr class="property-row">\r
55         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
56         <td class="sig">\r
57         <a id="Ext-emptyFn"></a>\r
58             <b>emptyFn</b> : Function            <div class="mdesc">\r
59                             A reusable empty function                        </div>\r
60         </td>\r
61         <td class="msource">Ext</td>\r
62     </tr>\r
63         <tr class="property-row alt">\r
64         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
65         <td class="sig">\r
66         <a id="Ext-enableGarbageCollector"></a>\r
67             <b>enableGarbageCollector</b> : Boolean            <div class="mdesc">\r
68                             True to automatically uncache orphaned Ext.Elements periodically (defaults to true)                        </div>\r
69         </td>\r
70         <td class="msource">Ext</td>\r
71     </tr>\r
72         <tr class="property-row expandable">\r
73         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
74         <td class="sig">\r
75         <a id="Ext-enableListenerCollection"></a>\r
76             <b>enableListenerCollection</b> : Boolean            <div class="mdesc">\r
77                         <div class="short">True to automatically purge event listeners after uncaching an element (defaults to false).
78 Note: this only happens i...</div>\r
79             <div class="long">\r
80                 True to automatically purge event listeners after uncaching an element (defaults to false).
81 Note: this only happens if enableGarbageCollector is true.            </div>\r
82                         </div>\r
83         </td>\r
84         <td class="msource">Ext</td>\r
85     </tr>\r
86         <tr class="property-row alt">\r
87         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
88         <td class="sig">\r
89         <a id="Ext-isAir"></a>\r
90             <b>isAir</b> : Boolean            <div class="mdesc">\r
91                             True if the detected platform is Adobe Air.                        </div>\r
92         </td>\r
93         <td class="msource">Ext</td>\r
94     </tr>\r
95         <tr class="property-row">\r
96         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
97         <td class="sig">\r
98         <a id="Ext-isBorderBox"></a>\r
99             <b>isBorderBox</b> : Boolean            <div class="mdesc">\r
100                             True if the detected browser is Internet Explorer running in non-strict mode.                        </div>\r
101         </td>\r
102         <td class="msource">Ext</td>\r
103     </tr>\r
104         <tr class="property-row alt">\r
105         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
106         <td class="sig">\r
107         <a id="Ext-isChrome"></a>\r
108             <b>isChrome</b> : Boolean            <div class="mdesc">\r
109                             True if the detected browser is Chrome.                        </div>\r
110         </td>\r
111         <td class="msource">Ext</td>\r
112     </tr>\r
113         <tr class="property-row">\r
114         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
115         <td class="sig">\r
116         <a id="Ext-isGecko"></a>\r
117             <b>isGecko</b> : Boolean            <div class="mdesc">\r
118                             True if the detected browser uses the Gecko layout engine (e.g. Mozilla, Firefox).                        </div>\r
119         </td>\r
120         <td class="msource">Ext</td>\r
121     </tr>\r
122         <tr class="property-row alt">\r
123         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
124         <td class="sig">\r
125         <a id="Ext-isGecko2"></a>\r
126             <b>isGecko2</b> : Boolean            <div class="mdesc">\r
127                             True if the detected browser uses a pre-Gecko 1.9 layout engine (e.g. Firefox 2.x).                        </div>\r
128         </td>\r
129         <td class="msource">Ext</td>\r
130     </tr>\r
131         <tr class="property-row">\r
132         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
133         <td class="sig">\r
134         <a id="Ext-isGecko3"></a>\r
135             <b>isGecko3</b> : Boolean            <div class="mdesc">\r
136                             True if the detected browser uses a Gecko 1.9+ layout engine (e.g. Firefox 3.x).                        </div>\r
137         </td>\r
138         <td class="msource">Ext</td>\r
139     </tr>\r
140         <tr class="property-row alt">\r
141         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
142         <td class="sig">\r
143         <a id="Ext-isIE"></a>\r
144             <b>isIE</b> : Boolean            <div class="mdesc">\r
145                             True if the detected browser is Internet Explorer.                        </div>\r
146         </td>\r
147         <td class="msource">Ext</td>\r
148     </tr>\r
149         <tr class="property-row">\r
150         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
151         <td class="sig">\r
152         <a id="Ext-isIE6"></a>\r
153             <b>isIE6</b> : Boolean            <div class="mdesc">\r
154                             True if the detected browser is Internet Explorer 6.x.                        </div>\r
155         </td>\r
156         <td class="msource">Ext</td>\r
157     </tr>\r
158         <tr class="property-row alt">\r
159         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
160         <td class="sig">\r
161         <a id="Ext-isIE7"></a>\r
162             <b>isIE7</b> : Boolean            <div class="mdesc">\r
163                             True if the detected browser is Internet Explorer 7.x.                        </div>\r
164         </td>\r
165         <td class="msource">Ext</td>\r
166     </tr>\r
167         <tr class="property-row">\r
168         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
169         <td class="sig">\r
170         <a id="Ext-isIE8"></a>\r
171             <b>isIE8</b> : Boolean            <div class="mdesc">\r
172                             True if the detected browser is Internet Explorer 8.x.                        </div>\r
173         </td>\r
174         <td class="msource">Ext</td>\r
175     </tr>\r
176         <tr class="property-row alt">\r
177         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
178         <td class="sig">\r
179         <a id="Ext-isLinux"></a>\r
180             <b>isLinux</b> : Boolean            <div class="mdesc">\r
181                             True if the detected platform is Linux.                        </div>\r
182         </td>\r
183         <td class="msource">Ext</td>\r
184     </tr>\r
185         <tr class="property-row">\r
186         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
187         <td class="sig">\r
188         <a id="Ext-isMac"></a>\r
189             <b>isMac</b> : Boolean            <div class="mdesc">\r
190                             True if the detected platform is Mac OS.                        </div>\r
191         </td>\r
192         <td class="msource">Ext</td>\r
193     </tr>\r
194         <tr class="property-row alt">\r
195         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
196         <td class="sig">\r
197         <a id="Ext-isOpera"></a>\r
198             <b>isOpera</b> : Boolean            <div class="mdesc">\r
199                             True if the detected browser is Opera.                        </div>\r
200         </td>\r
201         <td class="msource">Ext</td>\r
202     </tr>\r
203         <tr class="property-row">\r
204         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
205         <td class="sig">\r
206         <a id="Ext-isReady"></a>\r
207             <b>isReady</b> : Boolean            <div class="mdesc">\r
208                             True when the document is fully initialized and ready for action                        </div>\r
209         </td>\r
210         <td class="msource">Ext</td>\r
211     </tr>\r
212         <tr class="property-row alt">\r
213         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
214         <td class="sig">\r
215         <a id="Ext-isSafari"></a>\r
216             <b>isSafari</b> : Boolean            <div class="mdesc">\r
217                             True if the detected browser is Safari.                        </div>\r
218         </td>\r
219         <td class="msource">Ext</td>\r
220     </tr>\r
221         <tr class="property-row">\r
222         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
223         <td class="sig">\r
224         <a id="Ext-isSafari2"></a>\r
225             <b>isSafari2</b> : Boolean            <div class="mdesc">\r
226                             True if the detected browser is Safari 2.x.                        </div>\r
227         </td>\r
228         <td class="msource">Ext</td>\r
229     </tr>\r
230         <tr class="property-row alt">\r
231         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
232         <td class="sig">\r
233         <a id="Ext-isSafari3"></a>\r
234             <b>isSafari3</b> : Boolean            <div class="mdesc">\r
235                             True if the detected browser is Safari 3.x.                        </div>\r
236         </td>\r
237         <td class="msource">Ext</td>\r
238     </tr>\r
239         <tr class="property-row">\r
240         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
241         <td class="sig">\r
242         <a id="Ext-isSecure"></a>\r
243             <b>isSecure</b> : Boolean            <div class="mdesc">\r
244                             True if the page is running over SSL                        </div>\r
245         </td>\r
246         <td class="msource">Ext</td>\r
247     </tr>\r
248         <tr class="property-row alt">\r
249         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
250         <td class="sig">\r
251         <a id="Ext-isStrict"></a>\r
252             <b>isStrict</b> : Boolean            <div class="mdesc">\r
253                             True if the browser is in strict (standards-compliant) mode, as opposed to quirks mode                        </div>\r
254         </td>\r
255         <td class="msource">Ext</td>\r
256     </tr>\r
257         <tr class="property-row">\r
258         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
259         <td class="sig">\r
260         <a id="Ext-isWindows"></a>\r
261             <b>isWindows</b> : Boolean            <div class="mdesc">\r
262                             True if the detected platform is Windows.                        </div>\r
263         </td>\r
264         <td class="msource">Ext</td>\r
265     </tr>\r
266         <tr class="property-row alt expandable">\r
267         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
268         <td class="sig">\r
269         <a id="Ext-useShims"></a>\r
270             <b>useShims</b> : Boolean            <div class="mdesc">\r
271                         <div class="short">By default, Ext intelligently decides whether floating elements should be shimmed. If you are using flash,
272 you may wa...</div>\r
273             <div class="long">\r
274                 By default, Ext intelligently decides whether floating elements should be shimmed. If you are using flash,
275 you may want to set this to true.            </div>\r
276                         </div>\r
277         </td>\r
278         <td class="msource">Ext</td>\r
279     </tr>\r
280             </table>
281                 <a id="Ext-methods"></a>
282         <h2>Public Methods</h2>
283                 <table cellspacing="0" class="member-table">
284             <tr>
285                 <th class="sig-header" colspan="2">Method</th>
286                 <th class="msource-header">Defined By</th>
287             </tr>
288                 <tr class="method-row expandable">\r
289         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
290         <td class="sig">\r
291         <a id="Ext-addBehaviors"></a>\r
292             <b>addBehaviors</b>(&nbsp;<code>Object obj</code>&nbsp;) : void            <div class="mdesc">\r
293                         <div class="short">Applies event listeners to elements by selectors when the document is ready.
294 The event name is specified with an @ su...</div>\r
295             <div class="long">\r
296                 Applies event listeners to elements by selectors when the document is ready.
297 The event name is specified with an @ suffix.\r
298 <pre><code>Ext.addBehaviors({
299    <i>// add a listener <b>for</b> click on all anchors <b>in</b> element <b>with</b> id foo</i>
300    <em>'#foo a@click'</em> : <b>function</b>(e, t){
301        <i>// <b>do</b> something</i>
302    },
303
304    <i>// add the same listener to multiple selectors (separated by comma BEFORE the @)</i>
305    <em>'#foo a, #bar span.some-class@mouseover'</em> : <b>function</b>(){
306        <i>// <b>do</b> something</i>
307    }
308 });</code></pre>    <div class="mdetail-params">\r
309         <strong>Parameters:</strong>\r
310         <ul><li><code>obj</code> : Object<div class="sub-desc">The list of behaviors to apply</div></li>        </ul>\r
311         <strong>Returns:</strong>\r
312         <ul>\r
313             <li><code>void</code></li>\r
314         </ul>\r
315     </div>\r
316                 </div>\r
317                         </div>\r
318         </td>\r
319         <td class="msource">Ext</td>\r
320     </tr>\r
321         <tr class="method-row alt expandable">\r
322         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
323         <td class="sig">\r
324         <a id="Ext-apply"></a>\r
325             <b>apply</b>(&nbsp;<code>Object obj</code>, <code>Object config</code>, <code>Object defaults</code>&nbsp;) : Object            <div class="mdesc">\r
326                         <div class="short">
327 Copies all the properties of config to obj.</div>\r
328             <div class="long">\r
329                 
330 Copies all the properties of config to obj.    <div class="mdetail-params">\r
331         <strong>Parameters:</strong>\r
332         <ul><li><code>obj</code> : Object<div class="sub-desc">The receiver of the properties</div></li><li><code>config</code> : Object<div class="sub-desc">The source of the properties</div></li><li><code>defaults</code> : Object<div class="sub-desc">A different object that will also be applied for default values</div></li>        </ul>\r
333         <strong>Returns:</strong>\r
334         <ul>\r
335             <li><code>Object</code><div class="sub-desc">returns obj</div></li>\r
336         </ul>\r
337     </div>\r
338                 </div>\r
339                         </div>\r
340         </td>\r
341         <td class="msource">Ext</td>\r
342     </tr>\r
343         <tr class="method-row expandable">\r
344         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
345         <td class="sig">\r
346         <a id="Ext-applyIf"></a>\r
347             <b>applyIf</b>(&nbsp;<code>Object obj</code>, <code>Object config</code>&nbsp;) : Object            <div class="mdesc">\r
348                         <div class="short">Copies all the properties of config to obj if they don't already exist.</div>\r
349             <div class="long">\r
350                 Copies all the properties of config to obj if they don't already exist.    <div class="mdetail-params">\r
351         <strong>Parameters:</strong>\r
352         <ul><li><code>obj</code> : Object<div class="sub-desc">The receiver of the properties</div></li><li><code>config</code> : Object<div class="sub-desc">The source of the properties</div></li>        </ul>\r
353         <strong>Returns:</strong>\r
354         <ul>\r
355             <li><code>Object</code><div class="sub-desc">returns obj</div></li>\r
356         </ul>\r
357     </div>\r
358                 </div>\r
359                         </div>\r
360         </td>\r
361         <td class="msource">Ext</td>\r
362     </tr>\r
363         <tr class="method-row alt expandable">\r
364         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
365         <td class="sig">\r
366         <a id="Ext-decode"></a>\r
367             <b>decode</b>(&nbsp;<code>String json</code>&nbsp;) : Object            <div class="mdesc">\r
368                         <div class="short">Shorthand for <a ext:cls="Ext.util.JSON" ext:member="decode" href="output/Ext.util.JSON.html#decode">Ext.util.JSON.decode</a></div>\r
369             <div class="long">\r
370                 Shorthand for <a ext:cls="Ext.util.JSON" ext:member="decode" href="output/Ext.util.JSON.html#decode">Ext.util.JSON.decode</a>    <div class="mdetail-params">\r
371         <strong>Parameters:</strong>\r
372         <ul><li><code>json</code> : String<div class="sub-desc">The JSON string</div></li>        </ul>\r
373         <strong>Returns:</strong>\r
374         <ul>\r
375             <li><code>Object</code><div class="sub-desc">The resulting object</div></li>\r
376         </ul>\r
377     </div>\r
378                 </div>\r
379                         </div>\r
380         </td>\r
381         <td class="msource">Ext</td>\r
382     </tr>\r
383         <tr class="method-row expandable">\r
384         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
385         <td class="sig">\r
386         <a id="Ext-destroy"></a>\r
387             <b>destroy</b>(&nbsp;<code>Mixed arg1</code>, <span class="optional" title="Optional">[<code>Mixed arg2</code>]</span>, <span class="optional" title="Optional">[<code>Mixed etc...</code>]</span>&nbsp;) : void            <div class="mdesc">\r
388                         <div class="short">Attempts to destroy any objects passed to it by removing all event listeners, removing them from the
389 DOM (if applicab...</div>\r
390             <div class="long">\r
391                 Attempts to destroy any objects passed to it by removing all event listeners, removing them from the
392 DOM (if applicable) and calling their destroy functions (if available).  This method is primarily
393 intended for arguments of type <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a> and <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a>, but any subclass of
394 <a ext:cls="Ext.util.Observable" href="output/Ext.util.Observable.html">Ext.util.Observable</a> can be passed in.  Any number of elements and/or components can be
395 passed into this function in a single call as separate arguments.    <div class="mdetail-params">\r
396         <strong>Parameters:</strong>\r
397         <ul><li><code>arg1</code> : Mixed<div class="sub-desc">An <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a> or <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> to destroy</div></li><li><code>arg2</code> : Mixed<div class="sub-desc">(optional)</div></li><li><code>etc...</code> : Mixed<div class="sub-desc">(optional)</div></li>        </ul>\r
398         <strong>Returns:</strong>\r
399         <ul>\r
400             <li><code>void</code></li>\r
401         </ul>\r
402     </div>\r
403                 </div>\r
404                         </div>\r
405         </td>\r
406         <td class="msource">Ext</td>\r
407     </tr>\r
408         <tr class="method-row alt expandable">\r
409         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
410         <td class="sig">\r
411         <a id="Ext-each"></a>\r
412             <b>each</b>(&nbsp;<code>Array/NodeList/Mixed array</code>, <code>Function fn</code>, <code>Object scope</code>&nbsp;) : void            <div class="mdesc">\r
413                         <div class="short">Iterates an array calling the passed function with each item, stopping if your function returns false. If the
414 passed ...</div>\r
415             <div class="long">\r
416                 Iterates an array calling the passed function with each item, stopping if your function returns false. If the
417 passed array is not really an array, your function is called once with it.
418 The supplied function is called with (Object item, Number index, Array allItems).    <div class="mdetail-params">\r
419         <strong>Parameters:</strong>\r
420         <ul><li><code>array</code> : Array/NodeList/Mixed<div class="sub-desc"></div></li><li><code>fn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc"></div></li>        </ul>\r
421         <strong>Returns:</strong>\r
422         <ul>\r
423             <li><code>void</code></li>\r
424         </ul>\r
425     </div>\r
426                 </div>\r
427                         </div>\r
428         </td>\r
429         <td class="msource">Ext</td>\r
430     </tr>\r
431         <tr class="method-row expandable">\r
432         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
433         <td class="sig">\r
434         <a id="Ext-encode"></a>\r
435             <b>encode</b>(&nbsp;<code>Mixed o</code>&nbsp;) : String            <div class="mdesc">\r
436                         <div class="short">Shorthand for <a ext:cls="Ext.util.JSON" ext:member="encode" href="output/Ext.util.JSON.html#encode">Ext.util.JSON.encode</a></div>\r
437             <div class="long">\r
438                 Shorthand for <a ext:cls="Ext.util.JSON" ext:member="encode" href="output/Ext.util.JSON.html#encode">Ext.util.JSON.encode</a>    <div class="mdetail-params">\r
439         <strong>Parameters:</strong>\r
440         <ul><li><code>o</code> : Mixed<div class="sub-desc">The variable to encode</div></li>        </ul>\r
441         <strong>Returns:</strong>\r
442         <ul>\r
443             <li><code>String</code><div class="sub-desc">The JSON string</div></li>\r
444         </ul>\r
445     </div>\r
446                 </div>\r
447                         </div>\r
448         </td>\r
449         <td class="msource">Ext</td>\r
450     </tr>\r
451         <tr class="method-row alt expandable">\r
452         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
453         <td class="sig">\r
454         <a id="Ext-escapeRe"></a>\r
455             <b>escapeRe</b>(&nbsp;<code>String str</code>&nbsp;) : String            <div class="mdesc">\r
456                         <div class="short">Escapes the passed string for use in a regular expression</div>\r
457             <div class="long">\r
458                 Escapes the passed string for use in a regular expression    <div class="mdetail-params">\r
459         <strong>Parameters:</strong>\r
460         <ul><li><code>str</code> : String<div class="sub-desc"></div></li>        </ul>\r
461         <strong>Returns:</strong>\r
462         <ul>\r
463             <li><code>String</code></li>\r
464         </ul>\r
465     </div>\r
466                 </div>\r
467                         </div>\r
468         </td>\r
469         <td class="msource">Ext</td>\r
470     </tr>\r
471         <tr class="method-row expandable">\r
472         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
473         <td class="sig">\r
474         <a id="Ext-extend"></a>\r
475             <b>extend</b>(&nbsp;<code>Function subclass</code>, <code>Function superclass</code>, <span class="optional" title="Optional">[<code>Object overrides</code>]</span>&nbsp;) : Function            <div class="mdesc">\r
476                         <div class="short">Extends one class with another class and optionally overrides members with the passed literal. This class
477 also adds t...</div>\r
478             <div class="long">\r
479                 Extends one class with another class and optionally overrides members with the passed literal. This class
480 also adds the function "override()" to the class that can be used to override
481 members on an instance.
482 <p>
483 This function also supports a 2-argument call in which the subclass's constructor is
484 not passed as an argument. In this form, the parameters are as follows:</p><p>
485 <div class="mdetail-params"><ul>
486 <li><code>superclass</code>
487 <div class="sub-desc">The class being extended</div></li>
488 <li><code>overrides</code>
489 <div class="sub-desc">A literal with members which are copied into the subclass's
490 prototype, and are therefore shared among all instances of the new class.<p>
491 This may contain a special member named <tt><b>constructor</b></tt>. This is used
492 to define the constructor of the new class, and is returned. If this property is
493 <i>not</i> specified, a constructor is generated and returned which just calls the
494 superclass's constructor passing on its parameters.</p></div></li>
495 </ul></div></p><p>
496 For example, to create a subclass of the Ext GridPanel:
497 <pre><code>MyGridPanel = Ext.extend(Ext.grid.GridPanel, {
498         constructor: <b>function</b>(config) {
499             <i>// Your preprocessing here</i>
500                 MyGridPanel.superclass.constructor.apply(<b>this</b>, arguments);
501             <i>// Your postprocessing here</i>
502         },
503
504         yourMethod: <b>function</b>() {
505             <i>// etc.</i>
506         }
507     });</code></pre>
508 </p>    <div class="mdetail-params">\r
509         <strong>Parameters:</strong>\r
510         <ul><li><code>subclass</code> : Function<div class="sub-desc">The class inheriting the functionality</div></li><li><code>superclass</code> : Function<div class="sub-desc">The class being extended</div></li><li><code>overrides</code> : Object<div class="sub-desc">(optional) A literal with members which are copied into the subclass's
511 prototype, and are therefore shared between all instances of the new class.</div></li>        </ul>\r
512         <strong>Returns:</strong>\r
513         <ul>\r
514             <li><code>Function</code><div class="sub-desc">The subclass constructor.</div></li>\r
515         </ul>\r
516     </div>\r
517                 </div>\r
518                         </div>\r
519         </td>\r
520         <td class="msource">Ext</td>\r
521     </tr>\r
522         <tr class="method-row alt expandable">\r
523         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
524         <td class="sig">\r
525         <a id="Ext-fly"></a>\r
526             <b>fly</b>(&nbsp;<code>String/HTMLElement el</code>, <span class="optional" title="Optional">[<code>String named</code>]</span>&nbsp;) : Element            <div class="mdesc">\r
527                         <div class="short">&lt;static&gt; Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a...</div>\r
528             <div class="long">\r
529                 &lt;static&gt; Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element -
530 the dom node can be overwritten by other code.
531 Shorthand of <a ext:cls="Ext.Element" ext:member="fly" href="output/Ext.Element.html#fly">Ext.Element.fly</a>    <div class="mdetail-params">\r
532         <strong>Parameters:</strong>\r
533         <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc">The dom node or id</div></li><li><code>named</code> : String<div class="sub-desc">(optional) Allows for creation of named reusable flyweights to
534 prevent conflicts (e.g. internally Ext uses "_internal")</div></li>        </ul>\r
535         <strong>Returns:</strong>\r
536         <ul>\r
537             <li><code>Element</code><div class="sub-desc">The shared Element object</div></li>\r
538         </ul>\r
539     </div>\r
540                 </div>\r
541                         </div>\r
542         </td>\r
543         <td class="msource">Ext</td>\r
544     </tr>\r
545         <tr class="method-row expandable">\r
546         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
547         <td class="sig">\r
548         <a id="Ext-get"></a>\r
549             <b>get</b>(&nbsp;<code>Mixed el</code>&nbsp;) : Element            <div class="mdesc">\r
550                         <div class="short">Static method to retrieve Element objects. Uses simple caching to consistently return the same object.
551 Automatically ...</div>\r
552             <div class="long">\r
553                 Static method to retrieve Element objects. Uses simple caching to consistently return the same object.
554 Automatically fixes if an object was recreated with the same id via AJAX or DOM.
555 Shorthand of <a ext:cls="Ext.Element" ext:member="get" href="output/Ext.Element.html#get">Ext.Element.get</a>    <div class="mdetail-params">\r
556         <strong>Parameters:</strong>\r
557         <ul><li><code>el</code> : Mixed<div class="sub-desc">The id of the node, a DOM Node or an existing Element.</div></li>        </ul>\r
558         <strong>Returns:</strong>\r
559         <ul>\r
560             <li><code>Element</code><div class="sub-desc">The Element object</div></li>\r
561         </ul>\r
562     </div>\r
563                 </div>\r
564                         </div>\r
565         </td>\r
566         <td class="msource">Ext</td>\r
567     </tr>\r
568         <tr class="method-row alt expandable">\r
569         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
570         <td class="sig">\r
571         <a id="Ext-getBody"></a>\r
572             <b>getBody</b>() : Ext.Element            <div class="mdesc">\r
573                         <div class="short">Returns the current document body as an <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>\r
574             <div class="long">\r
575                 Returns the current document body as an <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.    <div class="mdetail-params">\r
576         <strong>Parameters:</strong>\r
577         <ul><li>None.</li>        </ul>\r
578         <strong>Returns:</strong>\r
579         <ul>\r
580             <li><code>Ext.Element</code><div class="sub-desc">The document body</div></li>\r
581         </ul>\r
582     </div>\r
583                 </div>\r
584                         </div>\r
585         </td>\r
586         <td class="msource">Ext</td>\r
587     </tr>\r
588         <tr class="method-row expandable">\r
589         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
590         <td class="sig">\r
591         <a id="Ext-getCmp"></a>\r
592             <b>getCmp</b>(&nbsp;<code>String id</code>&nbsp;) : Ext.Component            <div class="mdesc">\r
593                         <div class="short">Shorthand for <a ext:cls="Ext.ComponentMgr" ext:member="get" href="output/Ext.ComponentMgr.html#get">Ext.ComponentMgr.get</a></div>\r
594             <div class="long">\r
595                 Shorthand for <a ext:cls="Ext.ComponentMgr" ext:member="get" href="output/Ext.ComponentMgr.html#get">Ext.ComponentMgr.get</a>    <div class="mdetail-params">\r
596         <strong>Parameters:</strong>\r
597         <ul><li><code>id</code> : String<div class="sub-desc"></div></li>        </ul>\r
598         <strong>Returns:</strong>\r
599         <ul>\r
600             <li><code>Ext.Component</code></li>\r
601         </ul>\r
602     </div>\r
603                 </div>\r
604                         </div>\r
605         </td>\r
606         <td class="msource">Ext</td>\r
607     </tr>\r
608         <tr class="method-row alt expandable">\r
609         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
610         <td class="sig">\r
611         <a id="Ext-getDoc"></a>\r
612             <b>getDoc</b>() : Ext.Element            <div class="mdesc">\r
613                         <div class="short">Returns the current HTML document object as an <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>\r
614             <div class="long">\r
615                 Returns the current HTML document object as an <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.    <div class="mdetail-params">\r
616         <strong>Parameters:</strong>\r
617         <ul><li>None.</li>        </ul>\r
618         <strong>Returns:</strong>\r
619         <ul>\r
620             <li><code>Ext.Element</code><div class="sub-desc">The document</div></li>\r
621         </ul>\r
622     </div>\r
623                 </div>\r
624                         </div>\r
625         </td>\r
626         <td class="msource">Ext</td>\r
627     </tr>\r
628         <tr class="method-row expandable">\r
629         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
630         <td class="sig">\r
631         <a id="Ext-getDom"></a>\r
632             <b>getDom</b>(&nbsp;<code>Mixed el</code>&nbsp;) : HTMLElement            <div class="mdesc">\r
633                         <div class="short">Return the dom node for the passed string (id), dom node, or Ext.Element</div>\r
634             <div class="long">\r
635                 Return the dom node for the passed string (id), dom node, or Ext.Element    <div class="mdetail-params">\r
636         <strong>Parameters:</strong>\r
637         <ul><li><code>el</code> : Mixed<div class="sub-desc"></div></li>        </ul>\r
638         <strong>Returns:</strong>\r
639         <ul>\r
640             <li><code>HTMLElement</code></li>\r
641         </ul>\r
642     </div>\r
643                 </div>\r
644                         </div>\r
645         </td>\r
646         <td class="msource">Ext</td>\r
647     </tr>\r
648         <tr class="method-row alt expandable">\r
649         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
650         <td class="sig">\r
651         <a id="Ext-id"></a>\r
652             <b>id</b>(&nbsp;<span class="optional" title="Optional">[<code>Mixed el</code>]</span>, <span class="optional" title="Optional">[<code>String prefix</code>]</span>&nbsp;) : String            <div class="mdesc">\r
653                         <div class="short">Generates unique ids. If the element already has an id, it is unchanged</div>\r
654             <div class="long">\r
655                 Generates unique ids. If the element already has an id, it is unchanged    <div class="mdetail-params">\r
656         <strong>Parameters:</strong>\r
657         <ul><li><code>el</code> : Mixed<div class="sub-desc">(optional) The element to generate an id for</div></li><li><code>prefix</code> : String<div class="sub-desc">(optional) Id prefix (defaults "ext-gen")</div></li>        </ul>\r
658         <strong>Returns:</strong>\r
659         <ul>\r
660             <li><code>String</code><div class="sub-desc">The generated Id.</div></li>\r
661         </ul>\r
662     </div>\r
663                 </div>\r
664                         </div>\r
665         </td>\r
666         <td class="msource">Ext</td>\r
667     </tr>\r
668         <tr class="method-row expandable">\r
669         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
670         <td class="sig">\r
671         <a id="Ext-isArray"></a>\r
672             <b>isArray</b>(&nbsp;<code>Object The</code>&nbsp;) : Boolean            <div class="mdesc">\r
673                         <div class="short">Returns true if the passed object is a JavaScript array, otherwise false.</div>\r
674             <div class="long">\r
675                 Returns true if the passed object is a JavaScript array, otherwise false.    <div class="mdetail-params">\r
676         <strong>Parameters:</strong>\r
677         <ul><li><code>The</code> : Object<div class="sub-desc">object to test</div></li>        </ul>\r
678         <strong>Returns:</strong>\r
679         <ul>\r
680             <li><code>Boolean</code></li>\r
681         </ul>\r
682     </div>\r
683                 </div>\r
684                         </div>\r
685         </td>\r
686         <td class="msource">Ext</td>\r
687     </tr>\r
688         <tr class="method-row alt expandable">\r
689         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
690         <td class="sig">\r
691         <a id="Ext-isDate"></a>\r
692             <b>isDate</b>(&nbsp;<code>Object The</code>&nbsp;) : Boolean            <div class="mdesc">\r
693                         <div class="short">Returns true if the passed object is a JavaScript date object, otherwise false.</div>\r
694             <div class="long">\r
695                 Returns true if the passed object is a JavaScript date object, otherwise false.    <div class="mdetail-params">\r
696         <strong>Parameters:</strong>\r
697         <ul><li><code>The</code> : Object<div class="sub-desc">object to test</div></li>        </ul>\r
698         <strong>Returns:</strong>\r
699         <ul>\r
700             <li><code>Boolean</code></li>\r
701         </ul>\r
702     </div>\r
703                 </div>\r
704                         </div>\r
705         </td>\r
706         <td class="msource">Ext</td>\r
707     </tr>\r
708         <tr class="method-row expandable">\r
709         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
710         <td class="sig">\r
711         <a id="Ext-isEmpty"></a>\r
712             <b>isEmpty</b>(&nbsp;<code>Mixed value</code>, <span class="optional" title="Optional">[<code>Boolean allowBlank</code>]</span>&nbsp;) : Boolean            <div class="mdesc">\r
713                         <div class="short">Returns true if the passed value is null, undefined or an empty string.</div>\r
714             <div class="long">\r
715                 Returns true if the passed value is null, undefined or an empty string.    <div class="mdetail-params">\r
716         <strong>Parameters:</strong>\r
717         <ul><li><code>value</code> : Mixed<div class="sub-desc">The value to test</div></li><li><code>allowBlank</code> : Boolean<div class="sub-desc">(optional) true to allow empty strings (defaults to false)</div></li>        </ul>\r
718         <strong>Returns:</strong>\r
719         <ul>\r
720             <li><code>Boolean</code></li>\r
721         </ul>\r
722     </div>\r
723                 </div>\r
724                         </div>\r
725         </td>\r
726         <td class="msource">Ext</td>\r
727     </tr>\r
728         <tr class="method-row alt expandable">\r
729         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
730         <td class="sig">\r
731         <a id="Ext-namespace"></a>\r
732             <b>namespace</b>(&nbsp;<code>String namespace1</code>, <code>String namespace2</code>, <code>String etc</code>&nbsp;) : void            <div class="mdesc">\r
733                         <div class="short">Creates namespaces to be used for scoping variables and classes so that they are not global.  Usage:
734 Ext.namespace('C...</div>\r
735             <div class="long">\r
736                 Creates namespaces to be used for scoping variables and classes so that they are not global.  Usage:
737 <pre><code>Ext.namespace(<em>'Company'</em>, <em>'Company.data'</em>);
738 Company.Widget = <b>function</b>() { ... }
739 Company.data.CustomStore = <b>function</b>(config) { ... }</code></pre>    <div class="mdetail-params">\r
740         <strong>Parameters:</strong>\r
741         <ul><li><code>namespace1</code> : String<div class="sub-desc"></div></li><li><code>namespace2</code> : String<div class="sub-desc"></div></li><li><code>etc</code> : String<div class="sub-desc"></div></li>        </ul>\r
742         <strong>Returns:</strong>\r
743         <ul>\r
744             <li><code>void</code></li>\r
745         </ul>\r
746     </div>\r
747                 </div>\r
748                         </div>\r
749         </td>\r
750         <td class="msource">Ext</td>\r
751     </tr>\r
752         <tr class="method-row expandable">\r
753         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
754         <td class="sig">\r
755         <a id="Ext-num"></a>\r
756             <b>num</b>(&nbsp;<code>Mixed value</code>, <code>Number defaultValue</code>&nbsp;) : Number            <div class="mdesc">\r
757                         <div class="short">Utility method for validating that a value is numeric, returning the specified default value if it is not.</div>\r
758             <div class="long">\r
759                 Utility method for validating that a value is numeric, returning the specified default value if it is not.    <div class="mdetail-params">\r
760         <strong>Parameters:</strong>\r
761         <ul><li><code>value</code> : Mixed<div class="sub-desc">Should be a number, but any type will be handled appropriately</div></li><li><code>defaultValue</code> : Number<div class="sub-desc">The value to return if the original value is non-numeric</div></li>        </ul>\r
762         <strong>Returns:</strong>\r
763         <ul>\r
764             <li><code>Number</code><div class="sub-desc">Value, if numeric, else defaultValue</div></li>\r
765         </ul>\r
766     </div>\r
767                 </div>\r
768                         </div>\r
769         </td>\r
770         <td class="msource">Ext</td>\r
771     </tr>\r
772         <tr class="method-row alt expandable">\r
773         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
774         <td class="sig">\r
775         <a id="Ext-onReady"></a>\r
776             <b>onReady</b>(&nbsp;<code>Function fn</code>, <code>Object scope</code>, <span class="optional" title="Optional">[<code>boolean options</code>]</span>&nbsp;) : void            <div class="mdesc">\r
777                         <div class="short">Fires when the document is ready (before onload and before images are loaded).  Shorthand of Ext.EventManager.onDocum...</div>\r
778             <div class="long">\r
779                 Fires when the document is ready (before onload and before images are loaded).  Shorthand of <a ext:cls="Ext.EventManager" ext:member="onDocumentReady" href="output/Ext.EventManager.html#onDocumentReady">Ext.EventManager.onDocumentReady</a>.    <div class="mdetail-params">\r
780         <strong>Parameters:</strong>\r
781         <ul><li><code>fn</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">An object that becomes the scope of the handler</div></li><li><code>options</code> : boolean<div class="sub-desc">(optional) An object containing standard <a ext:cls="Ext" ext:member="addListener" href="output/Ext.html#addListener">addListener</a> options</div></li>        </ul>\r
782         <strong>Returns:</strong>\r
783         <ul>\r
784             <li><code>void</code></li>\r
785         </ul>\r
786     </div>\r
787                 </div>\r
788                         </div>\r
789         </td>\r
790         <td class="msource">Ext</td>\r
791     </tr>\r
792         <tr class="method-row expandable">\r
793         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
794         <td class="sig">\r
795         <a id="Ext-override"></a>\r
796             <b>override</b>(&nbsp;<code>Object origclass</code>, <code>Object overrides</code>&nbsp;) : void            <div class="mdesc">\r
797                         <div class="short">Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name.
798 ...</div>\r
799             <div class="long">\r
800                 Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name.
801 Usage:<pre><code>Ext.override(MyClass, {
802     newMethod1: <b>function</b>(){
803         <i>// etc.</i>
804     },
805     newMethod2: <b>function</b>(foo){
806         <i>// etc.</i>
807     }
808 });</code></pre>    <div class="mdetail-params">\r
809         <strong>Parameters:</strong>\r
810         <ul><li><code>origclass</code> : Object<div class="sub-desc">The class to override</div></li><li><code>overrides</code> : Object<div class="sub-desc">The list of functions to add to origClass. This should be specified as an object literal
811 containing one or more methods.</div></li>        </ul>\r
812         <strong>Returns:</strong>\r
813         <ul>\r
814             <li><code>void</code></li>\r
815         </ul>\r
816     </div>\r
817                 </div>\r
818                         </div>\r
819         </td>\r
820         <td class="msource">Ext</td>\r
821     </tr>\r
822         <tr class="method-row alt expandable">\r
823         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
824         <td class="sig">\r
825         <a id="Ext-query"></a>\r
826             <b>query</b>(&nbsp;<code>String path</code>, <span class="optional" title="Optional">[<code>Node root</code>]</span>&nbsp;) : Array            <div class="mdesc">\r
827                         <div class="short">Selects an array of DOM nodes by CSS/XPath selector. Shorthand of <a ext:cls="Ext.DomQuery" ext:member="select" href="output/Ext.DomQuery.html#select">Ext.DomQuery.select</a></div>\r
828             <div class="long">\r
829                 Selects an array of DOM nodes by CSS/XPath selector. Shorthand of <a ext:cls="Ext.DomQuery" ext:member="select" href="output/Ext.DomQuery.html#select">Ext.DomQuery.select</a>    <div class="mdetail-params">\r
830         <strong>Parameters:</strong>\r
831         <ul><li><code>path</code> : String<div class="sub-desc">The selector/xpath query</div></li><li><code>root</code> : Node<div class="sub-desc">(optional) The start of the query (defaults to document).</div></li>        </ul>\r
832         <strong>Returns:</strong>\r
833         <ul>\r
834             <li><code>Array</code></li>\r
835         </ul>\r
836     </div>\r
837                 </div>\r
838                         </div>\r
839         </td>\r
840         <td class="msource">Ext</td>\r
841     </tr>\r
842         <tr class="method-row expandable">\r
843         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
844         <td class="sig">\r
845         <a id="Ext-reg"></a>\r
846             <b>reg</b>(&nbsp;<code>String xtype</code>, <code>Constructor cls</code>&nbsp;) : void            <div class="mdesc">\r
847                         <div class="short">Shorthand for <a ext:cls="Ext.ComponentMgr" ext:member="registerType" href="output/Ext.ComponentMgr.html#registerType">Ext.ComponentMgr.registerType</a></div>\r
848             <div class="long">\r
849                 Shorthand for <a ext:cls="Ext.ComponentMgr" ext:member="registerType" href="output/Ext.ComponentMgr.html#registerType">Ext.ComponentMgr.registerType</a>    <div class="mdetail-params">\r
850         <strong>Parameters:</strong>\r
851         <ul><li><code>xtype</code> : String<div class="sub-desc">The mnemonic string by which the Component class
852 may be looked up.</div></li><li><code>cls</code> : Constructor<div class="sub-desc">The new Component class.</div></li>        </ul>\r
853         <strong>Returns:</strong>\r
854         <ul>\r
855             <li><code>void</code></li>\r
856         </ul>\r
857     </div>\r
858                 </div>\r
859                         </div>\r
860         </td>\r
861         <td class="msource">Ext</td>\r
862     </tr>\r
863         <tr class="method-row alt expandable">\r
864         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
865         <td class="sig">\r
866         <a id="Ext-removeNode"></a>\r
867             <b>removeNode</b>(&nbsp;<code>HTMLElement node</code>&nbsp;) : void            <div class="mdesc">\r
868                         <div class="short">Removes a DOM node from the document.  The body node will be ignored if passed in.</div>\r
869             <div class="long">\r
870                 Removes a DOM node from the document.  The body node will be ignored if passed in.    <div class="mdetail-params">\r
871         <strong>Parameters:</strong>\r
872         <ul><li><code>node</code> : HTMLElement<div class="sub-desc">The node to remove</div></li>        </ul>\r
873         <strong>Returns:</strong>\r
874         <ul>\r
875             <li><code>void</code></li>\r
876         </ul>\r
877     </div>\r
878                 </div>\r
879                         </div>\r
880         </td>\r
881         <td class="msource">Ext</td>\r
882     </tr>\r
883         <tr class="method-row expandable">\r
884         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
885         <td class="sig">\r
886         <a id="Ext-select"></a>\r
887             <b>select</b>(&nbsp;<code>String/Array selector</code>, <span class="optional" title="Optional">[<code>Boolean unique</code>]</span>, <span class="optional" title="Optional">[<code>HTMLElement/String root</code>]</span>&nbsp;) : CompositeElementLite/CompositeElement            <div class="mdesc">\r
888                         <div class="short">Selects elements based on the passed CSS selector to enable working on them as 1.</div>\r
889             <div class="long">\r
890                 Selects elements based on the passed CSS selector to enable working on them as 1.    <div class="mdetail-params">\r
891         <strong>Parameters:</strong>\r
892         <ul><li><code>selector</code> : String/Array<div class="sub-desc">The CSS selector or an array of elements</div></li><li><code>unique</code> : Boolean<div class="sub-desc">(optional) true to create a unique Ext.Element for each element (defaults to a shared flyweight object)</div></li><li><code>root</code> : HTMLElement/String<div class="sub-desc">(optional) The root element of the query or id of the root</div></li>        </ul>\r
893         <strong>Returns:</strong>\r
894         <ul>\r
895             <li><code>CompositeElementLite/CompositeElement</code></li>\r
896         </ul>\r
897     </div>\r
898                 </div>\r
899                         </div>\r
900         </td>\r
901         <td class="msource">Ext</td>\r
902     </tr>\r
903         <tr class="method-row alt expandable">\r
904         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
905         <td class="sig">\r
906         <a id="Ext-type"></a>\r
907             <b>type</b>(&nbsp;<code>Mixed object</code>&nbsp;) : String            <div class="mdesc">\r
908                         <div class="short">Returns the type of object that is passed in. If the object passed in is null or undefined it
909 return false otherwise ...</div>\r
910             <div class="long">\r
911                 Returns the type of object that is passed in. If the object passed in is null or undefined it
912 return false otherwise it returns one of the following values:<ul>
913 <li><b>string</b>: If the object passed is a string</li>
914 <li><b>number</b>: If the object passed is a number</li>
915 <li><b>boolean</b>: If the object passed is a boolean value</li>
916 <li><b>date</b>: If the object passed is a Date object</li>
917 <li><b>function</b>: If the object passed is a function reference</li>
918 <li><b>object</b>: If the object passed is an object</li>
919 <li><b>array</b>: If the object passed is an array</li>
920 <li><b>regexp</b>: If the object passed is a regular expression</li>
921 <li><b>element</b>: If the object passed is a DOM Element</li>
922 <li><b>nodelist</b>: If the object passed is a DOM NodeList</li>
923 <li><b>textnode</b>: If the object passed is a DOM text node and contains something other than whitespace</li>
924 <li><b>whitespace</b>: If the object passed is a DOM text node and contains only whitespace</li>    <div class="mdetail-params">\r
925         <strong>Parameters:</strong>\r
926         <ul><li><code>object</code> : Mixed<div class="sub-desc"></div></li>        </ul>\r
927         <strong>Returns:</strong>\r
928         <ul>\r
929             <li><code>String</code></li>\r
930         </ul>\r
931     </div>\r
932                 </div>\r
933                         </div>\r
934         </td>\r
935         <td class="msource">Ext</td>\r
936     </tr>\r
937         <tr class="method-row expandable">\r
938         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
939         <td class="sig">\r
940         <a id="Ext-urlDecode"></a>\r
941             <b>urlDecode</b>(&nbsp;<code>String string</code>, <span class="optional" title="Optional">[<code>Boolean overwrite</code>]</span>&nbsp;) : Object            <div class="mdesc">\r
942                         <div class="short">Takes an encoded URL and and converts it to an object. e.g. Ext.urlDecode("foo=1&bar=2"); would return {foo: "1", bar...</div>\r
943             <div class="long">\r
944                 Takes an encoded URL and and converts it to an object. e.g. Ext.urlDecode("foo=1&bar=2"); would return {foo: "1", bar: "2"}
945 or Ext.urlDecode("foo=1&bar=2&bar=3&bar=4", false); would return {foo: "1", bar: ["2", "3", "4"]}.    <div class="mdetail-params">\r
946         <strong>Parameters:</strong>\r
947         <ul><li><code>string</code> : String<div class="sub-desc"></div></li><li><code>overwrite</code> : Boolean<div class="sub-desc">(optional) Items of the same name will overwrite previous values instead of creating an an array (Defaults to false).</div></li>        </ul>\r
948         <strong>Returns:</strong>\r
949         <ul>\r
950             <li><code>Object</code><div class="sub-desc">A literal with members</div></li>\r
951         </ul>\r
952     </div>\r
953                 </div>\r
954                         </div>\r
955         </td>\r
956         <td class="msource">Ext</td>\r
957     </tr>\r
958         <tr class="method-row alt expandable">\r
959         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
960         <td class="sig">\r
961         <a id="Ext-urlEncode"></a>\r
962             <b>urlEncode</b>(&nbsp;<code>Object o</code>&nbsp;) : String            <div class="mdesc">\r
963                         <div class="short">Takes an object and converts it to an encoded URL. e.g. Ext.urlEncode({foo: 1, bar: 2}); would return "foo=1&bar=2". ...</div>\r
964             <div class="long">\r
965                 Takes an object and converts it to an encoded URL. e.g. Ext.urlEncode({foo: 1, bar: 2}); would return "foo=1&bar=2".  Optionally, property values can be arrays, instead of keys and the resulting string that's returned will contain a name/value pair for each array value.    <div class="mdetail-params">\r
966         <strong>Parameters:</strong>\r
967         <ul><li><code>o</code> : Object<div class="sub-desc"></div></li>        </ul>\r
968         <strong>Returns:</strong>\r
969         <ul>\r
970             <li><code>String</code></li>\r
971         </ul>\r
972     </div>\r
973                 </div>\r
974                         </div>\r
975         </td>\r
976         <td class="msource">Ext</td>\r
977     </tr>\r
978         <tr class="method-row expandable">\r
979         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
980         <td class="sig">\r
981         <a id="Ext-value"></a>\r
982             <b>value</b>(&nbsp;<code>Mixed value</code>, <code>Mixed defaultValue</code>, <span class="optional" title="Optional">[<code>Boolean allowBlank</code>]</span>&nbsp;) : Mixed            <div class="mdesc">\r
983                         <div class="short">Utility method for validating that a value is non-empty (i.e. i) not null, ii) not undefined, and iii) not an empty s...</div>\r
984             <div class="long">\r
985                 Utility method for validating that a value is non-empty (i.e. i) not null, ii) not undefined, and iii) not an empty string), 
986 returning the specified default value if it is.    <div class="mdetail-params">\r
987         <strong>Parameters:</strong>\r
988         <ul><li><code>value</code> : Mixed<div class="sub-desc">The value to test</div></li><li><code>defaultValue</code> : Mixed<div class="sub-desc">The value to return if the original value is empty</div></li><li><code>allowBlank</code> : Boolean<div class="sub-desc">(optional) true to allow empty strings (defaults to false)</div></li>        </ul>\r
989         <strong>Returns:</strong>\r
990         <ul>\r
991             <li><code>Mixed</code><div class="sub-desc">value, if non-empty, else defaultValue</div></li>\r
992         </ul>\r
993     </div>\r
994                 </div>\r
995                         </div>\r
996         </td>\r
997         <td class="msource">Ext</td>\r
998     </tr>\r
999             </table>
1000                 <a id="Ext-events"></a>
1001         <h2>Public Events</h2>
1002         <div class="no-members">This class has no public events.</div>
1003         </div>