ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilObjForumNotificationDataProvider Class Reference

Class ilObjForumNotificationDataProvider. More...

+ Inheritance diagram for ilObjForumNotificationDataProvider:
+ Collaboration diagram for ilObjForumNotificationDataProvider:

Public Member Functions

 __construct (ilForumPost $objPost, $ref_id, \ilForumNotificationCache $notificationCache)
 
 getRefId ()
 
 getObjId ()
 
 getThreadId ()
 
 getPostId ()
 
 getForumId ()
 
 getForumTitle ()
 
 getThreadTitle ()
 
 getPostTitle ()
 
 getPostMessage ()
 
 getPosDisplayUserId ()
 
 getPostDate ()
 
 getPostUpdate ()
 
 getPostCensored ()
 
 getPostCensoredDate ()
 
 getCensorshipComment ()
 
 getAttachments ()
 
 getPosUserAlias ()
 
 isAnonymized ()
 
 getImportName ()
 
 getPostUpdateUserId ()
 
Returns
int
More...
 
 getPostUserName (\ilLanguage $user_lang)
 
Parameters
\ilLanguage$user_lang
Returns
string
More...
 
 getPostUpdateUserName (\ilLanguage $user_lang)
 
Parameters
\ilLanguage$user_lang
Returns
string
More...
 
 getPublicUserInformation (ilForumAuthorInformation $authorinfo)
 
 getForumNotificationRecipients ()
 
 getThreadNotificationRecipients ()
 
 getPostAnsweredRecipients ()
 
 getPostActivationRecipients ()
 
 setPosAuthorId ($pos_author_id)
 
 getPosAuthorId ()
 
 getDeletedBy ()
 

Data Fields

 $pos_author_id = 0
 
 $objPost
 

Protected Member Functions

 read ()
 

Protected Attributes

 $ref_id = 0
 
 $obj_id = 0
 
 $post_user_name = null
 
 $update_user_name = null
 
 $forum_id = 0
 
 $forum_title = ''
 
 $thread_title = ''
 
 $attachments = []
 
 $is_anonymized = false
 

Private Member Functions

 readThreadTitle ()
 
 readForumData ()
 
 readAttachments ()
 
 getRefIdsByObjId (int $objId)
 
 createRecipientArray (\ilPDOStatement $statement)
 
 shouldUsePseudonym ()
 

Private Attributes

 $db
 
 $access
 
 $user
 
 $notificationCache
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilObjForumNotificationDataProvider::__construct ( ilForumPost  $objPost,
  $ref_id,
\ilForumNotificationCache  $notificationCache 
)
Parameters
ilForumPost$objPost
int$ref_id
ilForumNotificationCache$notificationCache

Definition at line 47 of file class.ilObjForumNotificationDataProvider.php.

References $DIC, $notificationCache, $objPost, $ref_id, ilObject\_lookupObjId(), read(), and user().

48  {
49  global $DIC;
50  $this->db = $DIC->database();
51  $this->access = $DIC->access();
52  $this->user = $DIC->user();
53 
54  $this->notificationCache = $notificationCache;
55 
56  $this->objPost = $objPost;
57  $this->ref_id = $ref_id;
58  $this->obj_id = ilObject::_lookupObjId($ref_id);
59  $this->read();
60  }
global $DIC
Definition: saml.php:7
user()
Definition: user.php:4
static _lookupObjId($a_id)
+ Here is the call graph for this function:

Member Function Documentation

◆ createRecipientArray()

ilObjForumNotificationDataProvider::createRecipientArray ( \ilPDOStatement  $statement)
private
Parameters
\ilPDOStatement$statement- statement to be executed by the database needs to a 'user_id' as result
Returns
int[]

Definition at line 520 of file class.ilObjForumNotificationDataProvider.php.

References $row, getObjId(), and getRefIdsByObjId().

Referenced by getForumNotificationRecipients(), and getThreadNotificationRecipients().

