Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
assign_attempt_history Class Reference

Used to output the attempt history for a particular assignment. More...

Inheritance diagram for assign_attempt_history:
renderable

Public Member Functions

 __construct ($submissions, $grades, $submissionplugins, $feedbackplugins, $coursemoduleid, $returnaction, $returnparams, $cangrade, $useridlistid, $rownum)
 Constructor.
 

Public Attributes

bool $cangrade = false
 cangrade - Does this user have grade capability?
 
int $coursemoduleid = 0
 coursemoduleid - The cmid for the assignment
 
array $feedbackplugins = array()
 feedbackplugins - The list of feedback plugins to render the previous attempts
 
array $grades = array()
 grades - The grades for the previous attempts
 
string $returnaction = ''
 returnaction - The action for the next page.
 
string $returnparams = array()
 returnparams - The params for the next page.
 
int $rownum = 0
 rownum - The rownum of the user in the useridlistid - this plus useridlistid determines the userid
 
array $submissionplugins = array()
 submissionplugins - The list of submission plugins to render the previous attempts
 
array $submissions = array()
 submissions - The list of previous attempts
 
string $useridlistid = 0
 useridlistid - Id of the useridlist stored in cache, this plus rownum determines the userid
 

Detailed Description

Used to output the attempt history for a particular assignment.

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

Constructor & Destructor Documentation

◆ __construct()

assign_attempt_history::__construct ( $submissions,
$grades,
$submissionplugins,
$feedbackplugins,
$coursemoduleid,
$returnaction,
$returnparams,
$cangrade,
$useridlistid,
$rownum )

Constructor.

Parameters
array$submissions
array$grades
array$submissionplugins
array$feedbackplugins
int$coursemoduleid
string$returnaction
array$returnparams
bool$cangrade
int$useridlistid
int$rownum

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