12345678910111213141516171819202122232425262728293031323334 |
- <?php
- // This file is part of
- //
- // Moodle is free software: you can redistribute it and/or modify
- // it under the terms of the GNU General Public License as published by
- // the Free Software Foundation, either version 3 of the License, or
- // (at your option) any later version.
- //
- // Moodle is distributed in the hope that it will be useful,
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- // GNU General Public License for more details.
- //
- // You should have received a copy of the GNU General Public License
- // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
- class mod_wavefront_renderer extends plugin_renderer_base {
- /**
- * Returns html to display the gradeimporter feedbacks
- * @param object $gradeimporter feedback with which is associated to the user
- */
- public function display_feedback($gradeimporter, $editing = false) {
- global $DB;
- $output = '';
- if ($gradeimporter->intro && !editing) {
- $output .= $this->output->box(format_module_intro('gradeimporter',
- $gradeimporter, $this->page->cm->id),
- 'generalbox', 'intro'
- );
- }
- }
- }
|