520  : array
521  {
522  $refIds = $this->getRefIdsByObjId((int) $this->getObjId());
523 
524  $usrIds = [];
525  while ($row = $this->db->fetchAssoc($statement)) {
526  foreach ($refIds as $refId) {
527  if ($this->access->checkAccessOfUser($row['user_id'], 'read', '', $refId)) {
528  $usrIds[] = (int) $row['user_id'];
529  }
530  }
531  }
532 
533  return $usrIds;
534  }
$row
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAttachments()

ilObjForumNotificationDataProvider::getAttachments ( )
Returns
array file names

Implements ilForumNotificationMailData.

Definition at line 181 of file class.ilObjForumNotificationDataProvider.php.

References $attachments.

◆ getCensorshipComment()

ilObjForumNotificationDataProvider::getCensorshipComment ( )
Returns
string

Implements ilForumNotificationMailData.

Definition at line 173 of file class.ilObjForumNotificationDataProvider.php.

174  {
175  return $this->objPost->getCensorshipComment();
176  }

◆ getDeletedBy()

ilObjForumNotificationDataProvider::getDeletedBy ( )
Returns
string

Implements ilForumNotificationMailData.

Definition at line 539 of file class.ilObjForumNotificationDataProvider.php.

References $DIC, and shouldUsePseudonym().

540  {
541  global $DIC;
542 
543  if ($this->shouldUsePseudonym()) {
544  return (string) $this->objPost->getUserAlias();
545  }
546  return $DIC->user()->getLogin();
547  }
global $DIC
Definition: saml.php:7
+ Here is the call graph for this function:

◆ getForumId()

ilObjForumNotificationDataProvider::getForumId ( )
Returns
int

Implements ilForumNotificationMailData.

Definition at line 97 of file class.ilObjForumNotificationDataProvider.php.

References $forum_id.

Referenced by getForumNotificationRecipients().

+ Here is the caller graph for this function:

◆ getForumNotificationRecipients()

ilObjForumNotificationDataProvider::getForumNotificationRecipients ( )
Returns
array

Definition at line 372 of file class.ilObjForumNotificationDataProvider.php.

References $res, createRecipientArray(), getForumId(), and user().

Referenced by ilForumAppEventListener\delegateNotification().

373  {
374  $cacheKey = $this->notificationCache->createKeyByValues(array(
375  'forum',
376  $this->getForumId(),
377  $this->user->getId()
378  ));
379 
380  if (false === $this->notificationCache->exists($cacheKey)) {
381  $res = $this->db->queryf(
382  '
383  SELECT frm_notification.user_id FROM frm_notification, frm_data
384  WHERE frm_data.top_pk = %s
385  AND frm_notification.frm_id = frm_data.top_frm_fk
386  AND frm_notification.user_id != %s
387  GROUP BY frm_notification.user_id',
388  array('integer', 'integer'),
389  array($this->getForumId(), $this->user->getId())
390  );
391 
392  $rcps = $this->createRecipientArray($res);
393  $this->notificationCache->store($cacheKey, $rcps);
394  }
395 
396  $rcps = $this->notificationCache->fetch($cacheKey);
397 
398  return array_unique($rcps);
399  }
user()
Definition: user.php:4
foreach($_POST as $key=> $value) $res
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getForumTitle()

ilObjForumNotificationDataProvider::getForumTitle ( )
Returns
string frm_data.top_name

Implements ilForumNotificationMailData.

Definition at line 105 of file class.ilObjForumNotificationDataProvider.php.

References $forum_title.

◆ getImportName()

ilObjForumNotificationDataProvider::getImportName ( )
Returns
string

Definition at line 204 of file class.ilObjForumNotificationDataProvider.php.

Referenced by getPostUpdateUserName(), and getPostUserName().

205  {
206  return $this->objPost->getImportName();
207  }
+ Here is the caller graph for this function:

◆ getObjId()

ilObjForumNotificationDataProvider::getObjId ( )
Returns
int

Implements ilForumNotificationMailData.

