. /** * Feedback remind. * * @package core * @copyright 2020 Shamim Rezaie * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace core\event; defined('MOODLE_INTERNAL') || die(); /** * Class userfeedback_remind * * @package core * @copyright 2020 Shamim Rezaie * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class userfeedback_remind extends base { /** * Initialise required event data properties. */ protected function init() { $this->data['crud'] = 'r'; $this->data['edulevel'] = self::LEVEL_OTHER; } /** * Returns description of what happened. * * @return string */ public function get_description() { return "The user with id '$this->userid' clicked on the remind later to feedback link"; } /** * Return localised event name. * * @return string */ public static function get_name() { return get_string('eventuserfeedbackremind'); } }