4 include_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;
62 case self::TYPE_USER_BLOCKED:
87 include_once(
"./Services/User/classes/class.ilUserUtil.php");
93 include_once(
"./Modules/TestQuestionPool/classes/class.assQuestion.php");
102 $this->
getMail()->appendInstallationSignature(
true);
118 parent::initLanguage($a_usr_id);
119 $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.
send()
Send notifications.
__construct($a_is_personal_workspace=false)
Constructor.
getObjectTitle($a_shorten=false)
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:
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.
static getSalutation($a_usr_id, ilLanguage $a_language=null)