Definition at line 73 of file class.ilObjForumNotificationDataProvider.php.

References $obj_id.

Referenced by createRecipientArray(), readAttachments(), readForumData(), and readThreadTitle().

+ Here is the caller graph for this function:

◆ getPosAuthorId()

ilObjForumNotificationDataProvider::getPosAuthorId ( )
Returns
int

Implements ilForumNotificationMailData.

Definition at line 492 of file class.ilObjForumNotificationDataProvider.php.

References $pos_author_id.

Referenced by getPostUpdateUserName(), and getPostUserName().

+ Here is the caller graph for this function:

◆ getPosDisplayUserId()

ilObjForumNotificationDataProvider::getPosDisplayUserId ( )
Returns
string frm_posts.pos_display_user_id

Implements ilForumNotificationMailData.

Definition at line 137 of file class.ilObjForumNotificationDataProvider.php.

Referenced by getPostUserName().

138  {
139  return $this->objPost->getDisplayUserId();
140  }
+ Here is the caller graph for this function:

◆ getPostActivationRecipients()

ilObjForumNotificationDataProvider::getPostActivationRecipients ( )
Returns
array

Definition at line 463 of file class.ilObjForumNotificationDataProvider.php.

References ilForum\_getModerators(), and getRefId().

Referenced by ilForumAppEventListener\delegateNotification().

464  {
465  $cacheKey = $this->notificationCache->createKeyByValues(array(
466  'post_activation',
467  $this->getRefId()
468  ));
469 
470  if (false === $this->notificationCache->exists($cacheKey)) {
471  // get moderators to notify about needed activation
472  $rcps = ilForum::_getModerators($this->getRefId());
473  $this->notificationCache->store($cacheKey, $rcps);
474  }
475 
476  $rcps = $this->notificationCache->fetch($cacheKey);
477 
478  return (array) $rcps;
479  }
static _getModerators($a_ref_id)
get all users assigned to local role il_frm_moderator_<frm_ref_id> (static)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPostAnsweredRecipients()

ilObjForumNotificationDataProvider::getPostAnsweredRecipients ( )
Returns
array

Definition at line 440 of file class.ilObjForumNotificationDataProvider.php.

Referenced by ilForumAppEventListener\delegateNotification().

441  {
442  $cacheKey = $this->notificationCache->createKeyByValues(array(
443  'post_answered',
444  $this->objPost->getParentId()
445  ));
446 
447  if (false === $this->notificationCache->exists($cacheKey)) {
448  $parent_objPost = new ilForumPost($this->objPost->getParentId());
449 
450  $this->notificationCache->store($cacheKey, $parent_objPost);
451  }
452 
453  $parent_objPost = $this->notificationCache->fetch($cacheKey);
454  $rcps = array();
455  $rcps[] = $parent_objPost->getPosAuthorId();
456 
457  return $rcps;
458  }
+ Here is the caller graph for this function:

◆ getPostCensored()

ilObjForumNotificationDataProvider::getPostCensored ( )
Returns
bool frm_posts.pos_cens

Implements ilForumNotificationMailData.

Definition at line 160 of file class.ilObjForumNotificationDataProvider.php.

161  {
162  return $this->objPost->isCensored();
163  }

◆ getPostCensoredDate()

ilObjForumNotificationDataProvider::getPostCensoredDate ( )
Returns
string frm_posts.pos_cens_date

Implements ilForumNotificationMailData.

Definition at line 168 of file class.ilObjForumNotificationDataProvider.php.

169  {
170  return $this->objPost->getCensoredDate();
171  }

◆ getPostDate()

ilObjForumNotificationDataProvider::getPostDate ( )
Returns
string frm_posts.pos_date

Implements ilForumNotificationMailData.

Definition at line 145 of file class.ilObjForumNotificationDataProvider.php.

146  {
147  return $this->objPost->getCreateDate();
148  }

◆ getPostId()

ilObjForumNotificationDataProvider::getPostId ( )
Returns
int

Implements ilForumNotificationMailData.

