Moodle  2.2.1
http://www.collinsharper.com
workshop_grading_report Class Reference
Inheritance diagram for workshop_grading_report:
Collaboration diagram for workshop_grading_report:

Public Member Functions

 __construct (stdClass $data, stdClass $options)
 get_data ()
 get_options ()

Protected Attributes

 $data
 $options

Detailed Description

Renderable component containing all the data needed to display the grading report

Definition at line 3073 of file locallib.php.


Constructor & Destructor Documentation

__construct ( stdClass $  data,
stdClass $  options 
)

Grades in $data must be already rounded to the set number of decimals or must be null (in which later case, the [mod_workshop,nullgrade] string shall be displayed)

Parameters:
stdClass$dataprepared by workshop::prepare_grading_report_data()
stdClass$optionsdisplay options (showauthornames, showreviewernames, sortby, sorthow, showsubmissiongrade, showgradinggrade)

Definition at line 3087 of file locallib.php.


Member Function Documentation

get_data ( )
Returns:
stdClass grading report data

Definition at line 3095 of file locallib.php.

Here is the caller graph for this function:

Returns:
stdClass rendering options

Definition at line 3102 of file locallib.php.

Here is the caller graph for this function:


Field Documentation

$data [protected]

Definition at line 3076 of file locallib.php.

$options [protected]

Definition at line 3078 of file locallib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations