4include_once 
'./Modules/Forum/interfaces/interface.ilForumNotificationMailData.php';
 
    5include_once 
'./Modules/Forum/classes/class.ilForumProperties.php';
 
    6require_once 
'Modules/Forum/classes/class.ilForumAuthorInformation.php';
 
  148                $this->obj_id = 
$row[
'obj_id'];
 
  149                $this->ref_id = 
$row[
'ref_id'];
 
  151                $this->thread_id    = 
$row[
'thread_id'];
 
  152                $this->thread_title = 
$row[
'thr_subject'];
 
  154                $this->forum_id    = 
$row[
'pos_top_fk'];
 
  155                $this->forum_title = 
$row[
'top_name'];
 
  157                $this->post_id     = 
$row[
'pos_pk'];
 
  158                $this->post_title  = 
$row[
'pos_subject'];
 
  159                $this->post_message  = 
$row[
'pos_message'];
 
  160                $this->post_date   = 
$row[
'pos_date'];
 
  161                $this->post_update = 
$row[
'pos_update'];
 
  162                $this->post_update_user_id = 
$row[
'update_user'];
 
  164                $this->post_censored         = 
$row[
'pos_cens'];
 
  165                $this->post_censored_date    = 
$row[
'pos_cens_date'];
 
  166                $this->post_censored_comment = 
$row[
'pos_cens_com'];
 
  168                $this->pos_usr_alias       = 
$row[
'pos_usr_alias'];
 
  169                $this->pos_display_user_id = 
$row[
'pos_display_user_id'];
 
  170                $this->pos_author_id = 
$row[
'pos_author_id'];
 
  172                $this->import_name = strlen(
$row[
'import_name']) ? 
$row[
'import_name'] : 
'';
 
  190                if(ilForumProperties::isSendAttachmentsByMailEnabled())
 
  193                        include_once 
"./Modules/Forum/classes/class.ilFileDataForum.php";
 
  195                        $filesOfPost   = $fileDataForum->getFilesOfPost();
 
  197                        foreach($filesOfPost as $attachment)
 
  199                                $this->attachments[] = $attachment[
'name'];
 
  209                $this->cron_recipients[] = (int)$user_id;
 
  416                $cacheKey = md5(implode(
'|', array(
 
  424                if (!array_key_exists($cacheKey, self::$authorInformationCache)) {
 
  434                        self::$authorInformationCache[$cacheKey] = $authorInformation;
 
  437                return self::$authorInformationCache[$cacheKey];
 
  445                if (
null === $this->post_user_name) {
 
  463                if ($this->update_user_name === 
null) {
 
An exception for terminatinating execution or to throw for unit testing.
This class handles all operations on files for the forum object.
Class ilForumCronNotificationDataProvider.
getPublicUserInformation(ilForumAuthorInformation $authorinfo)
setPostUpdateUserId($post_update_user_id)
getPostUserName(\ilLanguage $user_lang)
string
static $authorInformationCache
getAuthorInformation(\ilLanguage $lng, $authorUsrId, $displayUserId, $usrAlias, $importName)
setPosAuthorId($pos_author_id)
setNotificationType($notification_type)
getPostUpdateUserName(\ilLanguage $user_lang)
string
Interface ilForumNotificationMailData.