-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreport.php
30 lines (23 loc) · 926 Bytes
/
report.php
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
26
27
28
29
30
<?php
//This file is a part of random_mail_send local plugin.
//
//Local plugin - random_mail_send is an application
//for user finding and saving for sending random mail.
//
//This application is developed as per task assigned by lingel learning.
/**
* a report showing random mail sending status
*
* @package local_random_mail_send
* @copyright 2022 Krishna Mohan Prasad <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
use local_random_mail_send\table\report_table;
require_once '../../config.php';
require_once $CFG->libdir . '/adminlib.php';
admin_externalpage_setup('sendraandommails');
$PAGE->navbar->add(get_string('reportlabel', 'local_random_mail_send'), new moodle_url('/local/random_mail_send/report.php'));
echo $OUTPUT->header();
$report_table = new report_table('local_random_mail_send_report');
$report_table->out(10, true);
echo $OUTPUT->footer();