Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
assign_submission_plugin_submission Class Reference

Implements a renderable submission plugin submission. More...

Inheritance diagram for assign_submission_plugin_submission:
renderable

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.
 

Detailed Description

Implements a renderable submission plugin submission.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

assign_submission_plugin_submission::__construct ( assign_submission_plugin $plugin,
stdClass $submission,
$view,
$coursemoduleid,
$returnaction,
$returnparams )

Constructor.

Parameters
assign_submission_plugin$plugin
stdClass$submission
string$viewone of submission_plugin\SUMMARY, submission_plugin\FULL
int$coursemoduleid- the course module id
string$returnactionThe action to return to the current page
array$returnparamsThe params to return to the current page

The documentation for this class was generated from the following file: