150 $this->obj_id =
$row[
'obj_id'];
151 $this->ref_id =
$row[
'ref_id'];
153 $this->thread_id =
$row[
'thread_id'];
154 $this->thread_title =
$row[
'thr_subject'];
156 $this->forum_id =
$row[
'pos_top_fk'];
157 $this->forum_title =
$row[
'top_name'];
159 $this->post_id =
$row[
'pos_pk'];
160 $this->post_title =
$row[
'pos_subject'];
161 $this->post_message =
$row[
'pos_message'];
162 $this->post_date =
$row[
'pos_date'];
163 $this->post_update =
$row[
'pos_update'];
164 $this->post_update_user_id =
$row[
'update_user'];
166 $this->post_censored =
$row[
'pos_cens'];
167 $this->post_censored_date =
$row[
'pos_cens_date'];
168 $this->post_censored_comment =
$row[
'pos_cens_com'];
170 $this->pos_usr_alias =
$row[
'pos_usr_alias'];
171 $this->pos_display_user_id =
$row[
'pos_display_user_id'];
172 $this->pos_author_id =
$row[
'pos_author_id'];
174 $this->import_name = strlen(
$row[
'import_name']) ?
$row[
'import_name'] :
'';
181 if (isset(
$row[
'deleted_by'])) {
183 $this->deleted_by =
$row[
'deleted_by'];
187 $this->deleted_by = $DIC->user()->getLogin();
209 $filesOfPost = $fileDataForum->getFilesOfPost();
211 foreach ($filesOfPost as $attachment) {
212 $this->attachments[] = $attachment[
'name'];
222 $this->cron_recipients[] = (int) $user_id;
432 if ($this->post_user_name === null) {
450 if ($this->update_user_name === null) {
503 $cacheKey = $this->notificationCache->createKeyByValues(array(
506 (
int) $displayUserId,
511 if (
false === $this->notificationCache->exists($cacheKey)) {
521 $this->notificationCache->store($cacheKey, $authorInformation);
524 return $this->notificationCache->fetch($cacheKey);
getPublicUserInformation(ilForumAuthorInformation $authorinfo)
getPostUpdateUserName(\ilLanguage $user_lang)
string
Class ilForumCronNotificationDataProvider.
setPosAuthorId($pos_author_id)
setPostUpdateUserId($post_update_user_id)
getPostUserName(\ilLanguage $user_lang)
string
static isSendAttachmentsByMailEnabled()
Class ilForumNotificationCache.
__construct($row, ilForumNotificationCache $notificationCache=null)
Interface ilForumNotificationMailData.
setNotificationType($notification_type)
This class handles all operations on files for the forum object.
getAuthorInformation(\ilLanguage $lng, int $authorUsrId, int $displayUserId, string $usrAlias, string $importName)
static $authorInformationCache