/
var
/
www
/
html
/
gte
/
blocks
/
course_report
/
Upload File
HOME
<?php class block_course_report extends block_base { public function init() { $this->title = get_string('coursereport', 'block_course_report'); } // The PHP tag and the curly bracket for the class definition // will only be closed after there is another function added in the next section. public function get_content() { global $PAGE, $CFG; $output = html_writer::link( new moodle_url($CFG->wwwroot . '/blocks/course_report/index.php'), 'Acessar os relatórios'); $this->content = new stdClass; $this->content->text = $output; $this->content->footer = ''; return $this->content; } }