Returns the number of Enrollments in this set.
API Tags:
Return: | Number of Enrollments currently in this set. |
Access: | public |
Returns the first Question in the set on the first call.
The next Question in the set on each successive call.
Example:
while ( $question =
$questionSet->fetch() { doSomething(); }
API Tags:
Return: | A LearningOffering object. OR boolean False if there are no more LearningOfferings in the set. |
Access: | public |
integer getByLearningId(
integer
$learningId
)
|
|
Populates the question set with questions that are part of the given Learning's quiz.
Parameters:
integer |
$learningId: |
The Id of the Learning whose questions 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 |