4include_once
'./Services/Mail/classes/class.ilMailNotification.php';
26 parent::__construct($a_is_personal_workspace);
28 $this->
user = $DIC->user();
40 $this->question_id = $a_val;
50 return $this->question_id;
87 include_once(
"./Services/User/classes/class.ilUserUtil.php");
93 include_once(
"./Modules/TestQuestionPool/classes/class.assQuestion.php");
102 $this->
getMail()->appendInstallationSignature(
true);
103 $this->
sendMail(array($rcp), array(
'system'));
118 parent::initLanguage($a_usr_id);
119 $this->
getLanguage()->loadLanguageModule(
'content');
sprintf('%.4f', $callTime)
An exception for terminatinating execution or to throw for unit testing.
static _getTitle($a_q_id)
Returns the title of a question.
send()
Send notifications.
getQuestionId()
Get question id.
initLanguage($a_usr_id)
Init language.
__construct($a_is_personal_workspace=false)
Constructor.
setQuestionId($a_val)
Set question id.
Base class for course/group mail notifications.
appendBody($a_body)
Append body text.
sendMail(array $a_rcp, $a_type, $a_parse_recipients=true)
getType()
Get notification type.
getRecipients()
get array of recipients
getObjectTitle($a_shorten=false)
getLanguageText($a_keyword)
createPermanentLink($a_params=array(), $a_append='')
static getSalutation($a_usr_id, ilLanguage $a_language=null)
static getNamePresentation( $a_user_id, $a_user_image=false, $a_profile_link=false, $a_profile_back_link="", $a_force_first_lastname=false, $a_omit_login=false, $a_sortable=true, $a_return_data_array=false, $a_ctrl_path="ilpublicuserprofilegui")
Default behaviour is: