integer getCorrectQuestionsCount(
)
|
|
Returns the number of questions answered correctly.
API Tags:
Return: | The number of questions answered correctly. |
Access: | public |
Returns the Id of the Result's Course
API Tags:
Return: | Course Id |
Access: | public |
integer getCourseOfferingId(
)
|
|
Returns the Id of the Result's Course Offering
API Tags:
Return: | Course Offering Id |
Access: | public |
Returns the Id of the Result's Learning
API Tags:
Return: | Learning Id |
Access: | public |
integer getLearningOfferingId(
)
|
|
Returns the Id of the Result's Learning Offering
API Tags:
Return: | Learning Offering Id |
Access: | public |
int getLearningOfferingTakenId(
)
|
|
Returns the Id of the Learning Offer Taken for this result.
API Tags:
Return: | User Id. |
Access: | public |
integer getQuestionsCount(
)
|
|
Returns the total number of questions.
API Tags:
Return: | The number of questions answered correctly. |
Access: | public |
Returns the timestamp of when the Result was created or last modified.
API Tags:
Return: | Timestamp. |
Access: | public |
Returns the unique user id of the student who took the quiz.
API Tags:
Return: | User Id. |
Access: | public |
boolean incrementCorrectQuestionsCount(
)
|
|
Returns the number of questions answered correctly.
API Tags:
Return: | True on successful increment, False otherwise. |
Access: | public |
boolean setCorrectQuestionsCount(
integer
$numberCorrect
)
|
|
Sets the number of questions answered correctly.
Parameters:
integer |
$numberCorrect: |
The number of correctly answered questions. |
API Tags:
Return: | True if successful, false if not. |
Access: | public |
boolean setCourseId(
integer
$id
)
|
|
Sets the Id of the Result's Course
Parameters:
API Tags:
Return: | True on success, false otherwise. |
Access: | public |
boolean setCourseOfferingId(
integer
$id
)
|
|
Sets the Id of the Result's Course Offering
Parameters:
integer |
$id: |
Course Offering Id |
API Tags:
Return: | True on success, false otherwise. |
Access: | public |
boolean setLearningId(
integer
$id
)
|
|
Sets the Id of the Result's Learning
Parameters:
API Tags:
Return: | True on success, false otherwise. |
Access: | public |
boolean setLearningOfferingId(
integer
$id
)
|
|
Sets the Id of the Result's Learning Offering
Parameters:
integer |
$id: |
Learning Offering Id |
API Tags:
Return: | True on success, false otherwise. |
Access: | public |
boolean setLearningOfferingTakenId(
integer
$id
)
|
|
Sets the Id of the Learning Offer Taken for this result.
Parameters:
integer |
$id: |
User Id of the Course Creator. |
API Tags:
Return: | True on success, false otherwise. |
Access: | public |
boolean setQuestionsCount(
integer
$count
)
|
|
Sets the total number of questions.
Parameters:
integer |
$count: |
The number of correctly answered questions. |
API Tags:
Return: | True if successful, false if not. |
Access: | public |
boolean setUserId(
integer
$id
)
|
|
Sets the unique user id of the student who took the quiz.
Parameters:
integer |
$id: |
User Id of the Course Creator. |
API Tags:
Return: | True on success, false otherwise. |
Access: | public |