Source for file ArrayList.php
Documentation is available at ArrayList.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 6: * Copyright (c) 2004, 2009 David Grudl (http://davidgrudl.com)
- 7: *
- 8: * This source file is subject to the "Nette license" that is bundled
- 9: * with this package in the file license.txt.
- 10: *
- 11: * For more information please see https://nette.org
- 12: *
- 19: */
- 29: /**
- 30: * Provides the base class for a generic list (items can be accessed by index).
- 31: *
- 35: */
- 37: {
- 42: /**
- 43: * Inserts the specified element at the specified position in this list.
- 48: */
- 50: {
- 54: }
- 61: }
- 65: /**
- 66: * Removes the first occurrence of the specified element.
- 70: */
- 72: {
- 83: }
- 84: }
- 88: /**
- 89: * Returns the index of the first occurrence of the specified element,.
- 90: * or FALSE if this list does not contain this element.
- 93: */
- 95: {
- 98: }
- 102: /********************* interface \ArrayAccess ****************d*g**/
- 106: /**
- 107: * Replaces (or appends) the item (\ArrayAccess implementation).
- 112: */
- 114: {
- 124: }
- 126: }
- 127: }
- 131: /**
- 132: * Returns item (\ArrayAccess implementation).
- 136: */
- 138: {
- 142: }
- 145: }
- 149: /**
- 150: * Exists item? (\ArrayAccess implementation).
- 153: */
- 155: {
- 158: }
- 162: /**
- 163: * Removes the element at the specified position in this list.
- 167: */
- 169: {
- 173: }
- 179: }
- 181: }