Exemple #1
0
 /**
  * Render a notification (that is, a status message about something that has
  * just happened).
  *
  * @param \core\output\notification $notification the notification to print out
  * @return string the HTML to output.
  */
 protected function render_notification(\core\output\notification $notification)
 {
     return $this->render_from_template($notification->get_template_name(), $notification->export_for_template($this));
 }