4 include_once
'./Modules/Forum/interfaces/interface.ilForumNotificationMailData.php';
126 $this->obj_id =
$row[
'obj_id'];
127 $this->ref_id =
$row[
'ref_id'];
129 $this->thread_id =
$row[
'thread_id'];
130 $this->thread_title =
$row[
'thr_subject'];
132 $this->forum_id =
$row[
'pos_top_fk'];
133 $this->forum_title =
$row[
'top_name'];
135 $this->post_id =
$row[
'pos_pk'];
136 $this->post_title =
$row[
'pos_subject'];
137 $this->post_message =
$row[
'pos_message'];
138 $this->post_date =
$row[
'pos_date'];
139 $this->post_update =
$row[
'pos_update'];
140 $this->post_update_user_id =
$row[
'update_user'];
142 $this->post_censored =
$row[
'pos_cens'];
143 $this->post_censored_date =
$row[
'pos_cens_date'];
144 $this->post_censored_comment =
$row[
'pos_cens_com'];
146 $this->pos_usr_alias =
$row[
'pos_usr_alias'];
147 $this->pos_display_user_id =
$row[
'pos_display_user_id'];
148 $this->pos_author_id =
$row[
'pos_author_id'];
167 include_once
"./Modules/Forum/classes/class.ilFileDataForum.php";
169 $filesOfPost = $fileDataForum->getFilesOfPost();
171 foreach($filesOfPost as $attachment)
173 $this->attachments[] = $attachment[
'name'];
182 $this->cron_recipients[] = (int)$user_id;
277 $this->post_user_name = $this->
getPosUserAlias() .
' (' . $user_lang->txt(
'frm_pseudonym') .
')';
280 if($this->post_user_name ==
'')
282 $this->post_user_name = $user_lang->txt(
'forums_anonymous');
320 $this->post_user_name = $this->
getPosUserAlias() .
' (' . $user_lang->txt(
'frm_pseudonym') .
')';
323 if($this->post_user_name ==
'')
325 $this->post_user_name = $user_lang->txt(
'forums_anonymous');
static _lookupLogin($a_user_id)
lookup login
Class ilForumCronNotificationDataProvider.
getPostUpdateUserName($user_lang)
setPosAuthorId($pos_author_id)
setPostUpdateUserId($post_update_user_id)
getPostUserName($user_lang)
Interface ilForumNotificationMailData.
setNotificationType($notification_type)
This class handles all operations on files for the forum object.