-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlib.php
More file actions
executable file
·25 lines (19 loc) · 1.21 KB
/
lib.php
File metadata and controls
executable file
·25 lines (19 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/**
* Interazione con il core di Moodle.
*
* @package local
* @subpackage mpa
* @copyright 2015, Michael Soprano, miccighel@gmail.com
*/
function local_mpa_extend_navigation(global_navigation $navigation)
{
global $CFG, $PAGE;
$baseMenu = $navigation->add(get_string('pluginname', 'local_mpa'), new moodle_url($CFG->wwwroot . '/local/mpa/index.php'), null, null, null);
$baseMenu->add(get_string('mpa:studentsummary', 'local_mpa'), new moodle_url($CFG->wwwroot . '/local/mpa/views/studentsummary.php'), null, null, null);
$baseMenu->add(get_string('mpa:studentfeedback', 'local_mpa'), new moodle_url($CFG->wwwroot . '/local/mpa/views/studentfeedback.php'), null, null, null);
$baseMenu->add(get_string('mpa:confidenceassignment', 'local_mpa'), new moodle_url($CFG->wwwroot . '/local/mpa/views/confidenceassignment.php'), null, null, null);
$baseMenu->add(get_string('mpa:studentscore', 'local_mpa'), new moodle_url($CFG->wwwroot . '/local/mpa/views/studentscore.php'), null, null, null);
$baseMenu->add(get_string('mpa:exportdata', 'local_mpa'), new moodle_url($CFG->wwwroot . '/local/mpa/views/exportdata.php'), null, null, null);
$baseMenu->forceopen = true;
}