Definition at line 89 of file class.ilObjForumNotificationDataProvider.php.

90  {
91  return $this->objPost->getId();
92  }

◆ getPostMessage()

ilObjForumNotificationDataProvider::getPostMessage ( )
Returns
string frm_posts.pos_message

Implements ilForumNotificationMailData.

Definition at line 129 of file class.ilObjForumNotificationDataProvider.php.

130  {
131  return $this->objPost->getMessage();
132  }

◆ getPostTitle()

ilObjForumNotificationDataProvider::getPostTitle ( )
Returns
string frm_posts.pos_subject

Implements ilForumNotificationMailData.

Definition at line 121 of file class.ilObjForumNotificationDataProvider.php.

122  {
123  return $this->objPost->getSubject();
124  }

◆ getPostUpdate()

ilObjForumNotificationDataProvider::getPostUpdate ( )
Returns
string frm_posts.pos_update

Implements ilForumNotificationMailData.

Definition at line 153 of file class.ilObjForumNotificationDataProvider.php.

154  {
155  return $this->objPost->getChangeDate();
156  }

◆ getPostUpdateUserId()

ilObjForumNotificationDataProvider::getPostUpdateUserId ( )

Returns
int

Implements ilForumNotificationMailData.

Definition at line 212 of file class.ilObjForumNotificationDataProvider.php.

Referenced by getPostUpdateUserName().

213  {
214  return $this->objPost->getUpdateUserId();
215  }
+ Here is the caller graph for this function:

◆ getPostUpdateUserName()

ilObjForumNotificationDataProvider::getPostUpdateUserName ( \ilLanguage  $user_lang)

Parameters
\ilLanguage$user_lang
Returns
string

Implements ilForumNotificationMailData.

Definition at line 240 of file class.ilObjForumNotificationDataProvider.php.

References $update_user_name, getImportName(), getPosAuthorId(), getPostUpdateUserId(), getPosUserAlias(), and getPublicUserInformation().

241  {
242  if ($this->update_user_name === null) {
243  $authorinfo = new ilForumAuthorInformation(
244  $this->getPosAuthorId(),
245  $this->getPostUpdateUserId(),
246  $this->getPosUserAlias(),
247  $this->getImportName(),
248  array(),
249  $user_lang
250  );
251  $this->update_user_name = $this->getPublicUserInformation($authorinfo);
252  }
253 
254  // Possible Fix for #25432
255  if ($this->objPost->getUserAlias() && $this->objPost->getDisplayUserId() == 0
256  && $this->objPost->getPosAuthorId() == $this->objPost->getUpdateUserId()) {
257  return (string) $this->objPost->getUserAlias();
258  }
259 
260  return (string) $this->update_user_name;
261  }
getPublicUserInformation(ilForumAuthorInformation $authorinfo)
+ Here is the call graph for this function:

◆ getPostUserName()

ilObjForumNotificationDataProvider::getPostUserName ( \ilLanguage  $user_lang)

Parameters
\ilLanguage$user_lang
Returns
string

Implements ilForumNotificationMailData.

Definition at line 220 of file class.ilObjForumNotificationDataProvider.php.

References $post_user_name, getImportName(), getPosAuthorId(), getPosDisplayUserId(), getPosUserAlias(), and getPublicUserInformation().

221  {
222  if ($this->post_user_name === null) {
223  $authorinfo = new ilForumAuthorInformation(
224  $this->getPosAuthorId(),
225  $this->getPosDisplayUserId(),
226  $this->getPosUserAlias(),
227  $this->getImportName(),
228  array(),
229  $user_lang
230  );
231  $this->post_user_name = $this->getPublicUserInformation($authorinfo);
232  }
233 
234  return (string) $this->post_user_name;
235  }
getPublicUserInformation(ilForumAuthorInformation $authorinfo)
+ Here is the call graph for this function:

◆ getPosUserAlias()

ilObjForumNotificationDataProvider::getPosUserAlias ( )
Returns
string frm_posts.pos_usr_alias

