* @return string
*/
public function get_description() {
- return "The blog entry with the id '{$this->other['blogid']}' was associated with the context '{$this->other['associatetype']}' with " .
- "the id '{$this->other['associateid']}' by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' associated the context '{$this->other['associatetype']}' with the id " .
+ "'{$this->other['associateid']}' to the blog entry with the id '{$this->other['blogid']}'.";
}
/**
* @return string
*/
public function get_description() {
- return "The user with the id '$this->userid' added a comment to the blog with the id '{$this->other['itemid']}'.";
+ return "The user with the id '$this->userid' added the comment to the blog with the id '{$this->other['itemid']}'.";
}
}
* @return string
*/
public function get_description() {
- return "The user with the id '$this->userid' deleted comment for the blog with the id '{$this->other['itemid']}'.";
+ return "The user with the id '$this->userid' deleted the comment for the blog with the id '{$this->other['itemid']}'.";
}
}
* @return string
*/
public function get_description() {
- return 'Blog entries viewed';
+ return "The user with the id '$this->userid' viewed blog entries.";
}
/**
* @return string
*/
public function get_description() {
- return "The blog entry with the id '$this->objectid' was created by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' created the blog entry with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The blog entry with the id '$this->objectid' was deleted by user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' deleted the blog entry with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The blog entry with the id '$this->objectid' was updated by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' updated the blog entry with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The event '" . s($this->other['name']) . "' was created by user with the id '$this->userid'.";
+ $eventname = s($this->other['name']);
+ return "The user with the id '$this->userid' created the event '$eventname' with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The event '" . s($this->other['name']) . "' was deleted by the user with the id '{$this->userid}'.";
+ $eventname = s($this->other['name']);
+ return "The user with the id '$this->userid' deleted the event '$eventname' with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The event '" . s($this->other['name']) . "' was updated by the user with the id '{$this->userid}'.";
+ $eventname = s($this->other['name']);
+ return "The user with the id '$this->userid' updated the event '$eventname' with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The cohort with the id '$this->objectid' was created by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' created the cohort with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The cohort with the id '$this->objectid' was deleted by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' deleted the cohort with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The user with the id '$this->relateduserid' was added to the cohort with the id '$this->objectid' by the " .
- "user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' added the user with the id '$this->relateduserid' to the cohort with " .
+ "the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The user with the id '$this->relateduserid' was removed from the cohort with the id '$this->objectid' by the " .
- "user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' removed the user with the id '$this->relateduserid' from the cohort with " .
+ "the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The cohort with the id '$this->objectid' was updated by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' updated the cohort with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The user with the id '$this->userid' added the comment with the id '$this->objectid' for '$this->component' " .
+ return "The user with the id '$this->userid' added the comment with the id '$this->objectid' to the '$this->component' " .
"with the course module id '$this->contextinstanceid'.";
}
* @return string
*/
public function get_description() {
- return "The user with the id '$this->userid' deleted the comment with the id '$this->objectid' for '$this->component' " .
- "with instance id '$this->contextinstanceid'.";
+ return "The user with the id '$this->userid' deleted the comment with the id '$this->objectid' from the '$this->component' " .
+ "with the course module id '$this->contextinstanceid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The course category with the id '$this->objectid' was created by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' created the course category with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The category with the id '$this->objectid' was deleted by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' deleted the course category with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The course category with the id '$this->objectid' was updated by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' updated the course category with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The course with the id '$this->courseid' was completed for the user with the id '$this->relateduserid'.";
+ return "The user with the id '$this->relateduserid' completed the course with the id '$this->courseid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The requirements to complete the course with the id '$this->courseid' was updated by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' updated the requirements to complete the course with the id '$this->courseid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The course with the id '$this->courseid' had content deleted by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' deleted content from course with the id '$this->courseid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The course with the id '$this->objectid' was created by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' created the course with the id '$this->courseid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The course with the id '$this->courseid' was deleted by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' deleted the course with the id '$this->courseid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The user with the id '$this->userid' has started the reset of course '$this->courseid''.";
+ return "The user with the id '$this->userid' has started the reset of the course with the id '$this->courseid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The course with the id '$this->objectid' was restored by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' restored the course with the id '$this->courseid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The course with the id '$this->courseid' was updated by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' updated the course with the id '$this->courseid'.";
}
/**
public function get_description() {
// Check if we are sending from a valid user.
if (\core_user::is_real_user($this->userid)) {
- return "The user with the id '$this->objectid' sent a message to the user with the id '$this->relateduserid'.";
+ return "The user with the id '$this->userid' sent a message to the user with the id '$this->relateduserid'.";
}
return "A message was sent by the system to the user with the id '$this->relateduserid'.";
* @return string
*/
public function get_description() {
- return "Access control created for the user with the username '{$this->other['username']}' belonging to the mnet " .
- "host '{$this->other['hostname']}'.";
+ return "The user with the id '$this->userid' created access control for the user with the username '{$this->other['username']}' " .
+ "belonging to the mnet host '{$this->other['hostname']}'.";
}
/**
* @return string
*/
public function get_description() {
- return "Access control updated for the user with the username '{$this->other['username']}' belonging to the mnet " .
- "host '{$this->other['hostname']}'.";
+ return "The user with the id '$this->userid' updated access control for the user with the username '{$this->other['username']}' " .
+ "belonging to the mnet host '{$this->other['hostname']}'.";
}
/**
* @return string
*/
public function get_description() {
- return "The note with the id '$this->objectid' for the user with the id '$this->relateduserid' was created by the user " .
- "with the id '$this->userid'.";
+ return "The user with the id '$this->userid' created the note with the id '$this->objectid' for the user with the id " .
+ "'$this->relateduserid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The note with the id '$this->objectid' for the user with the id '$this->relateduserid' was deleted by the user " .
- "with the id '$this->userid'.";
+ return "The user with the id '$this->userid' deleted the note with the id '$this->objectid' for the user with the id " .
+ "'$this->relateduserid'";
}
/**
* @return string
*/
public function get_description() {
- return "The note with the id '$this->objectid' for the user with the id '$this->relateduserid' was updated by the user " .
- "with the id '$this->userid'.";
+ return "The user with the id '$this->userid' updated the note with the id '$this->objectid' for the user with the id " .
+ "'$this->relateduserid'";
}
/**
* @return string
*/
public function get_description() {
- return "A question category with the id of '$this->objectid' was created by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' created the question category with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "Allow role assignments updated by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' updated the allowed role assignments.";
}
/**
* @return string
*/
public function get_description() {
- return "Allow role override updated by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' updated the allowed role overrides.";
}
/**
* @return string
*/
public function get_description() {
- return "Allow role switch updated by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' updated the allowed role switches";
}
/**
* @return string
*/
public function get_description() {
- return "The role with the id '$this->objectid' was assigned to the user with the id '$this->relateduserid' " .
- "by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' assigned the role with the id '$this->objectid' to the user with the id " .
+ "'$this->relateduserid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The capabilities for the role with the id '$this->objectid' were updated by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' updated the capabilities for the role with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The role with the id '$this->objectid' was deleted by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' deleted the role with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The role with the id '$this->objectid' was unassigned from the user with the id '$this->relateduserid' " .
- "by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' unassigned the role with the id '$this->objectid' from the user with the " .
+ "id '$this->relateduserid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The tag with the id '$this->objectid' was flagged by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' flagged the tag with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The user with the id '$this->userid' removed the tag with the id '{$this->other['tagid']}' to the item type '" .
+ return "The user with the id '$this->userid' removed the tag with the id '{$this->other['tagid']}' from the item type '" .
s($this->other['itemtype']) . "' with the id '{$this->other['itemid']}'.";
}
* @return string
*/
public function get_description() {
- return "The tag with the id '$this->objectid' was unflagged by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' unflagged the tag with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The tag with the id '$this->objectid' was updated by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' updated the tag with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The user with the id '$this->objectid' was created.";
+ return "The user with the id '$this->userid' created the user with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The user with the id '$this->objectid' was deleted.";
+ return "The user with the id '$this->userid' deleted the user with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The user with the id '$this->relateduserid' was enrolled in the course with the id '$this->courseid' by the " .
- "user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' enrolled the user with the id '$this->relateduserid' in the course with " .
+ "the id '$this->courseid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The user with the id '$this->relateduserid' was unenrolled in the course with the id '$this->courseid' by the " .
- "user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' unenrolled the user with the id '$this->relateduserid' from the course with " .
+ "the id '$this->courseid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The user with the id '$this->userid' updated the grade with the id {$this->objectid} for the user with the " .
+ return "The user with the id '$this->userid' updated the grade with the id '$this->objectid' for the user with the " .
"id '$this->relateduserid' for the grade item with the id '{$this->other['itemid']}'.";
}
public function get_description() {
if ($this->userid == $this->relateduserid) {
if ($this->other['forgottenreset']) {
- return "User $this->userid reset their password";
+ return "The user with the id '$this->userid' reset their password.";
}
- return "User $this->userid changed their password";
+ return "The user with the id '$this->userid' changed their password.";
} else {
- return "User $this->userid changed password of user $this->relateduserid";
+ return "The user with the id '$this->userid' changed the password of the user with the id '$this->relateduserid'.";
}
}
* @return string
*/
public function get_description() {
- return 'The user ' . $this->userid . ' viewed the profile for user ' . $this->relateduserid . ' in the course ' .
- $this->other['courseid'];
+ return "The user with the id '$this->userid' viewed the profile for the user with the id '$this->relateduserid' in the course " .
+ "with the id '{$this->other['courseid']}'.";
}
/**
* @return string
*/
public function get_description() {
- return 'User profile updated for userid '.$this->objectid;
+ return "The user with the id '$this->userid' updated the profile for the user with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The web service service $this->objectid has been created by user $this->userid.";
+ return "The user with the id '$this->userid' created the web service with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The web service service $this->objectid has been deleted by user $this->userid.";
+ return "The user with the id '$this->userid' deleted the web service with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The web service service $this->objectid has been updated by user $this->userid.";
+ return "The user with the id '$this->userid' updated the web service with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The user $this->relateduserid has been added to the web service service $this->objectid.";
+ return "The user with the id '$this->userid' added the user with the id '$this->relateduserid' to the web service " .
+ "with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The user $this->relateduserid has been removed to the web service service $this->objectid.";
+ return "The user with the id '$this->userid' removed the user with the id '$this->relateduserid' from the web service " .
+ "with the id '$this->objectid'.";
}
/**
* @return string
*/
public function get_description() {
- return "A web service token has been created for the user $this->relateduserid.";
+ return "The user with the id '$this->userid' created a web service token for the user with the id '$this->relateduserid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The token $this->objectid has been sent to the user $this->userid.";
+ return "The user with the id '$this->userid' has been sent the web service token with the id '$this->objectid'.";
}
/**
"for the assignment with the course module id '$this->contextinstanceid'.";
}
- return "The user with the id '$this->userid' viewed their submission for the assignment with the the course " .
+ return "The user with the id '$this->userid' viewed their submission for the assignment with the course " .
"module id '$this->contextinstanceid'.";
}
* @return string
*/
public function get_description() {
- return "The chapter with the id '$this->objectid' of the book with the course module id '$this->contextinstanceid'
- has been created by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' created the chapter with the id '$this->objectid' for the book with the " .
+ "course module id '$this->contextinstanceid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The chapter with the id '$this->objectid' of the book with the course module id '$this->contextinstanceid'
- has been deleted by the user with the id '$this->userid.";
+ return "The user with the id '$this->userid' deleted the chapter with the id '$this->objectid' for the book with the " .
+ "course module id '$this->contextinstanceid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The chapter with the id '$this->objectid' of the book with the course module id '$this->contextinstanceid'
- has been updated by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' updated the chapter with the id '$this->objectid' for the book with the " .
+ "course module id '$this->contextinstanceid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The chapter with the id '$this->objectid' of the book with the course module id '$this->contextinstanceid'
- has been viewed by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' viewed the chapter with the id '$this->objectid' for the book with the " .
+ "course module id '$this->contextinstanceid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The user with the id '$this->userid' created the data record the id '$this->objectid' for the data activity " .
+ return "The user with the id '$this->userid' created the data record with the id '$this->objectid' for the data activity " .
"with the course module id '$this->contextinstanceid'.";
}
* @return string
*/
public function get_description() {
- return "The user with the id '$this->userid' deleted the data record the id '$this->objectid' in the data activity " .
+ return "The user with the id '$this->userid' deleted the data record with the id '$this->objectid' in the data activity " .
"with the course module id '$this->contextinstanceid'.";
}
* @return string
*/
public function get_description() {
- return "The user with the id '$this->userid' updated the data record the id '$this->objectid' in the data activity " .
+ return "The user with the id '$this->userid' updated the data record with the id '$this->objectid' in the data activity " .
"with the course module id '$this->contextinstanceid'.";
}
* @return string
*/
public function get_description() {
- return "Read tracking has been disabled for the user with the id '$this->relateduserid' in the forum with the " .
- "course module id '$this->contextinstanceid'.";
+ return "The user with the id '$this->userid' has disabled read tracking for the user with the id '$this->relateduserid' " .
+ "in the forum with the course module id '$this->contextinstanceid'.";
}
/**
* @return string
*/
public function get_description() {
- return "Read tracking has been enabled for the user with the id '$this->relateduserid' in the forum with the " .
- "course module id '$this->contextinstanceid'.";
+ return "The user with the id '$this->userid' has enabled read tracking for the user with the id '$this->relateduserid' " .
+ "in the forum with the course module id '$this->contextinstanceid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The user with the id '$this->relateduserid' was subscribed to the forum with the course module id " .
- "'$this->contextinstanceid' by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' subscribed the user with the id '$this->relateduserid' to the forum with the " .
+ "course module id '$this->contextinstanceid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The user with the id '$this->relateduserid' was unsubscribed to the forum with the course module id " .
- "'$this->contextinstanceid' by the user with the id '$this->userid'.";
+ return "The user with the id '$this->userid' unsubscribed the user with the id '$this->relateduserid' to the forum with the " .
+ "course module id '$this->contextinstanceid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The essay grade for the user with the id '$this->relateduserid' for the attempt with the id " .
- "'$this->objectid' was viewed by the user with the id '$this->userid' for the lesson activity with the " .
- "course module id '$this->contextinstanceid'.";
+ return "The user with the id '$this->userid' viewed the essay grade for the user with the id '$this->relateduserid' for " .
+ "the attempt with the id '$this->objectid' for the lesson activity with the course module id '$this->contextinstanceid'.";
}
/**
* @return string
*/
public function get_description() {
- return "Attempt with the id '$this->objectid' for the user with the id '$this->relateduserid' became overdue.";
+ return "The quiz attempt with the id '$this->objectid' belonging to the quiz with the course module id '$this->contextinstanceid' " .
+ "for the user with the id '$this->relateduserid' became overdue.";
}
/**
* @return string
*/
public function get_description() {
- return 'User with id ' . $this->userid . ' viewed user report for user ' . $this->relateduserid;
+ return "The user with the id '$this->userid' viewed the scorm user report for the user with the id '$this->relateduserid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The submission with the id '$this->objectid' has been assessed by the user with the id '$this->userid' for the user " .
- "with the id '$this->relateduserid' in the workshop with the course module id '$this->contextinstanceid'.";
+ return "The user with the id '$this->userid' assessed the submission with the id '$this->objectid' for the user with " .
+ "the id '$this->relateduserid' in the workshop with the course module id '$this->contextinstanceid'.";
}
/**
* @return string
*/
public function get_description() {
- return "The submission with the id '$this->objectid' has been reassessed by the user with the id '$this->userid' for the user " .
- "with the id '$this->relateduserid' in the workshop with the course module id '$this->contextinstanceid'.";
+ return "The user with the id '$this->userid' reassessed the submission with the id '$this->objectid' for the user with " .
+ "the id '$this->relateduserid' in the workshop with the course module id '$this->contextinstanceid'.";
}
/**