Source for file CabinetEntryIterator.php

Documentation is available at CabinetEntryIterator.php

  1. <?php
  2. /**
  3. * CabinetEntryIterator is the iterator for a collection of CabinetEntries.
  4. *
  5. * <p>
  6. * OSID provides a set of iterator interfaces for base types. The purpose of
  7. * these iterators is to offer a way for SID methods to return multiple values
  8. * of a common type while avoiding the use arrays. Returning an array may not
  9. * be appropriate if the number of values returned is large or if the array is
  10. * fetched remotely.
  11. * </p>
  12. *
  13. * <p>
  14. * Note that iterators do not allow access to values by index; you must access
  15. * values sequentially. There is no way to go backwards through the sequence.
  16. * </p>
  17. *
  18. * <p>
  19. * OSID Version: 2.0
  20. * </p>
  21. *
  22. * <p>
  23. * Licensed under the {@link org.osid.SidImplementationLicenseMIT MIT}
  24. * O.K.I&#46; OSID Definition License}.
  25. * </p>
  26. *
  27. * @see CabinetEntry
  28. * @see org.osid.OsidManager
  29. *
  30. * @package org.osid.filing
  31. */
  32. class CabinetEntryIterator
  33. {
  34. /**
  35. * Method hasNextCabinetEntry
  36. *
  37. * @return boolean
  38. *
  39. * @throws object FilingException
  40. *
  41. * @access public
  42. */
  43. function hasNextCabinetEntry () {
  44. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  45. }
  46.  
  47. /**
  48. * Returns the next CabinetEntry in the collection.
  49. *
  50. * @return object CabinetEntry
  51. *
  52. * @throws object FilingException
  53. *
  54. * @access public
  55. */
  56. function nextCabinetEntry () {
  57. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  58. }
  59. }
  60.  
  61. ?>

Documentation generated on Wed, 19 Sep 2007 10:21:57 -0400 by phpDocumentor 1.3.0RC3