Source for file EnrollmentRecord.php

Documentation is available at EnrollmentRecord.php

  1. <?php
  2. /**
  3. * EnrollmentRecord stores a student (Agent) and an Enrollment Status Type.
  4. * The EnrollmentRecord is the result of adding or changing a student in a
  5. * CourseSection. If the student is removed from the CourseSection, there
  6. * will no longer be an EnrollmentRecord for the student. The joining of a
  7. * status type to a student allows for the characterization of the student.
  8. * For example, students might be added as regular students or auditing.
  9. * Students might be on the enrollment list, but their status might be
  10. * withdrawn passing or withdrawn failing, etc.
  11. *
  12. * <p>
  13. * OSID Version: 2.0
  14. * </p>
  15. *
  16. * <p>
  17. * Licensed under the {@link org.osid.SidImplementationLicenseMIT MIT}
  18. * O.K.I&#46; OSID Definition License}.
  19. * </p>
  20. *
  21. * @package org.osid.coursemanagement
  22. */
  23. class EnrollmentRecord
  24. {
  25. /**
  26. * Get the Id of the Agent representing a student enrolled in the
  27. * CourseSection.
  28. *
  29. * @return object Id
  30. *
  31. * @throws object CourseManagementException An exception
  32. * with one of the following messages defined in
  33. * org.osid.coursemanagement.CourseManagementException may be
  34. * thrown: {@link }
  35. * org.osid.coursemanagement.CourseManagementException#OPERATION_FAILED
  36. * OPERATION_FAILED}, {@link }
  37. * org.osid.coursemanagement.CourseManagementException#PERMISSION_DENIED
  38. * PERMISSION_DENIED}, {@link }
  39. * org.osid.coursemanagement.CourseManagementException#CONFIGURATION_ERROR
  40. * CONFIGURATION_ERROR}, {@link }
  41. * org.osid.coursemanagement.CourseManagementException#UNIMPLEMENTED
  42. * UNIMPLEMENTED}
  43. *
  44. * @access public
  45. */
  46. function getStudent () {
  47. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  48. }
  49.  
  50. /**
  51. * Get the Status Type for a student. Students Status Type is supplied
  52. * when the student is added or changed in the CourseSection. The
  53. * CourseManagementManager returns the Status Types supported by this
  54. * implementation.
  55. *
  56. * @return object Type
  57. *
  58. * @throws object CourseManagementException An exception
  59. * with one of the following messages defined in
  60. * org.osid.coursemanagement.CourseManagementException may be
  61. * thrown: {@link }
  62. * org.osid.coursemanagement.CourseManagementException#OPERATION_FAILED
  63. * OPERATION_FAILED}, {@link }
  64. * org.osid.coursemanagement.CourseManagementException#PERMISSION_DENIED
  65. * PERMISSION_DENIED}, {@link }
  66. * org.osid.coursemanagement.CourseManagementException#CONFIGURATION_ERROR
  67. * CONFIGURATION_ERROR}, {@link }
  68. * org.osid.coursemanagement.CourseManagementException#UNIMPLEMENTED
  69. * UNIMPLEMENTED}
  70. *
  71. * @access public
  72. */
  73. function getStatus () {
  74. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  75. }
  76. }
  77.  
  78. ?>

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