- String<div class="mdesc"><div class="short">Escapes the passed string for use in a regular expression</div><div class="long">Escapes the passed string for use in a regular expression<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>str</code> : String<div class="sub-desc"></div></li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-extend"></a><b><a href="source/Ext.html#method-Ext-extend">extend</a></b>( <code>Function subclass</code>, <code>Object overrides</code> )\r
- :\r
- Function<div class="mdesc"><div class="short">Extends one class to create a subclass and optionally overrides members with the passed literal. This method \r
-also ad...</div><div class="long"><p>Extends one class to create a subclass and optionally overrides members with the passed literal. This method\r
-also adds the function "override()" to the subclass that can be used to override members of the class.</p>\r
-For example, to create a subclass of Ext GridPanel:\r
-<pre><code>MyGridPanel = Ext.extend(Ext.grid.GridPanel, {\r
- constructor: <b>function</b>(config) {\r
-\r
-<i>// Create configuration <b>for</b> this Grid.\r</i>
- <b>var</b> store = <b>new</b> Ext.data.Store({...});\r
- <b>var</b> colModel = <b>new</b> Ext.grid.ColumnModel({...});\r
-\r
-<i>// Create a <b>new</b> config object containing our computed properties\r</i>
-<i>// *plus* whatever was <b>in</b> the config parameter.\r</i>
- config = Ext.apply({\r
- store: store,\r
- colModel: colModel\r
- }, config);\r
-\r
- MyGridPanel.superclass.constructor.call(this, config);\r
-\r
-<i>// Your postprocessing here\r</i>
- },\r
-\r
- yourMethod: <b>function</b>() {\r
- <i>// etc.\r</i>
- }\r
-});</code></pre>\r
-<p>This function also supports a 3-argument call in which the subclass's constructor is\r
-passed as an argument. In this form, the parameters are as follows:</p>\r
-<div class="mdetail-params"><ul>\r
-<li><code>subclass</code> : Function <div class="sub-desc">The subclass constructor.</div></li>\r
-<li><code>superclass</code> : Function <div class="sub-desc">The constructor of class being extended</div></li>\r
-<li><code>overrides</code> : Object <div class="sub-desc">A literal with members which are copied into the subclass's\r
-prototype, and are therefore shared among all instances of the new class.</div></li>\r
-</ul></div><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>subclass</code> : Function<div class="sub-desc">The constructor of class being extended.</div></li><li><code>overrides</code> : Object<div class="sub-desc"><p>A literal with members which are copied into the subclass's\r
-prototype, and are therefore shared between all instances of the new class.</p>\r
-<p>This may contain a special member named <tt><b>constructor</b></tt>. This is used\r
-to define the constructor of the new class, and is returned. If this property is\r
-<i>not</i> specified, a constructor is generated and returned which just calls the\r
-superclass's constructor passing on its parameters.</p>\r
-<p><b>It is essential that you call the superclass constructor in any provided constructor. See example code.</b></p></div></li></ul><strong>Returns:</strong><ul><li><code>Function</code><div class="sub-desc">The subclass constructor.</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-flatten"></a><b><a href="source/Ext-more.html#method-Ext-flatten">flatten</a></b>( <code>Array arr</code> )\r
+ String<div class="mdesc"><div class="short">Escapes the passed string for use in a regular expression</div><div class="long">Escapes the passed string for use in a regular expression<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>str</code> : String<div class="sub-desc"></div></li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-extend"></a><b><a href="source/Ext.html#method-Ext-extend">extend</a></b>( <code>Function superclass</code>, <code>Object overrides</code> )\r
+ :\r
+ Function<div class="mdesc"><div class="short">Extends one class to create a subclass and optionally overrides members with the passed literal. This method\r
+also add...</div><div class="long"><p>Extends one class to create a subclass and optionally overrides members with the passed literal. This method
+also adds the function "override()" to the subclass that can be used to override members of the class.</p>
+For example, to create a subclass of Ext GridPanel:
+<pre><code>MyGridPanel = Ext.extend(Ext.grid.GridPanel, {
+ constructor: <b>function</b>(config) {
+
+<i>// Create configuration <b>for</b> this Grid.</i>
+ <b>var</b> store = <b>new</b> Ext.data.Store({...});
+ <b>var</b> colModel = <b>new</b> Ext.grid.ColumnModel({...});
+
+<i>// Create a <b>new</b> config object containing our computed properties</i>
+<i>// *plus* whatever was <b>in</b> the config parameter.</i>
+ config = Ext.apply({
+ store: store,
+ colModel: colModel
+ }, config);
+
+ MyGridPanel.superclass.constructor.call(this, config);
+
+<i>// Your postprocessing here</i>
+ },
+
+ yourMethod: <b>function</b>() {
+ <i>// etc.</i>
+ }
+});</code></pre>
+<p>This function also supports a 3-argument call in which the subclass's constructor is
+passed as an argument. In this form, the parameters are as follows:</p>
+<div class="mdetail-params"><ul>
+<li><code>subclass</code> : Function <div class="sub-desc">The subclass constructor.</div></li>
+<li><code>superclass</code> : Function <div class="sub-desc">The constructor of class being extended</div></li>
+<li><code>overrides</code> : Object <div class="sub-desc">A literal with members which are copied into the subclass's
+prototype, and are therefore shared among all instances of the new class.</div></li>
+</ul></div><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>superclass</code> : Function<div class="sub-desc">The constructor of class being extended.</div></li><li><code>overrides</code> : Object<div class="sub-desc"><p>A literal with members which are copied into the subclass's
+prototype, and are therefore shared between all instances of the new class.</p>
+<p>This may contain a special member named <tt><b>constructor</b></tt>. This is used
+to define the constructor of the new class, and is returned. If this property is
+<i>not</i> specified, a constructor is generated and returned which just calls the
+superclass's constructor passing on its parameters.</p>
+<p><b>It is essential that you call the superclass constructor in any provided constructor. See example code.</b></p></div></li></ul><strong>Returns:</strong><ul><li><code>Function</code><div class="sub-desc">The subclass constructor from the <code>overrides</code> parameter, or a generated one if not provided.</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-flatten"></a><b><a href="source/Ext-more.html#method-Ext-flatten">flatten</a></b>( <code>Array arr</code> )\r