Documentation is available at CourseGradeRecordIterator.class.php
- <?php
- require_once(OKI2."/osid/coursemanagement/CourseGradeRecordIterator.php");
- require_once(HARMONI."oki2/shared/HarmoniIterator.class.php");
- /**
- * CourseGradeRecordIterator provides access to CourseGradeRecords.
- * CourseGradeRecord provides access to these objects sequentially, one at a
- * time. The purpose of all Iterators is to to offer a way for OSID methods
- * to return multiple values of a common type and not use an array. Returning
- * an array may not be appropriate if the number of values returned is large
- * or is fetched remotely. Iterators do not allow access to values by index,
- * rather you must access values in sequence. Similarly, there is no way to go
- * backwards through the sequence unless you place the values in a data
- * structure, such as an array, that allows for access by index.
- *
- * <p>
- * OSID Version: 2.0
- * </p>
- *
- * @package harmoni.osid_v2.coursemanagement
- *
- * @copyright Copyright © 2005, Middlebury College
- * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
- *
- * @version $Id: CourseGradeRecordIterator.class.php,v 1.5 2007/09/04 20:25:39 adamfranco Exp $
- */
- class HarmoniCourseGradeRecordIterator
- extends HarmoniIterator
- // implements CourseGradeRecordIterator
- {
- /**
- * Return true if there is an additional CourseGradeRecord ; false
- * otherwise.
- *
- * @return boolean
- *
- * @throws object CourseManagementException An exception
- * with one of the following messages defined in
- * org.osid.coursemanagement.CourseManagementException may be
- * thrown: {@link }
- * org.osid.coursemanagement.CourseManagementException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.coursemanagement.CourseManagementException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.coursemanagement.CourseManagementException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.coursemanagement.CourseManagementException#UNIMPLEMENTED
- * UNIMPLEMENTED}
- *
- * @access public
- */
- function hasNextCourseGradeRecord () {
- return $this->hasNext();
- }
- /**
- * Return the next CourseGradeRecord.
- *
- * @return object CourseGradeRecord
- *
- * @throws object CourseManagementException An exception
- * with one of the following messages defined in
- * org.osid.coursemanagement.CourseManagementException may be
- * thrown: {@link }
- * org.osid.coursemanagement.CourseManagementException#OPERATION_FAILED
- * OPERATION_FAILED}, {@link }
- * org.osid.coursemanagement.CourseManagementException#PERMISSION_DENIED
- * PERMISSION_DENIED}, {@link }
- * org.osid.coursemanagement.CourseManagementException#CONFIGURATION_ERROR
- * CONFIGURATION_ERROR}, {@link }
- * org.osid.coursemanagement.CourseManagementException#UNIMPLEMENTED
- * UNIMPLEMENTED}, {@link }
- * org.osid.coursemanagement.CourseManagementException#NO_MORE_ITERATOR_ELEMENTS
- * NO_MORE_ITERATOR_ELEMENTS}
- *
- * @access public
- */
- function nextCourseGradeRecord () {
- return $this->next();
- }
- }
- ?>
Documentation generated on Wed, 19 Sep 2007 10:22:14 -0400 by phpDocumentor 1.3.0RC3