Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
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 |