4 include_once
'./Services/Mail/classes/class.ilMailNotification.php';
23 $this->question_id = $a_val;
33 return $this->question_id;
46 case self::TYPE_USER_BLOCKED:
67 include_once(
"./Services/User/classes/class.ilUserUtil.php");
72 include_once(
"./Modules/TestQuestionPool/classes/class.assQuestion.php");
80 $this->
getMail()->appendInstallationSignature(
true);
96 parent::initLanguage($a_usr_id);
97 $this->
getLanguage()->loadLanguageModule(
'content');
getType()
Get notification type.
setQuestionId($a_val)
Set question id.
getLanguageText($a_keyword)
getQuestionId()
Get question id.
Base class for course/group mail notifications.
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)
Default behaviour is:
send()
Send notifications.
getObjectTitle($a_shorten=false)
Create styles array
The data for the language used.
sendMail(array $a_rcp, $a_type, $a_parse_recipients=true)
getRecipients()
get array of recipients
createPermanentLink($a_params=array(), $a_append='')
initLanguage($a_usr_id)
Init language.
appendBody($a_body)
Append body text.
static _getTitle($a_q_id)
Returns the title of a question.