2 |
aperonnet |
1 |
<div class="body-wrap">
|
|
|
2 |
<div class="top-tools">
|
|
|
3 |
<a class="inner-link" href="#Array-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
|
|
|
4 |
<a class="inner-link" href="#Array-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
|
|
|
5 |
<a class="inner-link" href="#Array-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
|
|
|
6 |
<a class="bookmark" href="../docs/?class=Array"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
|
|
|
7 |
</div>
|
|
|
8 |
<h1>Class Array</h1>
|
|
|
9 |
<table cellspacing="0">
|
|
|
10 |
<tr><td class="label">Package:</td><td class="hd-info">Global</td></tr>
|
|
|
11 |
<tr><td class="label">Defined In:</td><td class="hd-info"><a href="../source/core/Ext.js" target="_blank">Ext.js</a></td></tr>
|
|
|
12 |
<tr><td class="label">Class:</td><td class="hd-info">Array</td></tr>
|
|
|
13 |
<tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr>
|
|
|
14 |
</table>
|
|
|
15 |
<div class="description">
|
|
|
16 |
</div>
|
|
|
17 |
|
|
|
18 |
<div class="hr"></div>
|
|
|
19 |
<a id="Array-props"></a>
|
|
|
20 |
<h2>Public Properties</h2>
|
|
|
21 |
<div class="no-members">This class has no public properties.</div> <a id="Array-methods"></a>
|
|
|
22 |
<h2>Public Methods</h2>
|
|
|
23 |
<table cellspacing="0" class="member-table">
|
|
|
24 |
<tr>
|
|
|
25 |
<th class="sig-header" colspan="2">Method</th>
|
|
|
26 |
<th class="msource-header">Defined By</th>
|
|
|
27 |
</tr>
|
|
|
28 |
<tr class="method-row expandable">
|
|
|
29 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
30 |
<td class="sig">
|
|
|
31 |
<a id="Array-indexOf"></a>
|
|
|
32 |
<b>indexOf</b>( <code>Object o</code> ) : Number <div class="mdesc">
|
|
|
33 |
<div class="short">Checks whether or not the specified object exists in the array.</div>
|
|
|
34 |
<div class="long">
|
|
|
35 |
Checks whether or not the specified object exists in the array. <div class="mdetail-params">
|
|
|
36 |
<strong>Parameters:</strong>
|
|
|
37 |
<ul><li><code>o</code> : Object<div class="sub-desc">The object to check for</div></li> </ul>
|
|
|
38 |
<strong>Returns:</strong>
|
|
|
39 |
<ul>
|
|
|
40 |
<li><code>Number</code><div class="sub-desc">The index of o in the array (or -1 if it is not found)</div></li>
|
|
|
41 |
</ul>
|
|
|
42 |
</div>
|
|
|
43 |
</div>
|
|
|
44 |
</div>
|
|
|
45 |
</td>
|
|
|
46 |
<td class="msource">Array</td>
|
|
|
47 |
</tr>
|
|
|
48 |
<tr class="method-row alt expandable">
|
|
|
49 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
50 |
<td class="sig">
|
|
|
51 |
<a id="Array-remove"></a>
|
|
|
52 |
<b>remove</b>( <code>Object o</code> ) : Array <div class="mdesc">
|
|
|
53 |
<div class="short">Removes the specified object from the array. If the object is not found nothing happens.</div>
|
|
|
54 |
<div class="long">
|
|
|
55 |
Removes the specified object from the array. If the object is not found nothing happens. <div class="mdetail-params">
|
|
|
56 |
<strong>Parameters:</strong>
|
|
|
57 |
<ul><li><code>o</code> : Object<div class="sub-desc">The object to remove</div></li> </ul>
|
|
|
58 |
<strong>Returns:</strong>
|
|
|
59 |
<ul>
|
|
|
60 |
<li><code>Array</code><div class="sub-desc">this array</div></li>
|
|
|
61 |
</ul>
|
|
|
62 |
</div>
|
|
|
63 |
</div>
|
|
|
64 |
</div>
|
|
|
65 |
</td>
|
|
|
66 |
<td class="msource">Array</td>
|
|
|
67 |
</tr>
|
|
|
68 |
</table>
|
|
|
69 |
<a id="Array-events"></a>
|
|
|
70 |
<h2>Public Events</h2>
|
|
|
71 |
<div class="no-members">This class has no public events.</div>
|
|
|
72 |
</div>
|