4 include_once
'./Services/Mail/classes/class.ilMailNotification.php';
30 $this->language->loadLanguageModule(
'assessment');
32 $this->
setSubject(sprintf($this->language->txt(
'tst_user_finished_test'), $title));
35 $this->
appendBody($this->language->txt(
'user_has_finished_a_test'));
38 $this->
appendBody($this->language->txt(
'title').
': '. $title);
40 $this->
appendBody($this->language->txt(
'username').
': '. $usr_data);
47 $this->
appendBody($this->language->txt(
'tst_notification_explanation_admin'));
49 $this->
getMail()->appendInstallationSignature(
true);
51 $this->
sendMail(array($owner_id),array(
'system'));
64 $this->language->loadLanguageModule(
'assessment');
67 $this->
setSubject(sprintf($this->language->txt(
'tst_user_finished_test'), $title));
70 $this->
appendBody($this->language->txt(
'user_has_finished_a_test'));
73 $this->
appendBody($this->language->txt(
'title').
': '. $title);
75 $this->
appendBody($this->language->txt(
'username').
': '. $usr_data);
82 $this->
appendBody($this->language->txt(
'tst_attached_xls_file'));
85 $this->
appendBody($this->language->txt(
'tst_notification_explanation_admin'));
89 $this->
getMail()->appendInstallationSignature(
true);
91 $this->
sendMail(array($owner_id),array(
'system'));