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 http://nettephp.com
- 12: *
- 18: */
- 28: /**
- 29: * Provides the base class for a generic list (items can be accessed by index).
- 30: *
- 34: */
- 36: {
- 41: /**
- 42: * Inserts the specified element at the specified position in this list.
- 47: */
- 49: {
- 53: }
- 60: }
- 64: /**
- 65: * Removes the first occurrence of the specified element.
- 69: */
- 71: {
- 82: }
- 83: }
- 87: /**
- 88: * Returns the index of the first occurrence of the specified element,.
- 89: * or FALSE if this list does not contain this element.
- 92: */
- 94: {
- 97: }
- 101: /********************* interface \ArrayAccess ****************d*g**/
- 105: /**
- 106: * Replaces (or appends) the item (\ArrayAccess implementation).
- 111: */
- 113: {
- 123: }
- 125: }
- 126: }
- 130: /**
- 131: * Returns item (\ArrayAccess implementation).
- 135: */
- 137: {
- 141: }
- 144: }
- 148: /**
- 149: * Exists item? (\ArrayAccess implementation).
- 152: */
- 154: {
- 157: }
- 161: /**
- 162: * Removes the element at the specified position in this list.
- 166: */
- 168: {
- 174: }
- 179: }
- 181: }