Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Public Member Functions | |
__construct (?array $grade=null) | |
getActivityProgress () | |
getArray () | |
getCanvasExtension () | |
getComment () | |
getGradingProgress () | |
getScoreGiven () | |
getScoreMaximum () | |
getSubmissionReview () | |
getTimestamp () | |
getUserId () | |
setActivityProgress ($value) | |
setCanvasExtension ($value) | |
Add custom extensions for Canvas. | |
setComment ($comment) | |
setGradingProgress ($value) | |
setScoreGiven ($value) | |
setScoreMaximum ($value) | |
setSubmissionReview ($value) | |
setTimestamp ($value) | |
setUserId ($value) | |
Static Public Member Functions | |
static | new () |
Packback\Lti1p3\LtiGrade::setCanvasExtension | ( | $value | ) |
Add custom extensions for Canvas.
Disclaimer: You should only set this if your LMS is Canvas. Some LMS (e.g. Schoology) include validation logic that will throw if there is unexpected data. And, the type of LMS cannot simply be inferred by their URL.