Implements ilForumNotificationMailData.

Definition at line 189 of file class.ilObjForumNotificationDataProvider.php.

Referenced by getPostUpdateUserName(), and getPostUserName().

190  {
191  return $this->objPost->getUserAlias();
192  }
+ Here is the caller graph for this function:

◆ getPublicUserInformation()

ilObjForumNotificationDataProvider::getPublicUserInformation ( ilForumAuthorInformation  $authorinfo)
Parameters
ilForumAuthorInformation$authorinfo
Returns
string

Definition at line 267 of file class.ilObjForumNotificationDataProvider.php.

References ilForumAuthorInformation\getAuthorName(), ilForumAuthorInformation\getAuthorShortName(), ilForumAuthorInformation\hasSuffix(), and isAnonymized().

Referenced by getPostUpdateUserName(), and getPostUserName().

268  {
269  if ($authorinfo->hasSuffix()) {
270  $public_name = $authorinfo->getAuthorName();
271  } else {
272  $public_name = $authorinfo->getAuthorShortName();
273 
274  if ($authorinfo->getAuthorName() && !$this->isAnonymized()) {
275  $public_name = $authorinfo->getAuthorName();
276  }
277  }
278 
279  return $public_name;
280  }
getAuthorName($without_short_name=false)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getRefId()

ilObjForumNotificationDataProvider::getRefId ( )
Returns
int

Implements ilForumNotificationMailData.

Definition at line 65 of file class.ilObjForumNotificationDataProvider.php.

References $ref_id.

Referenced by getPostActivationRecipients().

+ Here is the caller graph for this function:

◆ getRefIdsByObjId()

ilObjForumNotificationDataProvider::getRefIdsByObjId ( int  $objId)
private
Parameters
int$objId
Returns
int[]

Definition at line 501 of file class.ilObjForumNotificationDataProvider.php.

References ilObject\_getAllReferences().

Referenced by createRecipientArray().

501  : array
502  {
503  $cacheKey = $this->notificationCache->createKeyByValues([
504  'refs_by_obj_id',
505  $objId
506  ]);
507 
508  if (!$this->notificationCache->exists($cacheKey)) {
509  $this->notificationCache->store($cacheKey, (array) ilObject::_getAllReferences($objId));
510  }
511 
512  return $this->notificationCache->fetch($cacheKey);
513  }
static _getAllReferences($a_id)
get all reference ids of object
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getThreadId()

ilObjForumNotificationDataProvider::getThreadId ( )
Returns
int

Implements ilForumNotificationMailData.

Definition at line 81 of file class.ilObjForumNotificationDataProvider.php.

Referenced by getThreadNotificationRecipients().

82  {
83  return $this->objPost->getThreadId();
84  }
+ Here is the caller graph for this function:

◆ getThreadNotificationRecipients()

ilObjForumNotificationDataProvider::getThreadNotificationRecipients ( )
Returns
int[]

Definition at line 404 of file class.ilObjForumNotificationDataProvider.php.

References $res, createRecipientArray(), getThreadId(), and user().

Referenced by ilForumAppEventListener\delegateNotification().

405  {
406  if (!$this->getThreadId()) {
407  return [];
408  }
409 
410  $cacheKey = $this->notificationCache->createKeyByValues(array(
411  'thread',
412  $this->getThreadId(),
413  $this->user->getId()
414  ));
415 
416  if (false === $this->notificationCache->exists($cacheKey)) {
417  $res = $this->db->queryF(
418  '
419  SELECT frm_notification.user_id
420  FROM frm_notification
421  INNER JOIN frm_threads ON frm_threads.thr_pk = frm_notification.thread_id
422  WHERE frm_notification.thread_id = %s
423  AND frm_notification.user_id != %s',
424  array('integer', 'integer'),
425  array($this->getThreadId(), $this->user->getId())
426  );
427 
428  $usrIds = $this->createRecipientArray($res);
429  $this->notificationCache->store($cacheKey, $usrIds);
430  }
431 
432  $usrIds = $this->notificationCache->fetch($cacheKey);
433 
434  return $usrIds;
435  }
user()
Definition: user.php:4
foreach($_POST as $key=> $value) $res
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getThreadTitle()

