*
* Both events could be triggered in a row, first the uploaded, then the submitted.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type array pathnamehashes uploaded files path name hashes.
+ * @type string content string.
+ * }
+ *
* @package core
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*
* Class for event to be triggered when a new blog entry is associated with a context.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string associatetype type of blog association, course/coursemodule.
+ * @type int blogid id of blog.
+ * @type int associateid id of associate.
+ * @type string subject blog subject.
+ * }
+ *
* @package core
* @copyright 2013 onwards Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*
* Class for event to be triggered when blog entries are viewed.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int courseid id of associated course.
+ * }
+ *
* @package core
* @copyright 2013 onwards Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*
* This class has to be extended by any event which is triggred while creating new comment.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int itemid id of item for which comment is added.
+ * }
+ *
* @package core
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*
* This class has to be extended by any event which is triggred while deleting comment.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int itemid id of item for which comment is deleted.
+ * }
+ *
* @package core
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* $event->trigger();
* where \report_participation\event\content_viewed extends \core\event\content_viewed
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string content viewed content identifier.
+ * }
+ *
* @package core
* @copyright 2013 Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
defined('MOODLE_INTERNAL') || die();
/**
- * category deleted event.
+ * Category deleted event.
+ *
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string name category name.
+ * }
*
* @package core
* @copyright 2013 Mark Nelson <markn@moodle.com>
/**
* Course content_deleted event.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type array options list of options which were skipped while deleting course content.
+ * }
+ *
* @package core
* @copyright 2013 Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Course created event.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string shortname shortname of course.
+ * @type string fullname fullname of course.
+ * }
+ *
* @package core
* @copyright 2013 Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Course deleted event.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string shortname shortname of course.
+ * @type string fullname fullname of course.
+ * @type string idnumber id number of course.
+ * }
+ *
* @package core
* @copyright 2013 Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Event to be triggered when a new course module is created.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string modulename name of module created.
+ * @type string name title of module.
+ * @type string instanceid id of module instance.
+ * }
+ *
* @package core
* @copyright 2013 Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later.
*
* Class for event to be triggered when a course module is deleted.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string modulename name of module deleted.
+ * @type string instanceid id of module instance.
+ * }
+ *
* @package core
* @copyright 2013 Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later.
*
* Class for event to be triggered when a course module is updated.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string modulename name of module updated.
+ * @type string name title of module.
+ * @type string instanceid id of module instance.
+ * }
+ *
* @package core
* @copyright 2013 Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later.
/**
* core course reset ended event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type array reset_options all reset options settings including courseid.
+ * }
+ *
* @package core
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* core course reset started event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type array reset_options all reset options settings including courseid.
+ * }
+ *
* @package core
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Course restored event.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string type restore type, activity, course or section.
+ * @type int target where restored (new/existing/current/adding/deleting)
+ * @type int mode execution mode
+ * @type string opertaion restore
+ * @type boolean samesite true is restored to same site.
+ * }
+ *
* @package core
* @copyright 2013 Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Course section updated.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int sectionnum section number.
+ * }
+ *
* @package core
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Course updated event.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string shortname shortname of course.
+ * @type string fullname fullname of course.
+ * }
+ *
* @package core
* @copyright 2013 Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* core_group member added event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string component name of component
+ * @type int itemid id of item.
+ * }
+ *
* @package core_group
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*
* Class for event to be triggered when a note is created.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string publishstate publish state.
+ * }
+ *
* @package core
* @copyright 2013 Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*
* Class for event to be triggered when a note is deleted.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string publishstate publish state
+ * }
+ *
* @package core
* @copyright 2013 Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*
* Class for event to be triggered when a note is updated.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string publishstate publish state.
+ * }
+ *
* @package core
* @copyright 2013 Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*
* Class for event to be triggered when a note is viewed.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string content hard-coded to notes.
+ * }
+ *
* @package core
* @copyright 2013 Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Role assigned event.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int id role assigned id.
+ * @type string component name of component.
+ * @type int itemid id of item.
+ * }
+ *
* @package core
* @copyright 2013 Petr Skoda {@link http://skodak.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Role assigned event.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string shortname shortname of role.
+ * @type string description role description.
+ * @type string archetype role type.
+ * }
+ *
* @package core_event
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Role unassigned event.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int id role assigned id.
+ * @type string component name of component.
+ * @type int itemid id of item.
+ * }
+ *
* @package core
* @copyright 2013 Petr Skoda {@link http://skodak.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Event when user profile is deleted.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string username name of user.
+ * @type string email user email.
+ * @type string idnumber user idnumber.
+ * @type string picture user picture.
+ * @type int mnethostid mnet host id.
+ * }
+ *
* @package core
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Event when user is enrolled in a course.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string enrol name of enrolment instance.
+ * }
+ *
* @package core
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* User enrolment deleted event.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string enrol name of enrolment instance.
+ * @type array userenrolment user_enrolment record.
+ * }
+ *
* @package core
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Event when user enrolment is updated.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string enrol name of enrolment instance.
+ * }
+ *
* @package core
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Defines the user list viewed event.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int courseid id of course.
+ * @type string courseshortname short name of course.
+ * @type string coursefullname full name of course.
+ * }
+ *
* @package core
* @copyright 2013 Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* User login event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string username name of user.
+ * }
+ *
* @package core
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* User loggedinas event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string originalusername original username.
+ * @type string loggedinasusername username of logged in as user.
+ * }
+ *
* @package core
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Event when user logout.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string sessionid session id.
+ * }
+ *
* @package core
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Defines the user profile viewed event.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int courseid id of course.
+ * @type string courseshortname short name of course.
+ * @type string coursefullname fullname of course.
+ * }
+ *
* @package core
* @copyright 2013 Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* core webservice function_called event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string function name of the function.
+ * }
+ *
* @package core
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* core web service login_failed event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string method authentication method.
+ * @type string reason failure reason.
+ * @type string tokenid id of token.
+ * }
+ *
* @package core
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* core webservice service created event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string sessionid session id.
+ * }
+ *
* @package core
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* core webservice token_created event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type bool auto automatically created.
+ * }
+ *
* @package core
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_assign assessable submitted event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type bool submission_editable is submission editable.
+ * }
+ *
* @package mod_assign
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_assign marker updated event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int markerid userid id of marker.
+ * }
+ *
* @package mod_assign
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_assign submission status updated event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string newstatus status of submission.
+ * }
+ *
* @package mod_assign
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_assign workflow state updated event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string newstatus status of submission.
+ * }
+ *
* @package mod_assign
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* assignsubmission_file assessable uploaded event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type array pathnamehashes uploaded files path name hash.
+ * @type string content empty string.
+ * }
+ *
* @package assignsubmission_file
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* assignsubmission_onlinetext assessable uploaded event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type array pathnamehashes uploaded files path name hashes.
+ * @type string content string.
+ * @type string format content format.
+ * }
+ *
* @package assignsubmission_onlinetext
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
$this->data['objecttable'] = 'assign_submission';
}
+ /**
+ * Validation that should be shared among child classes.
+ *
+ * @throws \coding_exception when validation fails.
+ * @return void
+ */
+ protected function validate_data() {
+ parent::validate_data();
+ if (!isset($this->other['format']) || !is_string($this->other['format'])) {
+ throw new \coding_exception('format must be set in $other and must be a string.');
+ }
+ }
}
/**
* assignment_online assessable uploaded event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type array pathnamehashes uploaded files path name hashes.
+ * @type string content submission text.
+ * @type string triggeredfrom name of the function from which it is triggred.
+ * }
+ *
* @package assignment_online
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* assignment_submitted assessable uploaded event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int assignmentid assignment id.
+ * @type bool submission_editable is submission editable.
+ * }
+ *
* @package assignment_submitted
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
if (!isset($this->other['submission_editable'])) {
throw new \coding_exception('Other must contain the key submission_editable.');
}
+ if (!isset($this->other['assignmentid'])) {
+ throw new \coding_exception('Other must contain the key assignmentid.');
+ }
}
}
/**
* assignment_upload assessable uploaded event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type array pathnamehashes uploaded files path name hashes.
+ * @type string content empty string.
+ * @type int assignmentid assignment id.
+ * }
+ *
* @package assignment_upload
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_chat sessions viewed event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int start start of period.
+ * @type int end end of period.
+ * }
+ *
* @package mod_chat
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_choice answer submitted event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int choiceid id of choice.
+ * @type int optionid id of option
+ * }
+ *
* @package mod_choice
* @copyright 2013 Adrian Greeve <adrian@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_choice answer updated event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int choiceid id of choice.
+ * @type int optionid id of option
+ * }
+ *
* @package mod_choice
* @copyright 2013 Adrian Greeve <adrian@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Event for when a choice activity report is viewed.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string content viewed content identifier.
+ * }
+ *
* @package mod_choice
* @copyright 2013 Adrian Greeve
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Event for when a feedback activity is viewed.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int anonymous if feedback is anonymous.
+ * @type int cmid course module id.
+ * }
+ *
* @package mod_feedback
* @copyright 2013 Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*
* Class for event to be triggered when a feedback response is deleted.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int anonymous if feedback is anonymous.
+ * @type int cmid course module id.
+ * @type int instanceid id of instance.
+ * }
+ *
* @package mod_feedback
* @copyright 2013 Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later.
*
* Class for event to be triggered when a feedback response is submitted.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int anonymous if feedback is anonymous.
+ * @type int cmid course module id.
+ * @type int instanceid id of instance.
+ * }
+ *
* @package mod_feedback
* @copyright 2013 Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later.
/**
* mod_forum assessable uploaded event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type array pathnamehashes uploaded files path name hashes.
+ * @type string content post discussion message.
+ * @type int discussionid id of discussion.
+ * @type string triggeredfrom name of the function from where event is triggred.
+ * }
+ *
* @package mod_forum
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Event for when something happens with an unknown lti service API call.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string body raw body.
+ * @type string messageid id of message.
+ * @type string messagetype type of message.
+ * @type string consumerkey key of consumer.
+ * @type string sharedsecret shared secret key.
+ * }
+ *
* @package mod_lti
* @copyright 2013 Adrian Greeve <adrian@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Event for when a quiz attempt is abandoned.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int submitterid id of submitter.
+ * }
+ *
* @package mod_quiz
* @copyright 2013 Adrian Greeve <adrian@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* Please note that the name of this event is not following the event naming convention.
* Its name should not be used as a reference for other events to be created.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int submitterid id of submitter.
+ * }
+ *
* @package mod_quiz
* @copyright 2013 Adrian Greeve <adrian@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Event for when a quiz attempt is submitted.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int submitterid id of submitter.
+ * }
+ *
* @package mod_quiz
* @copyright 2013 Adrian Greeve <adrian@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_wiki comment created event.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int itemid id of item for which comment is created.
+ * }
+ *
* @package mod_wiki
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_wiki comment deleted event.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int itemid id of item for which comment is deleted.
+ * }
+ *
* @package mod_wiki
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_wiki page deleted.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int subwikiid id subwiki.
+ * }
+ *
* @package mod_wiki
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_wiki diff viewed event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int comparewith version number to compare with.
+ * @type int compare version number to compare.
+ * }
+ *
* @package mod_wiki
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_wiki page locks deleted (override locks)
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int section section id.
+ * }
+ *
* @package mod_wiki
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_wiki map viewed event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int option map option viewed.
+ * }
+ *
* @package mod_wiki
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_wiki page updated.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string newcontent updated content.
+ * }
+ *
* @package mod_wiki
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_wiki page version deleted.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int pageid id wiki page.
+ * }
+ *
* @package mod_wiki
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_wiki version restored event.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int pageid id wiki page.
+ * }
+ *
* @package mod_wiki
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_wiki version viewed event.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type int versionid id page version.
+ * }
+ *
* @package mod_wiki
* @copyright 2013 Rajesh Taneja <rajesh@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* mod_workshop assessable uploaded event class.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type array pathnamehashes uploaded files path name hashes.
+ * @type string content string.
+ * }
+ *
* @package mod_workshop
* @copyright 2013 Frédéric Massart
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Event triggered, when some content in log report is viewed.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string content viewed content identifier.
+ * @type string url (optional) url of report page.
+ * }
+ *
* @package report_log
* @copyright 2013 Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Event triggered, when some content in loglive report is viewed.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string content viewed content identifier.
+ * @type string url (optional) url of report page.
+ * }
+ *
* @package report_loglive
* @copyright 2013 Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Event for when some content in outline report is viewed.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string content viewed content identifier.
+ * @type string url (optional) url of report page.
+ * }
+ *
* @package report_outline
* @copyright 2013 Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Event triggered, when some content in participation report is viewed.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string content viewed content identifier.
+ * @type string url (optional) url of report page.
+ * }
+ *
* @package report_participation
* @copyright 2013 Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* Event triggered, when some content in stats report is viewed.
*
+ * @property-read array $other {
+ * Extra information about event.
+ *
+ * @type string content viewed content identifier.
+ * @type string url (optional) url of report page.
+ * }
+ *
* @package report_stats
* @copyright 2013 Ankit Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later