Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Implements a renderable submission plugin submission. More...
Public Member Functions | |
__construct (assign_submission_plugin $plugin, stdClass $submission, $view, $coursemoduleid, $returnaction, $returnparams) | |
Constructor. | |
Public Attributes | |
int | $coursemoduleid = 0 |
$coursemoduleid | |
assign_submission_plugin | $plugin = null |
$plugin | |
string | $returnaction = '' |
returnaction The action to take you back to the current page | |
array | $returnparams = array() |
returnparams The params to take you back to the current page | |
stdClass | $submission = null |
$submission | |
string | $view = self::SUMMARY |
$view | |
int const | FULL = 20 |
FULL. | |
int const | SUMMARY = 10 |
SUMMARY. | |
Implements a renderable submission plugin submission.
assign_submission_plugin_submission::__construct | ( | assign_submission_plugin | $plugin, |
stdClass | $submission, | ||
$view, | |||
$coursemoduleid, | |||
$returnaction, | |||
$returnparams ) |
Constructor.
assign_submission_plugin | $plugin | |
stdClass | $submission | |
string | $view | one of submission_plugin\SUMMARY, submission_plugin\FULL |
int | $coursemoduleid | - the course module id |
string | $returnaction | The action to return to the current page |
array | $returnparams | The params to return to the current page |