Source for file IList.php

Documentation is available at IList.php

  1. 1: <?php
  2. 2:  
  3. 3: /**
  4. 4:  * Nette Framework
  5. 5:  *
  6. 6:  * @copyright  Copyright (c) 2004, 2010 David Grudl
  7. 7:  * @license    http://nettephp.com/license  Nette license
  8. 8:  * @link       http://nettephp.com
  9. 9:  * @category   Nette
  10. 10:  * @package    Nette\Collections
  11. 11:  */
  12. 12:  
  13. 13:  
  14. 14:  
  15. 15: /**
  16. 16:  * Represents a collection of objects that can be individually
  17. 17:  * accessed by index (ordered collection)
  18. 18:  *
  19. 19:  * @copyright  Copyright (c) 2004, 2010 David Grudl
  20. 20:  * @package    Nette\Collections
  21. 21:  */
  22. 22: interface IList extends ICollectionArrayAccess
  23. 23: {
  24. 24:     function indexOf($item);
  25. 25:     function insertAt($index$item);
  26. 26:     //function ArrayAccess::offsetSet($offset, $value);
  27. 27:     //function ArrayAccess::offsetGet($offset);
  28. 28:     //function ArrayAccess::offsetUnset($offset);
  29. 29:     //function ArrayAccess::offsetExists($offset);
  30. 30: }