Moodle  2.2.1
http://www.collinsharper.com
grade_helper Class Reference

Static Public Member Functions

static get_plugin_strings ()
static get_info_manage_settings ($courseid)
static get_plugins_reports ($courseid)
static get_plugins_report_preferences ($courseid)
static get_info_scales ($courseid)
static get_info_outcomes ($courseid)
static get_info_edit_structure ($courseid)
static get_info_letters ($courseid)
static get_plugins_import ($courseid)
static get_plugins_export ($courseid)

Static Protected Attributes

static $managesetting = null
static $gradereports = null
static $gradereportpreferences = null
static $scaleinfo = null
static $outcomeinfo = null
static $edittree = null
static $letterinfo = null
static $importplugins = null
static $exportplugins = null
static $pluginstrings = null

Detailed Description

Grade helper class

This class provides several helpful functions that work irrespective of any current state.

Definition at line 2275 of file lib.php.


Member Function Documentation

static get_info_edit_structure ( courseid) [static]

Get information on editing structures

Parameters:
int$courseid
Returns:
array

Definition at line 2498 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static get_info_letters ( courseid) [static]

Get information on letters

Parameters:
int$courseid
Returns:
array

Definition at line 2518 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static get_info_manage_settings ( courseid) [static]

Get grade_plugin_info object for managing settings if the user can

Parameters:
int$courseid
Returns:
grade_plugin_info

Definition at line 2364 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static get_info_outcomes ( courseid) [static]

Get information on outcomes

Parameters:
int$courseid
Returns:
grade_plugin_info

Definition at line 2461 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static get_info_scales ( courseid) [static]

Get information on scales

Parameters:
int$courseid
Returns:
grade_plugin_info

Definition at line 2444 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static get_plugin_strings ( ) [static]

Gets strings commonly used by the describe plugins

report => get_string('view'), edittree => get_string('edittree', 'grades'), scale => get_string('scales'), outcome => get_string('outcomes', 'grades'), letter => get_string('letters', 'grades'), export => get_string('export', 'grades'), import => get_string('import'), preferences => get_string('mypreferences', 'grades'), settings => get_string('settings')

Returns:
array

Definition at line 2342 of file lib.php.

Here is the caller graph for this function:

static get_plugins_export ( courseid) [static]

Get information export plugins

Parameters:
int$courseid
Returns:
array

Definition at line 2579 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static get_plugins_import ( courseid) [static]

Get information import plugins

Parameters:
int$courseid
Returns:
array

Definition at line 2540 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static get_plugins_report_preferences ( courseid) [static]

Returns an array of grade plugin report preferences for plugin reports that support preferences

Parameters:
int$courseid
Returns:
array

Definition at line 2432 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static get_plugins_reports ( courseid) [static]

Returns an array of plugin reports as grade_plugin_info objects

Parameters:
int$courseid
Returns:
array

Definition at line 2382 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

$edittree = null [static, protected]

Definition at line 2305 of file lib.php.

$exportplugins = null [static, protected]

Definition at line 2320 of file lib.php.

$gradereportpreferences = null [static, protected]

Definition at line 2290 of file lib.php.

$gradereports = null [static, protected]

Definition at line 2285 of file lib.php.

$importplugins = null [static, protected]

Definition at line 2315 of file lib.php.

$letterinfo = null [static, protected]

Definition at line 2310 of file lib.php.

$managesetting = null [static, protected]

Definition at line 2280 of file lib.php.

$outcomeinfo = null [static, protected]

Definition at line 2300 of file lib.php.

$pluginstrings = null [static, protected]

Definition at line 2325 of file lib.php.

$scaleinfo = null [static, protected]

Definition at line 2295 of file lib.php.


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