ilObjForumNotificationDataProvider::getThreadTitle ( )
Returns
string frm_threads.thr_subject

Implements ilForumNotificationMailData.

Definition at line 113 of file class.ilObjForumNotificationDataProvider.php.

References $thread_title.

◆ isAnonymized()

ilObjForumNotificationDataProvider::isAnonymized ( )
Returns
bool

Definition at line 197 of file class.ilObjForumNotificationDataProvider.php.

References $is_anonymized.

Referenced by getPublicUserInformation().

+ Here is the caller graph for this function:

◆ read()

ilObjForumNotificationDataProvider::read ( )
protected

Definition at line 285 of file class.ilObjForumNotificationDataProvider.php.

References readAttachments(), readForumData(), and readThreadTitle().

Referenced by __construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ readAttachments()

ilObjForumNotificationDataProvider::readAttachments ( )
private

Definition at line 354 of file class.ilObjForumNotificationDataProvider.php.

References getObjId(), and ilForumProperties\isSendAttachmentsByMailEnabled().

Referenced by read().

355  {
357  $fileDataForum = new ilFileDataForum($this->getObjId(), $this->objPost->getId());
358  $filesOfPost = $fileDataForum->getFilesOfPost();
359 
360  $fileDataMail = new ilFileDataMail(ANONYMOUS_USER_ID);
361 
362  foreach ($filesOfPost as $attachment) {
363  $this->attachments[$attachment['path']] = $attachment['name'];
364  $fileDataMail->copyAttachmentFile($attachment['path'], $attachment['name']);
365  }
366  }
367  }
Class ilFileDataMail.
This class handles all operations on files for the forum object.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ readForumData()

ilObjForumNotificationDataProvider::readForumData ( )
private

Definition at line 322 of file class.ilObjForumNotificationDataProvider.php.

References $result, $row, and getObjId().

Referenced by read().

323  {
324  $cacheKey = $this->notificationCache->createKeyByValues(array(
325  'forum_data',
326  $this->getObjId()
327  ));
328 
329  if (false === $this->notificationCache->exists($cacheKey)) {
330  $result = $this->db->queryf(
331  '
332  SELECT top_pk, top_name, frm_settings.anonymized FROM frm_data
333  INNER JOIN frm_settings ON top_frm_fk = frm_settings.obj_id
334  WHERE top_frm_fk = %s',
335  array('integer'),
336  array($this->getObjId()
337  )
338  );
339 
340  $row = $this->db->fetchAssoc($result);
341 
342  $this->notificationCache->store($cacheKey, $row);
343  }
344 
345  $row = $this->notificationCache->fetch($cacheKey);
346  $this->forum_id = $row['top_pk'];
347  $this->forum_title = $row['top_name'];
348  $this->is_anonymized = (bool) $row['anonymized'];
349  }
$result
$row
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ readThreadTitle()

ilObjForumNotificationDataProvider::readThreadTitle ( )
private

Definition at line 295 of file class.ilObjForumNotificationDataProvider.php.

References $result, $row, and getObjId().

Referenced by read().

296  {
297  $cacheKey = $this->notificationCache->createKeyByValues(array(
298  'thread_title',
299  $this->getObjId()
300  ));
301 
302  if (false === $this->notificationCache->exists($cacheKey)) {
303  $result = $this->db->queryf(
304  '
305  SELECT thr_subject FROM frm_threads
306  WHERE thr_pk = %s',
307  array('integer'),
308  array($this->objPost->getThreadId())
309  );
310 
311  $row = $this->db->fetchAssoc($result);
312  $this->notificationCache->store($cacheKey, $row);
313  }
314 
315  $row = $this->notificationCache->fetch($cacheKey);
316  $this->thread_title = $row['thr_subject'];
317  }
$result
$row
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPosAuthorId()

