芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/public_html/cepali/admin/tool/log/store/standard/tests/fixtures/event.php
. /** * Fixtures for standard log storage testing. * * @package logstore_standard * @copyright 2014 Petr Skoda * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace logstore_standard\event; defined('MOODLE_INTERNAL') || die(); class unittest_executed extends \core\event\base { public static function get_name() { return 'xxx'; } public function get_description() { return 'yyy'; } protected function init() { $this->data['crud'] = 'u'; $this->data['edulevel'] = self::LEVEL_PARTICIPATING; } public function get_url() { return new \moodle_url('/somepath/somefile.php', array('id' => $this->data['other']['sample'])); } /** * The 'other' fields for this event do not need to mapped during backup and restore as they * only contain test values, not IDs for anything on the course. * * @return array Empty array */ public static function get_other_mapping(): array { return []; } }