Kumi
e3fd691910
Extracts and refactors user selection logic by moving user selector and form functionality into separate class files. This enhances code modularity and reusability across different parts of the application. Adds a detailed user grades report page that displays quiz attempts and grades for selected users, improving user grade reporting. Updates admin settings to include detailed report page link for navigation ease.
16 lines
469 B
PHP
16 lines
469 B
PHP
<?php
|
|
defined('MOODLE_INTERNAL') || die();
|
|
|
|
$ADMIN->add('reports', new admin_externalpage(
|
|
'report_usergrades',
|
|
get_string('pluginname', 'report_usergrades'),
|
|
$CFG->wwwroot . "/report/usergrades/index.php",
|
|
'report/usergrades:view'
|
|
));
|
|
|
|
$ADMIN->add('reports', new admin_externalpage(
|
|
'report_usergrades_details',
|
|
get_string('pluginname', 'report_usergrades'),
|
|
$CFG->wwwroot . "/report/usergrades/index.php",
|
|
'report/usergrades:view'
|
|
));
|