ilObjForumNotificationDataProvider::setPosAuthorId (   $pos_author_id)
Parameters
$pos_author_id

Definition at line 484 of file class.ilObjForumNotificationDataProvider.php.

References $pos_author_id.

485  {
486  $this->pos_author_id = $pos_author_id;
487  }

◆ shouldUsePseudonym()

ilObjForumNotificationDataProvider::shouldUsePseudonym ( )
private
Returns
bool

Definition at line 552 of file class.ilObjForumNotificationDataProvider.php.

References $DIC.

Referenced by getDeletedBy().

553  {
554  global $DIC;
555 
556  if ($this->objPost->getUserAlias() && $this->objPost->getDisplayUserId() == 0
557  && $this->objPost->getPosAuthorId() == $DIC->user()->getId()) {
558  return true;
559  }
560  return false;
561  }
global $DIC
Definition: saml.php:7
+ Here is the caller graph for this function:

Field Documentation

◆ $access

ilObjForumNotificationDataProvider::$access
private

Definition at line 31 of file class.ilObjForumNotificationDataProvider.php.

◆ $attachments

ilObjForumNotificationDataProvider::$attachments = []
protected

Definition at line 27 of file class.ilObjForumNotificationDataProvider.php.

Referenced by getAttachments().

◆ $db

ilObjForumNotificationDataProvider::$db
private

Definition at line 30 of file class.ilObjForumNotificationDataProvider.php.

◆ $forum_id

ilObjForumNotificationDataProvider::$forum_id = 0
protected

Definition at line 21 of file class.ilObjForumNotificationDataProvider.php.

Referenced by getForumId().

◆ $forum_title

ilObjForumNotificationDataProvider::$forum_title = ''
protected

Definition at line 23 of file class.ilObjForumNotificationDataProvider.php.

Referenced by getForumTitle().

◆ $is_anonymized

ilObjForumNotificationDataProvider::$is_anonymized = false
protected

Definition at line 37 of file class.ilObjForumNotificationDataProvider.php.

Referenced by isAnonymized().

◆ $notificationCache

ilObjForumNotificationDataProvider::$notificationCache
private

Definition at line 40 of file class.ilObjForumNotificationDataProvider.php.

Referenced by __construct().

◆ $obj_id

ilObjForumNotificationDataProvider::$obj_id = 0
protected

Definition at line 13 of file class.ilObjForumNotificationDataProvider.php.

Referenced by getObjId().

◆ $objPost

ilObjForumNotificationDataProvider::$objPost

Definition at line 29 of file class.ilObjForumNotificationDataProvider.php.

Referenced by __construct().

◆ $pos_author_id

ilObjForumNotificationDataProvider::$pos_author_id = 0

Definition at line 19 of file class.ilObjForumNotificationDataProvider.php.

Referenced by getPosAuthorId(), and setPosAuthorId().

◆ $post_user_name

ilObjForumNotificationDataProvider::$post_user_name = null
protected

Definition at line 15 of file class.ilObjForumNotificationDataProvider.php.

Referenced by getPostUserName().

◆ $ref_id

ilObjForumNotificationDataProvider::$ref_id = 0
protected

Definition at line 11 of file class.ilObjForumNotificationDataProvider.php.

Referenced by __construct(), and getRefId().

◆ $thread_title

ilObjForumNotificationDataProvider::$thread_title = ''
protected

Definition at line 25 of file class.ilObjForumNotificationDataProvider.php.

Referenced by getThreadTitle().

◆ $update_user_name

ilObjForumNotificationDataProvider::$update_user_name = null
protected

Definition at line 17 of file class.ilObjForumNotificationDataProvider.php.

Referenced by getPostUpdateUserName().

◆ $user

ilObjForumNotificationDataProvider::$user
private

Definition at line 32 of file class.ilObjForumNotificationDataProvider.php.


The documentation for this class was generated from the following file: