MDL-45445 events: added '(optional)' to event params where applicable
This commit is contained in:
@@ -30,14 +30,14 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - int entryid: id of the entry.
|
||||
* - int tagid: id of the tag.
|
||||
* - int userid: id of the user.
|
||||
* - int modid: id of the mod.
|
||||
* - int groupid: id of the group.
|
||||
* - int courseid: id of associated course.
|
||||
* - string search: the string used to search.
|
||||
* - int fromstart: the time to search from.
|
||||
* - int entryid: (optional) id of the entry.
|
||||
* - int tagid: (optional) id of the tag.
|
||||
* - int userid: (optional) id of the user.
|
||||
* - int modid: (optional) id of the mod.
|
||||
* - int groupid: (optional) id of the group.
|
||||
* - int courseid: (optional) id of associated course.
|
||||
* - string search: (optional) the string used to search.
|
||||
* - int fromstart: (optional) the time to search from.
|
||||
* }
|
||||
*
|
||||
* @package core
|
||||
|
||||
@@ -32,8 +32,8 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - string shortname: shortname of course.
|
||||
* - string fullname: fullname of course.
|
||||
* - string shortname: (optional) shortname of course.
|
||||
* }
|
||||
*
|
||||
* @package core
|
||||
|
||||
@@ -32,9 +32,9 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - string shortname: shortname of course.
|
||||
* - string fullname: fullname of course.
|
||||
* - string idnumber: id number of course.
|
||||
* - string shortname: (optional) shortname of course.
|
||||
* - string idnumber: (optional) id number of course.
|
||||
* }
|
||||
*
|
||||
* @package core
|
||||
|
||||
@@ -32,8 +32,8 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - string shortname: shortname of course.
|
||||
* - string fullname: fullname of course.
|
||||
* - string shortname: (optional) shortname of course.
|
||||
* - string fullname: (optional) fullname of course.
|
||||
* }
|
||||
*
|
||||
* @package core
|
||||
|
||||
@@ -34,7 +34,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - string publishstate: the publish state.
|
||||
* - string publishstate: (optional) the publish state.
|
||||
* }
|
||||
*
|
||||
* @package core
|
||||
|
||||
@@ -34,7 +34,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - string publishstate: the publish state.
|
||||
* - string publishstate: (optional) the publish state.
|
||||
* }
|
||||
*
|
||||
* @package core
|
||||
|
||||
@@ -34,7 +34,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - string publishstate: the publish state.
|
||||
* - string publishstate: (optional) the publish state.
|
||||
* }
|
||||
*
|
||||
* @package core
|
||||
|
||||
@@ -34,7 +34,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
*
|
||||
* - int id: role assigned id.
|
||||
* - string component: name of component.
|
||||
* - int itemid: id of the item.
|
||||
* - int itemid: (optional) id of the item.
|
||||
* }
|
||||
*
|
||||
* @package core
|
||||
|
||||
@@ -33,8 +33,8 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* Extra information about event.
|
||||
*
|
||||
* - string shortname: shortname of role.
|
||||
* - string description: role description.
|
||||
* - string archetype: role type.
|
||||
* - string description: (optional) role description.
|
||||
* - string archetype: (optional) role type.
|
||||
* }
|
||||
*
|
||||
* @package core
|
||||
|
||||
@@ -35,7 +35,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
*
|
||||
* - int id: role assigned id.
|
||||
* - string component: name of component.
|
||||
* - int itemid: id of item.
|
||||
* - int itemid: (optional) id of item.
|
||||
* }
|
||||
*
|
||||
* @package core
|
||||
|
||||
@@ -36,8 +36,8 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* Extra information about the event.
|
||||
*
|
||||
* - int itemid: grade item id.
|
||||
* - bool overridden: Is this grade override?
|
||||
* - float finalgrade: the final grade value.
|
||||
* - bool overridden: (optional) Is this grade override?
|
||||
* - float finalgrade: (optional) the final grade value.
|
||||
* }
|
||||
*
|
||||
* @package core
|
||||
|
||||
@@ -32,8 +32,8 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - string courseshortname: the short name of course.
|
||||
* - string coursefullname: the full name of course.
|
||||
* - string courseshortname: (optional) the short name of course.
|
||||
* - string coursefullname: (optional) the full name of course.
|
||||
* }
|
||||
*
|
||||
* @package core
|
||||
|
||||
@@ -31,7 +31,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - string sessionid: session id.
|
||||
* - string sessionid: (optional) session id.
|
||||
* }
|
||||
*
|
||||
* @package core
|
||||
|
||||
@@ -32,9 +32,9 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - int courseid: id of course.
|
||||
* - string courseshortname: shortname of course.
|
||||
* - string coursefullname: fullname of course.
|
||||
* - int courseid: (optional) id of course.
|
||||
* - string courseshortname: (optional) shortname of course.
|
||||
* - string coursefullname: (optional) fullname of course.
|
||||
* }
|
||||
*
|
||||
* @package core
|
||||
|
||||
@@ -31,7 +31,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - string sessionid: session id.
|
||||
* - string sessionid: (optional) session id.
|
||||
* }
|
||||
*
|
||||
* @package core
|
||||
|
||||
@@ -32,7 +32,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - string format: content format.
|
||||
* - string format: (optional) content format.
|
||||
* }
|
||||
*
|
||||
* @package assignsubmission_onlinetext
|
||||
|
||||
@@ -33,7 +33,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* Extra information about event.
|
||||
*
|
||||
* - int choiceid: id of choice.
|
||||
* - int optionid: id of option.
|
||||
* - int optionid: (optional) id of option.
|
||||
* }
|
||||
*
|
||||
* @package mod_choice
|
||||
|
||||
@@ -33,7 +33,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* Extra information about event.
|
||||
*
|
||||
* - int choiceid: id of choice.
|
||||
* - int optionid: id of option.
|
||||
* - int optionid: (optional) id of option.
|
||||
* }
|
||||
*
|
||||
* @package mod_choice
|
||||
|
||||
@@ -31,7 +31,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - string concept: the concept of created entry.
|
||||
* - string concept: (optional) the concept of created entry.
|
||||
* }
|
||||
*
|
||||
* @package mod_glossary
|
||||
|
||||
@@ -31,7 +31,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - string concept: the concept of deleted entry.
|
||||
* - string concept: (optional) the concept of deleted entry.
|
||||
* - string mode: (optional) view mode user was in before deleting entry.
|
||||
* - int|string hook: (optional) hook parameter in the previous view mode.
|
||||
* }
|
||||
|
||||
@@ -31,7 +31,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - string concept: the concept of updated entry (after update).
|
||||
* - string concept: (optional) the concept of updated entry (after update).
|
||||
* }
|
||||
*
|
||||
* @package mod_glossary
|
||||
|
||||
@@ -31,7 +31,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* Extra information about event.
|
||||
*
|
||||
* - int submitterid: id of submitter (null when trigged by CLI script).
|
||||
* - int quizid: id of the quiz.
|
||||
* - int quizid: (optional) id of the quiz.
|
||||
* }
|
||||
*
|
||||
* @package mod_quiz
|
||||
|
||||
@@ -34,7 +34,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* Extra information about event.
|
||||
*
|
||||
* - int submitterid: id of submitter (null when trigged by CLI script).
|
||||
* - int quizid: the id of the quiz.
|
||||
* - int quizid: (optional) the id of the quiz.
|
||||
* }
|
||||
*
|
||||
* @package mod_quiz
|
||||
|
||||
@@ -31,7 +31,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* Extra information about event.
|
||||
*
|
||||
* - int submitterid: id of submitter (null when trigged by CLI script).
|
||||
* - int quizid: the id of the quiz.
|
||||
* - int quizid: (optional) the id of the quiz.
|
||||
* }
|
||||
*
|
||||
* @package mod_quiz
|
||||
|
||||
@@ -32,7 +32,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* Extra information about event properties.
|
||||
*
|
||||
* - string loadedcontent: A reference to the content loaded.
|
||||
* - int instanceid: Instance id of the scorm activity.
|
||||
* - int instanceid: (optional) Instance id of the scorm activity.
|
||||
* }
|
||||
*
|
||||
* @package mod_scorm
|
||||
|
||||
@@ -31,7 +31,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - int section: section id.
|
||||
* - int section: (optional) section id.
|
||||
* }
|
||||
*
|
||||
* @package mod_wiki
|
||||
|
||||
@@ -31,7 +31,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about event.
|
||||
*
|
||||
* - string newcontent: updated content.
|
||||
* - string newcontent: (optional) updated content.
|
||||
* }
|
||||
*
|
||||
* @package mod_wiki
|
||||
|
||||
@@ -31,8 +31,8 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about the event.
|
||||
*
|
||||
* - int workshopid: Workshop ID.
|
||||
* - int submissionid: Submission ID.
|
||||
* - int workshopid: (optional) Workshop ID.
|
||||
* }
|
||||
*
|
||||
* @package mod_workshop
|
||||
|
||||
@@ -31,7 +31,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about the event.
|
||||
*
|
||||
* - string submissiontitle: Submission title.
|
||||
* - string submissiontitle: (optional) Submission title.
|
||||
* }
|
||||
*
|
||||
* @package mod_workshop
|
||||
|
||||
@@ -31,9 +31,9 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about the event.
|
||||
*
|
||||
* - int workshopid: Workshop ID.
|
||||
* - int submissionid: Submission ID.
|
||||
* - float grade: Assessment grade.
|
||||
* - int workshopid: (optional) Workshop ID.
|
||||
* - float grade: (optional) Assessment grade.
|
||||
* }
|
||||
*
|
||||
* @package mod_workshop
|
||||
|
||||
@@ -31,7 +31,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about the event.
|
||||
*
|
||||
* - string submissiontitle: Submission title.
|
||||
* - string submissiontitle: (optional) Submission title.
|
||||
* }
|
||||
*
|
||||
* @package mod_workshop
|
||||
|
||||
@@ -31,7 +31,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @property-read array $other {
|
||||
* Extra information about the event.
|
||||
*
|
||||
* - int workshopid: workshop ID.
|
||||
* - int workshopid: (optional) workshop ID.
|
||||
* }
|
||||
*
|
||||
* @package mod_workshop
|
||||
|
||||
Reference in New Issue
Block a user