File: Array.html

package info (click to toggle)
libjs-extjs 3.4.0%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 53,188 kB
  • ctags: 3,384
  • sloc: php: 819; xml: 537; python: 60; sql: 44; makefile: 35
file content (1 line) | stat: -rw-r--r-- 3,157 bytes parent folder | download
1
<div xmlns:ext="http://www.extjs.com" class="body-wrap"><h1>Class <a href="source/Ext.html#cls-Array">Array</a></h1><table cellspacing="0"><tr><td class="label">Package:</td><td class="hd-info">Global</td></tr><tr><td class="label">Defined In:</td><td class="hd-info"><a href="source/Ext.html#cls-Array">Ext.js</a></td></tr><tr><td class="label">Class:</td><td class="hd-info"><a href="source/Ext.html#cls-Array">Array</a></td></tr><tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr></table><div class="description"></div><div class="hr"></div><a id="Array-props"></a><h2>Public Properties</h2><div class="no-members">This class has no public properties.</div><a id="Array-methods"></a><h2>Public Methods</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Method</th><th class="msource-header">Defined By</th></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Array-indexOf"></a><b class="method"><a href="source/Ext.html#method-Array-indexOf">indexOf</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Object&nbsp;o</span><span class="comma">,&nbsp;</span><span title="Optional" class="optional">[Number&nbsp;from]</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">Number</span><div class="mdesc"><div class="short">Checks whether or not the specified object exists in the array.</div><div class="long">Checks whether or not the specified object exists in the array.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>o</code> : Object<div class="sub-desc">The object to check for</div></li><li><code>from</code> : Number<div class="sub-desc">(Optional) The index at which to begin the search</div></li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc">The index of o in the array (or -1 if it is not found)</div></li></ul></div></div></div></td><td class="msource">Array</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Array-remove"></a><b class="method"><a href="source/Ext.html#method-Array-remove">remove</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Object&nbsp;o</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">Array</span><div class="mdesc"><div class="short">Removes the specified object from the array.  If the object is not found nothing happens.</div><div class="long">Removes the specified object from the array.  If the object is not found nothing happens.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>o</code> : Object<div class="sub-desc">The object to remove</div></li></ul><strong>Returns:</strong><ul><li><code>Array</code><div class="sub-desc">this array</div></li></ul></div></div></div></td><td class="msource">Array</td></tr></tbody></table><a id="Array-events"></a><h2>Public Events</h2><div class="no-members">This class has no public events.</div></div>