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-isFirefox" name=".isFirefox"></a>
456 <div class="fixedFont">
457 <span class="attributes">Roo.</span><b class="itemname">isFirefox</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-isGecko" name=".isGecko"></a>
495 <div class="fixedFont">
496 <span class="attributes">Roo.</span><b class="itemname">isGecko</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-isIE" name=".isIE"></a>
534 <div class="fixedFont">
535 <span class="attributes">Roo.</span><b class="itemname">isIE</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-isIE11" name=".isIE11"></a>
573 <div class="fixedFont">
574 <span class="attributes">Roo.</span><b class="itemname">isIE11</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-isIE7" name=".isIE7"></a>
612 <div class="fixedFont">
613 <span class="attributes">Roo.</span><b class="itemname">isIE7</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-isIOS" name=".isIOS"></a>
651 <div class="fixedFont">
652 <span class="attributes">Roo.</span><b class="itemname">isIOS</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-isLinux" name=".isLinux"></a>
690 <div class="fixedFont">
691 <span class="attributes">Roo.</span><b class="itemname">isLinux</b> :
692 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
723 <tr class="property-row config-row-alt1 notInherited">
725 <a class="exi" href="#expand"> </a>
728 <a id="Roo-prop-isMac" name=".isMac"></a>
729 <div class="fixedFont">
730 <span class="attributes">Roo.</span><b class="itemname">isMac</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-isOpera" name=".isOpera"></a>
768 <div class="fixedFont">
769 <span class="attributes">Roo.</span><b class="itemname">isOpera</b> :
770 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
801 <tr class="property-row config-row-alt1 notInherited">
803 <a class="exi" href="#expand"> </a>
806 <a id="Roo-prop-isReady" name=".isReady"></a>
807 <div class="fixedFont">
808 <span class="attributes">Roo.</span><b class="itemname">isReady</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 when the document is fully initialized and ready for action
825 True when the document is fully initialized and ready for action
840 <tr class="property-row config-row-alt0 notInherited">
842 <a class="exi" href="#expand"> </a>
845 <a id="Roo-prop-isSafari" name=".isSafari"></a>
846 <div class="fixedFont">
847 <span class="attributes">Roo.</span><b class="itemname">isSafari</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-isSecure" name=".isSecure"></a>
885 <div class="fixedFont">
886 <span class="attributes">Roo.</span><b class="itemname">isSecure</b> :
887 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
895 True if the page is running over SSL
903 True if the page is running over SSL
918 <tr class="property-row config-row-alt0 notInherited">
920 <a class="exi" href="#expand"> </a>
923 <a id="Roo-prop-isStrict" name=".isStrict"></a>
924 <div class="fixedFont">
925 <span class="attributes">Roo.</span><b class="itemname">isStrict</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 True if the browser is in strict mode
942 True if the browser is in strict mode
957 <tr class="property-row config-row-alt1 notInherited">
959 <a class="exi" href="#expand"> </a>
962 <a id="Roo-prop-isTouch" name=".isTouch"></a>
963 <div class="fixedFont">
964 <span class="attributes">Roo.</span><b class="itemname">isTouch</b> :
965 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
996 <tr class="property-row config-row-alt0 notInherited">
998 <a class="exi" href="#expand"> </a>
1001 <a id="Roo-prop-isWindows" name=".isWindows"></a>
1002 <div class="fixedFont">
1003 <span class="attributes">Roo.</span><b class="itemname">isWindows</b> :
1004 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
1026 <td class="msource">
1035 <tr class="property-row config-row-alt1 notInherited">
1037 <a class="exi" href="#expand"> </a>
1040 <a id="Roo-prop-useShims" name=".useShims"></a>
1041 <div class="fixedFont">
1042 <span class="attributes">Roo.</span><b class="itemname">useShims</b> :
1043 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
1051 By default, Ext intelligently decides whether floating elements should be shimmed.
1059 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.
1065 <td class="msource">
1075 <!-- TODO: implement this alt row. also notice non-linked "Defined by" when property is a part of this class.
1076 <tr class="property-row alt">
1083 <!-- ============================== methods summary / details ======================== -->
1086 <a id="Roo-methods"></a>
1087 <!-- constructor?? -->
1094 <!-- then dynamics first -->
1101 <table cellspacing="0" class="member-table">
1102 <caption>Public Methods</caption>
1104 <th class="sig-header" colspan="2">Method</th>
1105 <th class="msource-header">Defined By</th>
1115 <tr class="method-row config-row-alt0 expandable notInherited">
1116 <td class="micon"><a class="exi" href="#expand"> </a></td>
1120 <a id="Roo-method-addBehaviors" name=".addBehaviors"></a>
1121 <div class="fixedFont">
1122 <span class="attributes">Roo.</span><b class="itemname">addBehaviors</b>
1124 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>obj</i></B>)
1131 <div class="short">Applies event listeners to elements by selectors when the document is ready.</div>
1137 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>
1144 <dl class="detailList">
1145 <dt class="heading">Parameters:</dt>
1148 <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>
1151 <dd>The list of behaviors to apply</dd>
1169 <td class="msource">
1177 <tr class="method-row config-row-alt1 expandable notInherited">
1178 <td class="micon"><a class="exi" href="#expand"> </a></td>
1182 <a id="Roo-method-apply" name=".apply"></a>
1183 <div class="fixedFont">
1184 <span class="attributes">Roo.</span><b class="itemname">apply</b>
1186 (<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>)
1192 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1201 <div class="short">Copies all the properties of config to obj.</div>
1207 Copies all the properties of config to obj.
1214 <dl class="detailList">
1215 <dt class="heading">Parameters:</dt>
1218 <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>
1221 <dd>The receiver of the properties</dd>
1224 <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>
1227 <dd>The source of the properties</dd>
1230 <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>
1233 <dd>A different object that will also be applied for default values</dd>
1241 <dl class="detailList">
1242 <dt class="heading">Returns:</dt>
1244 <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>
1258 <td class="msource">
1266 <tr class="method-row config-row-alt0 expandable notInherited">
1267 <td class="micon"><a class="exi" href="#expand"> </a></td>
1271 <a id="Roo-method-applyIf" name=".applyIf"></a>
1272 <div class="fixedFont">
1273 <span class="attributes">Roo.</span><b class="itemname">applyIf</b>
1275 (<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>)
1281 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1290 <div class="short">Copies all the properties of config to obj if they don't already exist.</div>
1296 Copies all the properties of config to obj if they don't already exist.
1303 <dl class="detailList">
1304 <dt class="heading">Parameters:</dt>
1307 <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>
1310 <dd>The receiver of the properties</dd>
1313 <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>
1316 <dd>The source of the properties</dd>
1324 <dl class="detailList">
1325 <dt class="heading">Returns:</dt>
1327 <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>
1341 <td class="msource">
1349 <tr class="method-row config-row-alt1 expandable notInherited">
1350 <td class="micon"><a class="exi" href="#expand"> </a></td>
1354 <a id="Roo-method-decode" name=".decode"></a>
1355 <div class="fixedFont">
1356 <span class="attributes">Roo.</span><b class="itemname">decode</b>
1365 <div class="short">Shorthand for {<b>link</b> Roo.util.JSON<b>decode</b>}</div>
1371 Shorthand for {<b>link</b> Roo.util.JSON<b>decode</b>}
1392 <td class="msource">
1400 <tr class="method-row config-row-alt0 expandable notInherited">
1401 <td class="micon"><a class="exi" href="#expand"> </a></td>
1405 <a id="Roo-method-each" name=".each"></a>
1406 <div class="fixedFont">
1407 <span class="attributes">Roo.</span><b class="itemname">each</b>
1409 (<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>)
1416 <div class="short">Iterates an array calling the passed function with each item, stopping if your function returns false.</div>
1422 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).
1429 <dl class="detailList">
1430 <dt class="heading">Parameters:</dt>
1433 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/NodeList/Mixed</span> <b>array</b>
1439 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1445 <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>
1466 <td class="msource">
1474 <tr class="method-row config-row-alt1 expandable notInherited">
1475 <td class="micon"><a class="exi" href="#expand"> </a></td>
1479 <a id="Roo-method-encode" name=".encode"></a>
1480 <div class="fixedFont">
1481 <span class="attributes">Roo.</span><b class="itemname">encode</b>
1490 <div class="short">Shorthand for {<b>link</b> Roo.util.JSON<b>encode</b>}</div>
1496 Shorthand for {<b>link</b> Roo.util.JSON<b>encode</b>}
1517 <td class="msource">
1525 <tr class="method-row config-row-alt0 expandable notInherited">
1526 <td class="micon"><a class="exi" href="#expand"> </a></td>
1530 <a id="Roo-method-encodeURIComponent" name=".encodeURIComponent"></a>
1531 <div class="fixedFont">
1532 <span class="attributes">Roo.</span><b class="itemname">encodeURIComponent</b>
1534 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>data</i></B>)
1540 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1549 <div class="short">Safe version of encodeURIComponent</div>
1555 Safe version of encodeURIComponent
1562 <dl class="detailList">
1563 <dt class="heading">Parameters:</dt>
1566 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>data</b>
1577 <dl class="detailList">
1578 <dt class="heading">Returns:</dt>
1580 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
1594 <td class="msource">
1602 <tr class="method-row config-row-alt1 expandable notInherited">
1603 <td class="micon"><a class="exi" href="#expand"> </a></td>
1607 <a id="Roo-method-escapeRe" name=".escapeRe"></a>
1608 <div class="fixedFont">
1609 <span class="attributes">Roo.</span><b class="itemname">escapeRe</b>
1611 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>str</i></B>)
1617 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1626 <div class="short">Escapes the passed string for use in a regular expression</div>
1632 Escapes the passed string for use in a regular expression
1639 <dl class="detailList">
1640 <dt class="heading">Parameters:</dt>
1643 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>str</b>
1654 <dl class="detailList">
1655 <dt class="heading">Returns:</dt>
1657 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
1671 <td class="msource">
1679 <tr class="method-row config-row-alt0 expandable notInherited">
1680 <td class="micon"><a class="exi" href="#expand"> </a></td>
1684 <a id="Roo-method-extend" name=".extend"></a>
1685 <div class="fixedFont">
1686 <span class="attributes">Roo.</span><b class="itemname">extend</b>
1688 (<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>)
1695 <div class="short">Extends one class with another class and optionally overrides members with the passed literal.</div>
1701 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.
1708 <dl class="detailList">
1709 <dt class="heading">Parameters:</dt>
1712 <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>
1715 <dd>The class inheriting the functionality</dd>
1718 <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>
1721 <dd>The class being extended</dd>
1724 <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>
1727 <dd>(optional) A literal with members</dd>
1745 <td class="msource">
1753 <tr class="method-row config-row-alt1 expandable notInherited">
1754 <td class="micon"><a class="exi" href="#expand"> </a></td>
1758 <a id="Roo-method-factory" name=".factory"></a>
1759 <div class="fixedFont">
1760 <span class="attributes">Roo.</span><b class="itemname">factory</b>
1762 (<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>)
1769 <div class="short">Creates namespaces to be used for scoping variables and classes so that they are not global.</div>
1775 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>
1782 <dl class="detailList">
1783 <dt class="heading">Parameters:</dt>
1786 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>classname</b>
1792 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>namespace</b>
1813 <td class="msource">
1821 <tr class="method-row config-row-alt0 expandable notInherited">
1822 <td class="micon"><a class="exi" href="#expand"> </a></td>
1826 <a id="Roo-method-fly" name=".fly"></a>
1827 <div class="fixedFont">
1828 <span class="attributes">Roo.</span><b class="itemname">fly</b>
1830 (<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>)
1845 <div class="short">Gets the globally shared flyweight Element, with the passed node as the active element.</div>
1851 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>}
1858 <dl class="detailList">
1859 <dt class="heading">Parameters:</dt>
1862 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement</span> <b>el</b>
1865 <dd>The dom node or id</dd>
1868 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>named</b>
1871 <dd>(optional) Allows for creation of named reusable flyweights to<br/> prevent conflicts (e.g. internally Roo uses "_internal")</dd>
1879 <dl class="detailList">
1880 <dt class="heading">Returns:</dt>
1882 <dd><span class="fixedFont">Element</span> The shared Element object</dd>
1896 <td class="msource">
1904 <tr class="method-row config-row-alt1 expandable notInherited">
1905 <td class="micon"><a class="exi" href="#expand"> </a></td>
1909 <a id="Roo-method-get" name=".get"></a>
1910 <div class="fixedFont">
1911 <span class="attributes">Roo.</span><b class="itemname">get</b>
1913 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
1928 <div class="short">Static method to retrieve Element objects.</div>
1934 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>}
1941 <dl class="detailList">
1942 <dt class="heading">Parameters:</dt>
1945 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
1948 <dd>The id of the node, a DOM Node or an existing Element.</dd>
1956 <dl class="detailList">
1957 <dt class="heading">Returns:</dt>
1959 <dd><span class="fixedFont">Element</span> The Element object</dd>
1973 <td class="msource">
1981 <tr class="method-row config-row-alt0 expandable notInherited">
1982 <td class="micon"><a class="exi" href="#expand"> </a></td>
1986 <a id="Roo-method-getCmp" name=".getCmp"></a>
1987 <div class="fixedFont">
1988 <span class="attributes">Roo.</span><b class="itemname">getCmp</b>
1990 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>id</i></B>)
2005 <div class="short">Shorthand for {<b>link</b> Roo.ComponentMgr<b>get</b>}</div>
2011 Shorthand for {<b>link</b> Roo.ComponentMgr<b>get</b>}
2018 <dl class="detailList">
2019 <dt class="heading">Parameters:</dt>
2022 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>id</b>
2033 <dl class="detailList">
2034 <dt class="heading">Returns:</dt>
2036 <dd> Roo.Component</dd>
2050 <td class="msource">
2058 <tr class="method-row config-row-alt1 expandable notInherited">
2059 <td class="micon"><a class="exi" href="#expand"> </a></td>
2063 <a id="Roo-method-getDom" name=".getDom"></a>
2064 <div class="fixedFont">
2065 <span class="attributes">Roo.</span><b class="itemname">getDom</b>
2067 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>el</i></B>)
2082 <div class="short">Return the dom node for the passed string (id), dom node, or Roo.Element</div>
2088 Return the dom node for the passed string (id), dom node, or Roo.Element
2095 <dl class="detailList">
2096 <dt class="heading">Parameters:</dt>
2099 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>el</b>
2110 <dl class="detailList">
2111 <dt class="heading">Returns:</dt>
2113 <dd> HTMLElement</dd>
2127 <td class="msource">
2135 <tr class="method-row config-row-alt0 expandable notInherited">
2136 <td class="micon"><a class="exi" href="#expand"> </a></td>
2140 <a id="Roo-method-id" name=".id"></a>
2141 <div class="fixedFont">
2142 <span class="attributes">Roo.</span><b class="itemname">id</b>
2144 (<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>)
2150 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2159 <div class="short">Generates unique ids.</div>
2165 Generates unique ids. If the element already has an id, it is unchanged
2172 <dl class="detailList">
2173 <dt class="heading">Parameters:</dt>
2176 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
2179 <dd>(optional) The element to generate an id for</dd>
2182 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>prefix</b>
2185 <dd>(optional) Id prefix (defaults "Roo-gen")</dd>
2193 <dl class="detailList">
2194 <dt class="heading">Returns:</dt>
2196 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> The generated Id.</dd>
2210 <td class="msource">
2218 <tr class="method-row config-row-alt1 expandable notInherited">
2219 <td class="micon"><a class="exi" href="#expand"> </a></td>
2223 <a id="Roo-method-isEmpty" name=".isEmpty"></a>
2224 <div class="fixedFont">
2225 <span class="attributes">Roo.</span><b class="itemname">isEmpty</b>
2227 (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>)
2233 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2242 <div class="short">Returns true if the passed value is null, undefined or an empty string (optional).</div>
2248 Returns true if the passed value is null, undefined or an empty string (optional).
2255 <dl class="detailList">
2256 <dt class="heading">Parameters:</dt>
2259 <span class="fixedFont">Mixed</span> <b>value</b>
2262 <dd>The value to test</dd>
2265 <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>
2268 <dd>(optional) Pass true if an empty string is not considered empty</dd>
2276 <dl class="detailList">
2277 <dt class="heading">Returns:</dt>
2279 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
2293 <td class="msource">
2301 <tr class="method-row config-row-alt0 expandable notInherited">
2302 <td class="micon"><a class="exi" href="#expand"> </a></td>
2306 <a id="Roo-method-log" name=".log"></a>
2307 <div class="fixedFont">
2308 <span class="attributes">Roo.</span><b class="itemname">log</b>
2310 (<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>)
2317 <div class="short">Logs to console if it can.</div>
2323 Logs to console if it can.
2330 <dl class="detailList">
2331 <dt class="heading">Parameters:</dt>
2334 <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>
2355 <td class="msource">
2363 <tr class="method-row config-row-alt1 expandable notInherited">
2364 <td class="micon"><a class="exi" href="#expand"> </a></td>
2368 <a id="Roo-method-namespace" name=".namespace"></a>
2369 <div class="fixedFont">
2370 <span class="attributes">Roo.</span><b class="itemname">namespace</b>
2372 (<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>)
2379 <div class="short">Creates namespaces to be used for scoping variables and classes so that they are not global.</div>
2385 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>
2392 <dl class="detailList">
2393 <dt class="heading">Parameters:</dt>
2396 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>namespace1</b>
2402 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>namespace2</b>
2408 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>etc</b>
2429 <td class="msource">
2437 <tr class="method-row config-row-alt0 expandable notInherited">
2438 <td class="micon"><a class="exi" href="#expand"> </a></td>
2442 <a id="Roo-method-onReady" name=".onReady"></a>
2443 <div class="fixedFont">
2444 <span class="attributes">Roo.</span><b class="itemname">onReady</b>
2446 (<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>)
2453 <div class="short">Fires when the document is ready (before onload and before images are loaded).</div>
2459 Fires when the document is ready (before onload and before images are loaded). Shorthand of {<b>link</b> Roo.EventManager<b>onDocumentReady</b>}.
2466 <dl class="detailList">
2467 <dt class="heading">Parameters:</dt>
2470 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
2473 <dd>The method the event invokes</dd>
2476 <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>
2479 <dd>An object that becomes the scope of the handler</dd>
2482 <span class="fixedFont">boolean</span> <b>override</b>
2485 <dd>If true, the obj passed in becomes<br/> the execution scope of the listener</dd>
2503 <td class="msource">
2511 <tr class="method-row config-row-alt1 expandable notInherited">
2512 <td class="micon"><a class="exi" href="#expand"> </a></td>
2516 <a id="Roo-method-override" name=".override"></a>
2517 <div class="fixedFont">
2518 <span class="attributes">Roo.</span><b class="itemname">override</b>
2520 (<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>)
2527 <div class="short">Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name.</div>
2533 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>
2540 <dl class="detailList">
2541 <dt class="heading">Parameters:</dt>
2544 <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>
2547 <dd>The class to override</dd>
2550 <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>
2553 <dd>The list of functions to add to origClass. This should be specified as an object literal<br/>containing one or more methods.</dd>
2571 <td class="msource">
2579 <tr class="method-row config-row-alt0 expandable notInherited">
2580 <td class="micon"><a class="exi" href="#expand"> </a></td>
2584 <a id="Roo-method-query" name=".query"></a>
2585 <div class="fixedFont">
2586 <span class="attributes">Roo.</span><b class="itemname">query</b>
2588 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>path</i></B>, Node <B><i>root</i></B>)
2594 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
2603 <div class="short">Selects an array of DOM nodes by CSS/XPath selector.</div>
2609 Selects an array of DOM nodes by CSS/XPath selector. Shorthand of {<b>link</b> Roo.DomQuery<b>select</b>}
2616 <dl class="detailList">
2617 <dt class="heading">Parameters:</dt>
2620 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>path</b>
2623 <dd>The selector/xpath query</dd>
2626 <span class="fixedFont">Node</span> <b>root</b>
2629 <dd>(optional) The start of the query (defaults to document).</dd>
2637 <dl class="detailList">
2638 <dt class="heading">Returns:</dt>
2640 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> </dd>
2654 <td class="msource">
2662 <tr class="method-row config-row-alt1 expandable notInherited">
2663 <td class="micon"><a class="exi" href="#expand"> </a></td>
2667 <a id="Roo-method-select" name=".select"></a>
2668 <div class="fixedFont">
2669 <span class="attributes">Roo.</span><b class="itemname">select</b>
2671 (<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>)
2677 CompositeElementLite/CompositeElement
2686 <div class="short">Selects elements based on the passed CSS selector to enable working on them as 1.</div>
2692 Selects elements based on the passed CSS selector to enable working on them as 1.
2699 <dl class="detailList">
2700 <dt class="heading">Parameters:</dt>
2703 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array</span> <b>selector</b>
2706 <dd>The CSS selector or an array of elements</dd>
2709 <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>
2712 <dd>(optional) true to create a unique Roo.Element for each element (defaults to a shared flyweight object)</dd>
2715 <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>
2718 <dd>(optional) The root element of the query or id of the root</dd>
2726 <dl class="detailList">
2727 <dt class="heading">Returns:</dt>
2729 <dd><span class="fixedFont">CompositeElementLite/CompositeElement</span> </dd>
2743 <td class="msource">
2751 <tr class="method-row config-row-alt0 expandable notInherited">
2752 <td class="micon"><a class="exi" href="#expand"> </a></td>
2756 <a id="Roo-method-selectNode" name=".selectNode"></a>
2757 <div class="fixedFont">
2758 <span class="attributes">Roo.</span><b class="itemname">selectNode</b>
2760 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>selector</i></B>, Node <B><i>root</i></B>)
2766 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2775 <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>
2781 Selects a single element as a Roo Element<br/>This is about as close as you can get to jQuery's $('do crazy stuff')
2788 <dl class="detailList">
2789 <dt class="heading">Parameters:</dt>
2792 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>selector</b>
2795 <dd>The selector/xpath query</dd>
2798 <span class="fixedFont">Node</span> <b>root</b>
2801 <dd>(optional) The start of the query (defaults to document).</dd>
2809 <dl class="detailList">
2810 <dt class="heading">Returns:</dt>
2812 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> </dd>
2826 <td class="msource">
2834 <tr class="method-row config-row-alt1 expandable notInherited">
2835 <td class="micon"><a class="exi" href="#expand"> </a></td>
2839 <a id="Roo-method-type" name=".type"></a>
2840 <div class="fixedFont">
2841 <span class="attributes">Roo.</span><b class="itemname">type</b>
2843 (Mixed <B><i>object</i></B>)
2849 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2858 <div class="short">Returns the type of object that is passed in.</div>
2864 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>
2871 <dl class="detailList">
2872 <dt class="heading">Parameters:</dt>
2875 <span class="fixedFont">Mixed</span> <b>object</b>
2886 <dl class="detailList">
2887 <dt class="heading">Returns:</dt>
2889 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2903 <td class="msource">
2911 <tr class="method-row config-row-alt0 expandable notInherited">
2912 <td class="micon"><a class="exi" href="#expand"> </a></td>
2916 <a id="Roo-method-urlDecode" name=".urlDecode"></a>
2917 <div class="fixedFont">
2918 <span class="attributes">Roo.</span><b class="itemname">urlDecode</b>
2920 (<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>)
2926 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2935 <div class="short">Takes an encoded URL and and converts it to an object.</div>
2941 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]}.
2948 <dl class="detailList">
2949 <dt class="heading">Parameters:</dt>
2952 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>string</b>
2958 <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>
2961 <dd>(optional) Items of the same name will overwrite previous values instead of creating an an array (Defaults to false).</dd>
2969 <dl class="detailList">
2970 <dt class="heading">Returns:</dt>
2972 <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>
2986 <td class="msource">
2994 <tr class="method-row config-row-alt1 expandable notInherited">
2995 <td class="micon"><a class="exi" href="#expand"> </a></td>
2999 <a id="Roo-method-urlEncode" name=".urlEncode"></a>
3000 <div class="fixedFont">
3001 <span class="attributes">Roo.</span><b class="itemname">urlEncode</b>
3003 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>)
3009 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
3018 <div class="short">Takes an object and converts it to an encoded URL.</div>
3024 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.
3031 <dl class="detailList">
3032 <dt class="heading">Parameters:</dt>
3035 <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>
3046 <dl class="detailList">
3047 <dt class="heading">Returns:</dt>
3049 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
3063 <td class="msource">
3074 <!-- ============================== events summary / details ======================== -->
3077 <a id="Roo-events"></a>
3083 <table cellspacing="0" class="member-table">
3084 <caption class="Empty">Events - Has None</caption>
3095 <!-- ============================== footer ================================= -->
3096 <div class="fineprint" style="clear:both">
3098 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu Mar 03 2016 16:15:36 GMT+0800 (HKT)
3100 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>