1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <!-- ============================== class title / details ============================ -->
48 <h1 class="classTitle">
53 <table cellspacing="0" class="class-summary-table">
55 <tr><td class="label">Defined In:</td><td class="hd-info">
57 <a href="./src/Roo.js.html">Roo.js</a>.
60 <tr><td class="label">Class:</td><td class="hd-info">Roo</td></tr>
68 <!-- ============================== class summary ========================== -->
69 <div class="description">
70 Roo core utilities and functions.
74 <!-- ============================== Class comment block... ========================== -->
76 <div class="comments">
77 <b>Class Comments / Notes</B> =>
78 <u onclick="parent.CommentDialog.showCommentId = 'Roo';">[Add Your comment/notes about this class]</u>
80 <iframe frameborder="0" id="comments-" style="border: none;width:100%;"
81 src="/blog.php/GtkDjsComments/Roo.html"></iframe>
86 <!-- ============================== config options ========================== -->
91 <div class="hr"></div>
92 <a id="Roo-configs"></a>
96 <table cellspacing="0" class="member-table">
97 <caption class="Empty">Config Options - Has None</caption>
111 <!-- ============================== public properties ==================== -->
115 <a id="Roo-props"></a>
123 <table cellspacing="0" class="member-table">
124 <caption>Public Properties </caption>
126 <th class="sig-header" colspan="2">Property</th>
127 <th class="sig-header">Description</th>
128 <th class="msource-header">Defined By</th>
138 <tr class="property-row config-row-alt0 notInherited">
140 <a class="exi" href="#expand"> </a>
143 <a id="Roo-prop-BLANK_IMAGE_URL" name=".BLANK_IMAGE_URL"></a>
144 <div class="fixedFont">
145 <span class="attributes">Roo.</span><b class="itemname">BLANK_IMAGE_URL</b> :
146 <span type="etype"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>
154 URL to a 1x1 transparent gif image used by Roo to create inline icons with CSS background images.
162 URL to a 1x1 transparent gif image used by Roo to create inline icons with CSS background images. (Defaults to<br/>"http://Roojs.com/s.gif" and you should change this to a URL on your server).
177 <tr class="property-row config-row-alt1 notInherited">
179 <a class="exi" href="#expand"> </a>
182 <a id="Roo-prop-MessageBox" name=".MessageBox"></a>
183 <div class="fixedFont">
184 <span class="attributes">Roo.</span><b class="itemname">MessageBox</b> :
185 <span type="etype"></span>
193 Shorthand for {<b>link</b> Roo.MessageBox}
201 Shorthand for {<b>link</b> Roo.MessageBox}
216 <tr class="property-row config-row-alt0 notInherited">
218 <a class="exi" href="#expand"> </a>
221 <a id="Roo-prop-Msg" name=".Msg"></a>
222 <div class="fixedFont">
223 <span class="attributes">Roo.</span><b class="itemname">Msg</b> :
224 <span type="etype"></span>
232 Shorthand for {<b>link</b> Roo.MessageBox}
240 Shorthand for {<b>link</b> Roo.MessageBox}
255 <tr class="property-row config-row-alt1 notInherited">
257 <a class="exi" href="#expand"> </a>
260 <a id="Roo-prop-SSL_SECURE_URL" name=".SSL_SECURE_URL"></a>
261 <div class="fixedFont">
262 <span class="attributes">Roo.</span><b class="itemname">SSL_SECURE_URL</b> :
263 <span type="etype"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>
271 URL to a blank file used by Roo when in secure mode for iframe src and onReady src to prevent<br/>the IE insecure content warning (defaults to javascript:false).
279 URL to a blank file used by Roo when in secure mode for iframe src and onReady src to prevent<br/>the IE insecure content warning (defaults to javascript:false).
294 <tr class="property-row config-row-alt0 notInherited">
296 <a class="exi" href="#expand"> </a>
299 <a id="Roo-prop-debug" name=".debug"></a>
300 <div class="fixedFont">
301 <span class="attributes">Roo.</span><b class="itemname">debug</b> :
302 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
310 Turn on debugging output (currently only the factory uses this)
318 Turn on debugging output (currently only the factory uses this)
333 <tr class="property-row config-row-alt1 notInherited">
335 <a class="exi" href="#expand"> </a>
338 <a id="Roo-prop-enableGarbageCollector" name=".enableGarbageCollector"></a>
339 <div class="fixedFont">
340 <span class="attributes">Roo.</span><b class="itemname">enableGarbageCollector</b> :
341 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
349 True to automatically uncache orphaned Roo.Elements periodically (defaults to true)
357 True to automatically uncache orphaned Roo.Elements periodically (defaults to true)
372 <tr class="property-row config-row-alt0 notInherited">
374 <a class="exi" href="#expand"> </a>
377 <a id="Roo-prop-enableListenerCollection" name=".enableListenerCollection"></a>
378 <div class="fixedFont">
379 <span class="attributes">Roo.</span><b class="itemname">enableListenerCollection</b> :
380 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
388 True to automatically purge event listeners after uncaching an element (defaults to false).
396 True to automatically purge event listeners after uncaching an element (defaults to false).<br/>Note: this only happens if enableGarbageCollector is true.
411 <tr class="property-row config-row-alt1 notInherited">
413 <a class="exi" href="#expand"> </a>
416 <a id="Roo-prop-isBorderBox" name=".isBorderBox"></a>
417 <div class="fixedFont">
418 <span class="attributes">Roo.</span><b class="itemname">isBorderBox</b> :
419 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
450 <tr class="property-row config-row-alt0 notInherited">
452 <a class="exi" href="#expand"> </a>
455 <a id="Roo-prop-isGecko" name=".isGecko"></a>
456 <div class="fixedFont">
457 <span class="attributes">Roo.</span><b class="itemname">isGecko</b> :
458 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
489 <tr class="property-row config-row-alt1 notInherited">
491 <a class="exi" href="#expand"> </a>
494 <a id="Roo-prop-isIE" name=".isIE"></a>
495 <div class="fixedFont">
496 <span class="attributes">Roo.</span><b class="itemname">isIE</b> :
497 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
528 <tr class="property-row config-row-alt0 notInherited">
530 <a class="exi" href="#expand"> </a>
533 <a id="Roo-prop-isIE7" name=".isIE7"></a>
534 <div class="fixedFont">
535 <span class="attributes">Roo.</span><b class="itemname">isIE7</b> :
536 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
567 <tr class="property-row config-row-alt1 notInherited">
569 <a class="exi" href="#expand"> </a>
572 <a id="Roo-prop-isLinux" name=".isLinux"></a>
573 <div class="fixedFont">
574 <span class="attributes">Roo.</span><b class="itemname">isLinux</b> :
575 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
606 <tr class="property-row config-row-alt0 notInherited">
608 <a class="exi" href="#expand"> </a>
611 <a id="Roo-prop-isMac" name=".isMac"></a>
612 <div class="fixedFont">
613 <span class="attributes">Roo.</span><b class="itemname">isMac</b> :
614 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
645 <tr class="property-row config-row-alt1 notInherited">
647 <a class="exi" href="#expand"> </a>
650 <a id="Roo-prop-isOpera" name=".isOpera"></a>
651 <div class="fixedFont">
652 <span class="attributes">Roo.</span><b class="itemname">isOpera</b> :
653 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
684 <tr class="property-row config-row-alt0 notInherited">
686 <a class="exi" href="#expand"> </a>
689 <a id="Roo-prop-isReady" name=".isReady"></a>
690 <div class="fixedFont">
691 <span class="attributes">Roo.</span><b class="itemname">isReady</b> :
692 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
700 True when the document is fully initialized and ready for action
708 True when the document is fully initialized and ready for action
723 <tr class="property-row config-row-alt1 notInherited">
725 <a class="exi" href="#expand"> </a>
728 <a id="Roo-prop-isSafari" name=".isSafari"></a>
729 <div class="fixedFont">
730 <span class="attributes">Roo.</span><b class="itemname">isSafari</b> :
731 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
762 <tr class="property-row config-row-alt0 notInherited">
764 <a class="exi" href="#expand"> </a>
767 <a id="Roo-prop-isSecure" name=".isSecure"></a>
768 <div class="fixedFont">
769 <span class="attributes">Roo.</span><b class="itemname">isSecure</b> :
770 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
778 True if the page is running over SSL
786 True if the page is running over SSL
801 <tr class="property-row config-row-alt1 notInherited">
803 <a class="exi" href="#expand"> </a>
806 <a id="Roo-prop-isStrict" name=".isStrict"></a>
807 <div class="fixedFont">
808 <span class="attributes">Roo.</span><b class="itemname">isStrict</b> :
809 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
817 True if the browser is in strict mode
825 True if the browser is in strict mode
840 <tr class="property-row config-row-alt0 notInherited">
842 <a class="exi" href="#expand"> </a>
845 <a id="Roo-prop-isTouch" name=".isTouch"></a>
846 <div class="fixedFont">
847 <span class="attributes">Roo.</span><b class="itemname">isTouch</b> :
848 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
879 <tr class="property-row config-row-alt1 notInherited">
881 <a class="exi" href="#expand"> </a>
884 <a id="Roo-prop-isWindows" name=".isWindows"></a>
885 <div class="fixedFont">
886 <span class="attributes">Roo.</span><b class="itemname">isWindows</b> :
887 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
918 <tr class="property-row config-row-alt0 notInherited">
920 <a class="exi" href="#expand"> </a>
923 <a id="Roo-prop-useShims" name=".useShims"></a>
924 <div class="fixedFont">
925 <span class="attributes">Roo.</span><b class="itemname">useShims</b> :
926 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
934 By default, Ext intelligently decides whether floating elements should be shimmed.
942 By default, Ext intelligently decides whether floating elements should be shimmed. If you are using flash,<br/>you may want to set this to true.
958 <!-- TODO: implement this alt row. also notice non-linked "Defined by" when property is a part of this class.
959 <tr class="property-row alt">
966 <!-- ============================== methods summary / details ======================== -->
969 <a id="Roo-methods"></a>
970 <!-- constructor?? -->
977 <!-- then dynamics first -->
984 <table cellspacing="0" class="member-table">
985 <caption>Public Methods</caption>
987 <th class="sig-header" colspan="2">Method</th>
988 <th class="msource-header">Defined By</th>
998 <tr class="method-row config-row-alt0 expandable notInherited">
999 <td class="micon"><a class="exi" href="#expand"> </a></td>
1003 <a id="Roo-method-addBehaviors" name=".addBehaviors"></a>
1004 <div class="fixedFont">
1005 <span class="attributes">Roo.</span><b class="itemname">addBehaviors</b>
1007 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>obj</i></B>)
1014 <div class="short">Applies event listeners to elements by selectors when the document is ready.</div>
1020 Applies event listeners to elements by selectors when the document is ready.<br/>The event name is specified with an @ suffix.<br/><pre><code><br/>Roo.addBehaviors({<br/> // add a listener for click on all anchors in element with id foo<br/> '<b>foo</b> a<b>click</b>' : function(e, t){<br/> // do something<br/> },<br/><br/> // add the same listener to multiple selectors (separated by comma BEFORE the @)<br/> '<b>foo</b> a, <b>bar</b> span.some-class<b>mouseover</b>' : function(){<br/> // do something<br/> }<br/>});<br/></code></pre>
1027 <dl class="detailList">
1028 <dt class="heading">Parameters:</dt>
1031 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>obj</b>
1034 <dd>The list of behaviors to apply</dd>
1052 <td class="msource">
1060 <tr class="method-row config-row-alt1 expandable notInherited">
1061 <td class="micon"><a class="exi" href="#expand"> </a></td>
1065 <a id="Roo-method-apply" name=".apply"></a>
1066 <div class="fixedFont">
1067 <span class="attributes">Roo.</span><b class="itemname">apply</b>
1069 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>obj</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>defaults</i></B>)
1075 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1084 <div class="short">Copies all the properties of config to obj.</div>
1090 Copies all the properties of config to obj.
1097 <dl class="detailList">
1098 <dt class="heading">Parameters:</dt>
1101 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>obj</b>
1104 <dd>The receiver of the properties</dd>
1107 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
1110 <dd>The source of the properties</dd>
1113 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>defaults</b>
1116 <dd>A different object that will also be applied for default values</dd>
1124 <dl class="detailList">
1125 <dt class="heading">Returns:</dt>
1127 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> returns obj</dd>
1141 <td class="msource">
1149 <tr class="method-row config-row-alt0 expandable notInherited">
1150 <td class="micon"><a class="exi" href="#expand"> </a></td>
1154 <a id="Roo-method-applyIf" name=".applyIf"></a>
1155 <div class="fixedFont">
1156 <span class="attributes">Roo.</span><b class="itemname">applyIf</b>
1158 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>obj</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1164 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1173 <div class="short">Copies all the properties of config to obj if they don't already exist.</div>
1179 Copies all the properties of config to obj if they don't already exist.
1186 <dl class="detailList">
1187 <dt class="heading">Parameters:</dt>
1190 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>obj</b>
1193 <dd>The receiver of the properties</dd>
1196 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
1199 <dd>The source of the properties</dd>
1207 <dl class="detailList">
1208 <dt class="heading">Returns:</dt>
1210 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> returns obj</dd>
1224 <td class="msource">
1232 <tr class="method-row config-row-alt1 expandable notInherited">
1233 <td class="micon"><a class="exi" href="#expand"> </a></td>
1237 <a id="Roo-method-decode" name=".decode"></a>
1238 <div class="fixedFont">
1239 <span class="attributes">Roo.</span><b class="itemname">decode</b>
1248 <div class="short">Shorthand for {<b>link</b> Roo.util.JSON<b>decode</b>}</div>
1254 Shorthand for {<b>link</b> Roo.util.JSON<b>decode</b>}
1275 <td class="msource">
1283 <tr class="method-row config-row-alt0 expandable notInherited">
1284 <td class="micon"><a class="exi" href="#expand"> </a></td>
1288 <a id="Roo-method-each" name=".each"></a>
1289 <div class="fixedFont">
1290 <span class="attributes">Roo.</span><b class="itemname">each</b>
1292 (<a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/NodeList/Mixed <B><i>array</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>fn</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
1299 <div class="short">Iterates an array calling the passed function with each item, stopping if your function returns false.</div>
1305 Iterates an array calling the passed function with each item, stopping if your function returns false. If the<br/>passed array is not really an array, your function is called once with it.<br/>The supplied function is called with (Object item, Number index, Array allItems).
1312 <dl class="detailList">
1313 <dt class="heading">Parameters:</dt>
1316 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/NodeList/Mixed</span> <b>array</b>
1322 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1328 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
1349 <td class="msource">
1357 <tr class="method-row config-row-alt1 expandable notInherited">
1358 <td class="micon"><a class="exi" href="#expand"> </a></td>
1362 <a id="Roo-method-encode" name=".encode"></a>
1363 <div class="fixedFont">
1364 <span class="attributes">Roo.</span><b class="itemname">encode</b>
1373 <div class="short">Shorthand for {<b>link</b> Roo.util.JSON<b>encode</b>}</div>
1379 Shorthand for {<b>link</b> Roo.util.JSON<b>encode</b>}
1400 <td class="msource">
1408 <tr class="method-row config-row-alt0 expandable notInherited">
1409 <td class="micon"><a class="exi" href="#expand"> </a></td>
1413 <a id="Roo-method-encodeURIComponent" name=".encodeURIComponent"></a>
1414 <div class="fixedFont">
1415 <span class="attributes">Roo.</span><b class="itemname">encodeURIComponent</b>
1417 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>data</i></B>)
1423 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1432 <div class="short">Safe version of encodeURIComponent</div>
1438 Safe version of encodeURIComponent
1445 <dl class="detailList">
1446 <dt class="heading">Parameters:</dt>
1449 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>data</b>
1460 <dl class="detailList">
1461 <dt class="heading">Returns:</dt>
1463 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
1477 <td class="msource">
1485 <tr class="method-row config-row-alt1 expandable notInherited">
1486 <td class="micon"><a class="exi" href="#expand"> </a></td>
1490 <a id="Roo-method-escapeRe" name=".escapeRe"></a>
1491 <div class="fixedFont">
1492 <span class="attributes">Roo.</span><b class="itemname">escapeRe</b>
1494 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>str</i></B>)
1500 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1509 <div class="short">Escapes the passed string for use in a regular expression</div>
1515 Escapes the passed string for use in a regular expression
1522 <dl class="detailList">
1523 <dt class="heading">Parameters:</dt>
1526 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>str</b>
1537 <dl class="detailList">
1538 <dt class="heading">Returns:</dt>
1540 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
1554 <td class="msource">
1562 <tr class="method-row config-row-alt0 expandable notInherited">
1563 <td class="micon"><a class="exi" href="#expand"> </a></td>
1567 <a id="Roo-method-extend" name=".extend"></a>
1568 <div class="fixedFont">
1569 <span class="attributes">Roo.</span><b class="itemname">extend</b>
1571 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>subclass</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>superclass</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>overrides</i></B>)
1578 <div class="short">Extends one class with another class and optionally overrides members with the passed literal.</div>
1584 Extends one class with another class and optionally overrides members with the passed literal. This class<br/>also adds the function "override()" to the class that can be used to override<br/>members on an instance.
1591 <dl class="detailList">
1592 <dt class="heading">Parameters:</dt>
1595 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>subclass</b>
1598 <dd>The class inheriting the functionality</dd>
1601 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>superclass</b>
1604 <dd>The class being extended</dd>
1607 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>overrides</b>
1610 <dd>(optional) A literal with members</dd>
1628 <td class="msource">
1636 <tr class="method-row config-row-alt1 expandable notInherited">
1637 <td class="micon"><a class="exi" href="#expand"> </a></td>
1641 <a id="Roo-method-factory" name=".factory"></a>
1642 <div class="fixedFont">
1643 <span class="attributes">Roo.</span><b class="itemname">factory</b>
1645 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>classname</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>namespace</i></B>)
1652 <div class="short">Creates namespaces to be used for scoping variables and classes so that they are not global.</div>
1658 Creates namespaces to be used for scoping variables and classes so that they are not global. Usage:<br/><pre><code><br/>Roo.factory({ xns: Roo.data, xtype : 'Store', .....});<br/>Roo.factory(conf, Roo.data);<br/></code></pre>
1665 <dl class="detailList">
1666 <dt class="heading">Parameters:</dt>
1669 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>classname</b>
1675 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>namespace</b>
1696 <td class="msource">
1704 <tr class="method-row config-row-alt0 expandable notInherited">
1705 <td class="micon"><a class="exi" href="#expand"> </a></td>
1709 <a id="Roo-method-fly" name=".fly"></a>
1710 <div class="fixedFont">
1711 <span class="attributes">Roo.</span><b class="itemname">fly</b>
1713 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement <B><i>el</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>named</i></B>)
1728 <div class="short">Gets the globally shared flyweight Element, with the passed node as the active element.</div>
1734 Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element -<br/>the dom node can be overwritten by other code.<br/>Shorthand of {<b>link</b> Roo.Element<b>fly</b>}
1741 <dl class="detailList">
1742 <dt class="heading">Parameters:</dt>
1745 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement</span> <b>el</b>
1748 <dd>The dom node or id</dd>
1751 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>named</b>
1754 <dd>(optional) Allows for creation of named reusable flyweights to<br/> prevent conflicts (e.g. internally Roo uses "_internal")</dd>
1762 <dl class="detailList">
1763 <dt class="heading">Returns:</dt>
1765 <dd><span class="fixedFont">Element</span> The shared Element object</dd>
1779 <td class="msource">
1787 <tr class="method-row config-row-alt1 expandable notInherited">
1788 <td class="micon"><a class="exi" href="#expand"> </a></td>
1792 <a id="Roo-method-get" name=".get"></a>
1793 <div class="fixedFont">
1794 <span class="attributes">Roo.</span><b class="itemname">get</b>
1796 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
1811 <div class="short">Static method to retrieve Element objects.</div>
1817 Static method to retrieve Element objects. Uses simple caching to consistently return the same object.<br/>Automatically fixes if an object was recreated with the same id via AJAX or DOM.<br/>Shorthand of {<b>link</b> Roo.Element<b>get</b>}
1824 <dl class="detailList">
1825 <dt class="heading">Parameters:</dt>
1828 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
1831 <dd>The id of the node, a DOM Node or an existing Element.</dd>
1839 <dl class="detailList">
1840 <dt class="heading">Returns:</dt>
1842 <dd><span class="fixedFont">Element</span> The Element object</dd>
1856 <td class="msource">
1864 <tr class="method-row config-row-alt0 expandable notInherited">
1865 <td class="micon"><a class="exi" href="#expand"> </a></td>
1869 <a id="Roo-method-getCmp" name=".getCmp"></a>
1870 <div class="fixedFont">
1871 <span class="attributes">Roo.</span><b class="itemname">getCmp</b>
1873 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>id</i></B>)
1888 <div class="short">Shorthand for {<b>link</b> Roo.ComponentMgr<b>get</b>}</div>
1894 Shorthand for {<b>link</b> Roo.ComponentMgr<b>get</b>}
1901 <dl class="detailList">
1902 <dt class="heading">Parameters:</dt>
1905 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>id</b>
1916 <dl class="detailList">
1917 <dt class="heading">Returns:</dt>
1919 <dd> Roo.Component</dd>
1933 <td class="msource">
1941 <tr class="method-row config-row-alt1 expandable notInherited">
1942 <td class="micon"><a class="exi" href="#expand"> </a></td>
1946 <a id="Roo-method-getDom" name=".getDom"></a>
1947 <div class="fixedFont">
1948 <span class="attributes">Roo.</span><b class="itemname">getDom</b>
1950 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>el</i></B>)
1965 <div class="short">Return the dom node for the passed string (id), dom node, or Roo.Element</div>
1971 Return the dom node for the passed string (id), dom node, or Roo.Element
1978 <dl class="detailList">
1979 <dt class="heading">Parameters:</dt>
1982 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>el</b>
1993 <dl class="detailList">
1994 <dt class="heading">Returns:</dt>
1996 <dd> HTMLElement</dd>
2010 <td class="msource">
2018 <tr class="method-row config-row-alt0 expandable notInherited">
2019 <td class="micon"><a class="exi" href="#expand"> </a></td>
2023 <a id="Roo-method-id" name=".id"></a>
2024 <div class="fixedFont">
2025 <span class="attributes">Roo.</span><b class="itemname">id</b>
2027 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>prefix</i></B>)
2033 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2042 <div class="short">Generates unique ids.</div>
2048 Generates unique ids. If the element already has an id, it is unchanged
2055 <dl class="detailList">
2056 <dt class="heading">Parameters:</dt>
2059 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
2062 <dd>(optional) The element to generate an id for</dd>
2065 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>prefix</b>
2068 <dd>(optional) Id prefix (defaults "Roo-gen")</dd>
2076 <dl class="detailList">
2077 <dt class="heading">Returns:</dt>
2079 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> The generated Id.</dd>
2093 <td class="msource">
2101 <tr class="method-row config-row-alt1 expandable notInherited">
2102 <td class="micon"><a class="exi" href="#expand"> </a></td>
2106 <a id="Roo-method-isEmpty" name=".isEmpty"></a>
2107 <div class="fixedFont">
2108 <span class="attributes">Roo.</span><b class="itemname">isEmpty</b>
2110 (Mixed <B><i>value</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>allowBlank</i></B>)
2116 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2125 <div class="short">Returns true if the passed value is null, undefined or an empty string (optional).</div>
2131 Returns true if the passed value is null, undefined or an empty string (optional).
2138 <dl class="detailList">
2139 <dt class="heading">Parameters:</dt>
2142 <span class="fixedFont">Mixed</span> <b>value</b>
2145 <dd>The value to test</dd>
2148 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>allowBlank</b>
2151 <dd>(optional) Pass true if an empty string is not considered empty</dd>
2159 <dl class="detailList">
2160 <dt class="heading">Returns:</dt>
2162 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2176 <td class="msource">
2184 <tr class="method-row config-row-alt0 expandable notInherited">
2185 <td class="micon"><a class="exi" href="#expand"> </a></td>
2189 <a id="Roo-method-log" name=".log"></a>
2190 <div class="fixedFont">
2191 <span class="attributes">Roo.</span><b class="itemname">log</b>
2193 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>string</i></B>)
2200 <div class="short">Logs to console if it can.</div>
2206 Logs to console if it can.
2213 <dl class="detailList">
2214 <dt class="heading">Parameters:</dt>
2217 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>string</b>
2238 <td class="msource">
2246 <tr class="method-row config-row-alt1 expandable notInherited">
2247 <td class="micon"><a class="exi" href="#expand"> </a></td>
2251 <a id="Roo-method-namespace" name=".namespace"></a>
2252 <div class="fixedFont">
2253 <span class="attributes">Roo.</span><b class="itemname">namespace</b>
2255 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>namespace1</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>namespace2</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>etc</i></B>)
2262 <div class="short">Creates namespaces to be used for scoping variables and classes so that they are not global.</div>
2268 Creates namespaces to be used for scoping variables and classes so that they are not global. Usage:<br/><pre><code><br/>Roo.namespace('Company', 'Company.data');<br/>Company.Widget = function() { ... }<br/>Company.data.CustomStore = function(config) { ... }<br/></code></pre>
2275 <dl class="detailList">
2276 <dt class="heading">Parameters:</dt>
2279 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>namespace1</b>
2285 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>namespace2</b>
2291 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>etc</b>
2312 <td class="msource">
2320 <tr class="method-row config-row-alt0 expandable notInherited">
2321 <td class="micon"><a class="exi" href="#expand"> </a></td>
2325 <a id="Roo-method-onReady" name=".onReady"></a>
2326 <div class="fixedFont">
2327 <span class="attributes">Roo.</span><b class="itemname">onReady</b>
2329 (<a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>fn</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, boolean <B><i>override</i></B>)
2336 <div class="short">Fires when the document is ready (before onload and before images are loaded).</div>
2342 Fires when the document is ready (before onload and before images are loaded). Shorthand of {<b>link</b> Roo.EventManager<b>onDocumentReady</b>}.
2349 <dl class="detailList">
2350 <dt class="heading">Parameters:</dt>
2353 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
2356 <dd>The method the event invokes</dd>
2359 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
2362 <dd>An object that becomes the scope of the handler</dd>
2365 <span class="fixedFont">boolean</span> <b>override</b>
2368 <dd>If true, the obj passed in becomes<br/> the execution scope of the listener</dd>
2386 <td class="msource">
2394 <tr class="method-row config-row-alt1 expandable notInherited">
2395 <td class="micon"><a class="exi" href="#expand"> </a></td>
2399 <a id="Roo-method-override" name=".override"></a>
2400 <div class="fixedFont">
2401 <span class="attributes">Roo.</span><b class="itemname">override</b>
2403 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>origclass</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>overrides</i></B>)
2410 <div class="short">Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name.</div>
2416 Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name.<br/>Usage:<pre><code><br/>Roo.override(MyClass, {<br/> newMethod1: function(){<br/> // etc.<br/> },<br/> newMethod2: function(foo){<br/> // etc.<br/> }<br/>});<br/> </code></pre>
2423 <dl class="detailList">
2424 <dt class="heading">Parameters:</dt>
2427 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>origclass</b>
2430 <dd>The class to override</dd>
2433 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>overrides</b>
2436 <dd>The list of functions to add to origClass. This should be specified as an object literal<br/>containing one or more methods.</dd>
2454 <td class="msource">
2462 <tr class="method-row config-row-alt0 expandable notInherited">
2463 <td class="micon"><a class="exi" href="#expand"> </a></td>
2467 <a id="Roo-method-query" name=".query"></a>
2468 <div class="fixedFont">
2469 <span class="attributes">Roo.</span><b class="itemname">query</b>
2471 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>path</i></B>, Node <B><i>root</i></B>)
2477 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
2486 <div class="short">Selects an array of DOM nodes by CSS/XPath selector.</div>
2492 Selects an array of DOM nodes by CSS/XPath selector. Shorthand of {<b>link</b> Roo.DomQuery<b>select</b>}
2499 <dl class="detailList">
2500 <dt class="heading">Parameters:</dt>
2503 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>path</b>
2506 <dd>The selector/xpath query</dd>
2509 <span class="fixedFont">Node</span> <b>root</b>
2512 <dd>(optional) The start of the query (defaults to document).</dd>
2520 <dl class="detailList">
2521 <dt class="heading">Returns:</dt>
2523 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> </dd>
2537 <td class="msource">
2545 <tr class="method-row config-row-alt1 expandable notInherited">
2546 <td class="micon"><a class="exi" href="#expand"> </a></td>
2550 <a id="Roo-method-select" name=".select"></a>
2551 <div class="fixedFont">
2552 <span class="attributes">Roo.</span><b class="itemname">select</b>
2554 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array <B><i>selector</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>unique</i></B>, <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/String <B><i>root</i></B>)
2560 CompositeElementLite/CompositeElement
2569 <div class="short">Selects elements based on the passed CSS selector to enable working on them as 1.</div>
2575 Selects elements based on the passed CSS selector to enable working on them as 1.
2582 <dl class="detailList">
2583 <dt class="heading">Parameters:</dt>
2586 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array</span> <b>selector</b>
2589 <dd>The CSS selector or an array of elements</dd>
2592 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>unique</b>
2595 <dd>(optional) true to create a unique Roo.Element for each element (defaults to a shared flyweight object)</dd>
2598 <span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/String</span> <b>root</b>
2601 <dd>(optional) The root element of the query or id of the root</dd>
2609 <dl class="detailList">
2610 <dt class="heading">Returns:</dt>
2612 <dd><span class="fixedFont">CompositeElementLite/CompositeElement</span> </dd>
2626 <td class="msource">
2634 <tr class="method-row config-row-alt0 expandable notInherited">
2635 <td class="micon"><a class="exi" href="#expand"> </a></td>
2639 <a id="Roo-method-selectNode" name=".selectNode"></a>
2640 <div class="fixedFont">
2641 <span class="attributes">Roo.</span><b class="itemname">selectNode</b>
2643 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>selector</i></B>, Node <B><i>root</i></B>)
2649 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2658 <div class="short">Selects a single element as a Roo Element<br/>This is about as close as you can get to jQuery's $('do crazy stuff')</div>
2664 Selects a single element as a Roo Element<br/>This is about as close as you can get to jQuery's $('do crazy stuff')
2671 <dl class="detailList">
2672 <dt class="heading">Parameters:</dt>
2675 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>selector</b>
2678 <dd>The selector/xpath query</dd>
2681 <span class="fixedFont">Node</span> <b>root</b>
2684 <dd>(optional) The start of the query (defaults to document).</dd>
2692 <dl class="detailList">
2693 <dt class="heading">Returns:</dt>
2695 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> </dd>
2709 <td class="msource">
2717 <tr class="method-row config-row-alt1 expandable notInherited">
2718 <td class="micon"><a class="exi" href="#expand"> </a></td>
2722 <a id="Roo-method-type" name=".type"></a>
2723 <div class="fixedFont">
2724 <span class="attributes">Roo.</span><b class="itemname">type</b>
2726 (Mixed <B><i>object</i></B>)
2732 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2741 <div class="short">Returns the type of object that is passed in.</div>
2747 Returns the type of object that is passed in. If the object passed in is null or undefined it<br/>return false otherwise it returns one of the following values:<ul><br/><li><b>string</b>: If the object passed is a string</li><br/><li><b>number</b>: If the object passed is a number</li><br/><li><b>boolean</b>: If the object passed is a boolean value</li><br/><li><b>function</b>: If the object passed is a function reference</li><br/><li><b>object</b>: If the object passed is an object</li><br/><li><b>array</b>: If the object passed is an array</li><br/><li><b>regexp</b>: If the object passed is a regular expression</li><br/><li><b>element</b>: If the object passed is a DOM Element</li><br/><li><b>nodelist</b>: If the object passed is a DOM NodeList</li><br/><li><b>textnode</b>: If the object passed is a DOM text node and contains something other than whitespace</li><br/><li><b>whitespace</b>: If the object passed is a DOM text node and contains only whitespace</li>
2754 <dl class="detailList">
2755 <dt class="heading">Parameters:</dt>
2758 <span class="fixedFont">Mixed</span> <b>object</b>
2769 <dl class="detailList">
2770 <dt class="heading">Returns:</dt>
2772 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2786 <td class="msource">
2794 <tr class="method-row config-row-alt0 expandable notInherited">
2795 <td class="micon"><a class="exi" href="#expand"> </a></td>
2799 <a id="Roo-method-urlDecode" name=".urlDecode"></a>
2800 <div class="fixedFont">
2801 <span class="attributes">Roo.</span><b class="itemname">urlDecode</b>
2803 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>string</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>overwrite</i></B>)
2809 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2818 <div class="short">Takes an encoded URL and and converts it to an object.</div>
2824 Takes an encoded URL and and converts it to an object. e.g. Roo.urlDecode("foo=1&bar=2"); would return {foo: 1, bar: 2} or Roo.urlDecode("foo=1&bar=2&bar=3&bar=4", true); would return {foo: 1, bar: [2, 3, 4]}.
2831 <dl class="detailList">
2832 <dt class="heading">Parameters:</dt>
2835 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>string</b>
2841 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>overwrite</b>
2844 <dd>(optional) Items of the same name will overwrite previous values instead of creating an an array (Defaults to false).</dd>
2852 <dl class="detailList">
2853 <dt class="heading">Returns:</dt>
2855 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> A literal with members</dd>
2869 <td class="msource">
2877 <tr class="method-row config-row-alt1 expandable notInherited">
2878 <td class="micon"><a class="exi" href="#expand"> </a></td>
2882 <a id="Roo-method-urlEncode" name=".urlEncode"></a>
2883 <div class="fixedFont">
2884 <span class="attributes">Roo.</span><b class="itemname">urlEncode</b>
2886 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>)
2892 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2901 <div class="short">Takes an object and converts it to an encoded URL.</div>
2907 Takes an object and converts it to an encoded URL. e.g. Roo.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.
2914 <dl class="detailList">
2915 <dt class="heading">Parameters:</dt>
2918 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>o</b>
2929 <dl class="detailList">
2930 <dt class="heading">Returns:</dt>
2932 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2946 <td class="msource">
2957 <!-- ============================== events summary / details ======================== -->
2960 <a id="Roo-events"></a>
2966 <table cellspacing="0" class="member-table">
2967 <caption class="Empty">Events - Has None</caption>
2978 <!-- ============================== footer ================================= -->
2979 <div class="fineprint" style="clear:both">
2981 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Mon Nov 09 2015 13:48:17 GMT+0800 (HKT)
2983 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>