Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/grade/edit/outcome/index.php File Reference

Go to the source code of this file.

Namespaces

namespace  moodlecore

Functions

 grade_print_scale_link ($courseid, $scale, $gpr)

Variables

 $courseid = optional_param('id', 0, PARAM_INT)
 $action = optional_param('action', '', PARAM_ALPHA)
 $strshortname = get_string('outcomeshortname', 'grades')
 Make sure they can even access this course.
 $strfullname = get_string('outcomefullname', 'grades')
 $strscale = get_string('scale')
 $strstandardoutcome = get_string('outcomesstandard', 'grades')
 $strcustomoutcomes = get_string('outcomescustom', 'grades')
 $strcreatenewoutcome = get_string('outcomecreate', 'grades')
 $stritems = get_string('items', 'grades')
 $strcourses = get_string('courses')
 $stredit = get_string('edit')
switch($action$systemcontext = get_context_instance(CONTEXT_SYSTEM)
 $caneditsystemscales = has_capability('moodle/course:managescales', $systemcontext)
 $heading = get_string('outcomes', 'grades')
if($courseid and $outcomes=grade_outcome::fetch_all_local($courseid))
if($outcomes=grade_outcome::fetch_all_global())
if($courseid
foreach ($outcomes_tables as $table)
 if (!empty($outcomes_tables))

Function Documentation

grade_print_scale_link ( courseid,
scale,
gpr 
)

Local shortcut function for creating a link to a scale.

Parameters:
int$courseidThe Course ID
grade_scale$scaleThe Scale to link to
grade_plugin_return$gprAn object used to identify the page we just came from
Returns:
string html

Definition at line 250 of file index.php.

Here is the call graph for this function:


Variable Documentation

Definition at line 31 of file index.php.

$caneditsystemscales = has_capability('moodle/course:managescales', $systemcontext)

Definition at line 110 of file index.php.

Definition at line 30 of file index.php.

$heading = get_string('outcomes', 'grades')

Definition at line 123 of file index.php.

$strcourses = get_string('courses')

Definition at line 66 of file index.php.

$strcreatenewoutcome = get_string('outcomecreate', 'grades')

Definition at line 64 of file index.php.

$strcustomoutcomes = get_string('outcomescustom', 'grades')

Definition at line 63 of file index.php.

$stredit = get_string('edit')

Definition at line 67 of file index.php.

$strfullname = get_string('outcomefullname', 'grades')

Definition at line 60 of file index.php.

$stritems = get_string('items', 'grades')

Definition at line 65 of file index.php.

$strscale = get_string('scale')

Definition at line 61 of file index.php.

$strshortname = get_string('outcomeshortname', 'grades')

Make sure they can even access this course.

Definition at line 59 of file index.php.

$strstandardoutcome = get_string('outcomesstandard', 'grades')

Definition at line 62 of file index.php.

Definition at line 109 of file index.php.

if ($courseid and $outcomes=grade_outcome::fetch_all_local($courseid)) if ($outcomes=grade_outcome::fetch_all_global()) if ($courseid) foreach($outcomes_tables as $table)

Definition at line 230 of file index.php.

if(!empty($outcomes_tables))

Definition at line 236 of file index.php.

 All Data Structures Namespaces Files Functions Variables Enumerations