Source for file AuthorizationIterator.php

Documentation is available at AuthorizationIterator.php

  1. <?php
  2. /**
  3. * AuthorizationIterator is the iterator for a collection of Authorizations.
  4. *
  5. * <p>
  6. * OSID Version: 2.0
  7. * </p>
  8. *
  9. * <p>
  10. * Licensed under the {@link org.osid.SidImplementationLicenseMIT MIT}
  11. * O.K.I&#46; OSID Definition License}.
  12. * </p>
  13. *
  14. * @package org.osid.authorization
  15. */
  16. class AuthorizationIterator
  17. {
  18. /**
  19. * Return true if there is an additional Authorization ; false otherwise.
  20. *
  21. * @return boolean
  22. *
  23. * @throws object AuthorizationException An exception with
  24. * one of the following messages defined in
  25. * org.osid.authorization.AuthorizationException may be thrown:
  26. * {@link }
  27. * org.osid.authorization.AuthorizationException#OPERATION_FAILED
  28. * OPERATION_FAILED}, {@link }
  29. * org.osid.authorization.AuthorizationException#PERMISSION_DENIED
  30. * PERMISSION_DENIED}, {@link }
  31. * org.osid.authorization.AuthorizationException#CONFIGURATION_ERROR
  32. * CONFIGURATION_ERROR}, {@link }
  33. * org.osid.authorization.AuthorizationException#UNIMPLEMENTED
  34. * UNIMPLEMENTED}
  35. *
  36. * @access public
  37. */
  38. function hasNextAuthorization () {
  39. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  40. }
  41.  
  42. /**
  43. * Return the next Authorization.
  44. *
  45. * @return object Authorization
  46. *
  47. * @throws object AuthorizationException An exception with
  48. * one of the following messages defined in
  49. * org.osid.authorization.AuthorizationException may be thrown:
  50. * {@link }
  51. * org.osid.authorization.AuthorizationException#OPERATION_FAILED
  52. * OPERATION_FAILED}, {@link }
  53. * org.osid.authorization.AuthorizationException#PERMISSION_DENIED
  54. * PERMISSION_DENIED}, {@link }
  55. * org.osid.authorization.AuthorizationException#CONFIGURATION_ERROR
  56. * CONFIGURATION_ERROR}, {@link }
  57. * org.osid.authorization.AuthorizationException#UNIMPLEMENTED
  58. * UNIMPLEMENTED}
  59. *
  60. * @access public
  61. */
  62. function nextAuthorization () {
  63. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  64. }
  65. }
  66.  
  67. ?>

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