Returns the number of Enrollments in this set.
API Tags:
Return: | Number of Enrollments currently in this set. |
Access: | public |
KuoteObjects_Resul fetch(
)
|
|
Returns the first Result in the set on the first call.
The next Result in the set on each successive call.
Example:
while ( $question =
$questionSet->fetch() { doSomething(); }
API Tags:
Return: | A Result object. OR boolean False if there are no more Results in the set. |
Access: | public |
Returns the average grade of all results as a percent.
API Tags:
Return: | Grade average. |
Access: | public |
integer getByCourseId(
integer
$id
)
|
|
Populates the ResultSet with all Results pertaining to the given course.
Parameters:
integer |
$id: |
The Id of the Course whose results we are to find. |
API Tags:
Return: | Number of questions found |
Access: | public |
integer getByCourseOfferingId(
integer
$id
)
|
|
Populates the ResultSet with all Results pertaining to the given course offering.
Parameters:
integer |
$id: |
The Id of the CourseOffering whose results we are to find. |
API Tags:
Return: | Number of questions found |
Access: | public |
integer getByLearningId(
integer
$id
)
|
|
Populates the ResultSet with all Results pertaining to the given learning quiz.
Parameters:
integer |
$id: |
The Id of the Learning whose questions to find. |
API Tags:
Return: | Number of results found |
Access: | public |
integer getByLearningOfferingId(
integer
$id
)
|
|
Populates the ResultSet with all Results pertaining to the given learning offering's quiz.
Parameters:
integer |
$id: |
The Id of the Learning Offering whose results we are to find. |
API Tags:
Return: | Number of results found |
Access: | public |
integer getByUserIdAndCourseOfferingId(
integer
$userId, integer
$courseOfferingId
)
|
|
Populates the ResultSet with all Results pertaining to the given user and course offering.
Parameters:
integer |
$userId: |
The Id of the User whose results we are to find. |
integer |
$courseOfferingId: |
The Id of the Course Offering whose results we are to find. |
API Tags:
Return: | Number of questions found |
Access: | public |
After calling reset(), fetch() will begin from the beginning of the set again.
API Tags:
Return: | True on successful reset, false otherwise. |
Access: | public |