|
ILIAS
trunk Revision v12.0_alpha-413-g215742c0453
|
News Item DTO for transfer of news items. More...
Collaboration diagram for ILIAS\News\Data\NewsItem:Public Member Functions | |
| __construct (protected int $id, protected string $title, protected string $content, protected int $context_obj_id, protected string $context_obj_type, protected int $context_sub_obj_id, protected ?string $context_sub_obj_type, protected string $content_type, protected \DateTimeImmutable $creation_date, protected \DateTimeImmutable $update_date, protected int $user_id, protected int $update_user_id, protected string $visibility, protected string $content_long, protected int $priority, protected bool $content_is_lang_var, protected bool $content_text_is_lang_var, protected int $mob_id, protected string $playtime, protected int $mob_cnt_play, protected int $mob_cnt_download, protected bool $content_html, protected int $context_ref_id=0) | |
| getId () | |
| isContentTextIsLangVar () | |
| getTitle () | |
| getContent () | |
| getContextObjId () | |
| getContextRefId () | |
| getContextObjType () | |
| getContextSubObjId () | |
| getContextSubObjType () | |
| getContentType () | |
| getCreationDate () | |
| getUpdateDate () | |
| getUserId () | |
| getUpdateUserId () | |
| getVisibility () | |
| getContentLong () | |
| getPriority () | |
| isContentIsLangVar () | |
| getMobId () | |
| getPlaytime () | |
| getMobCntPlay () | |
| getMobCntDownload () | |
| isContentHtml () | |
| withContextRefId (int $context_ref_id) | |
| withContent (string $content) | |
| withContentLong (string $content_long) | |
| toArray () | |
| toLegacy () | |
News Item DTO for transfer of news items.
Definition at line 28 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::__construct | ( | protected int | $id, |
| protected string | $title, | ||
| protected string | $content, | ||
| protected int | $context_obj_id, | ||
| protected string | $context_obj_type, | ||
| protected int | $context_sub_obj_id, | ||
| protected ?string | $context_sub_obj_type, | ||
| protected string | $content_type, | ||
| protected \DateTimeImmutable | $creation_date, | ||
| protected \DateTimeImmutable | $update_date, | ||
| protected int | $user_id, | ||
| protected int | $update_user_id, | ||
| protected string | $visibility, | ||
| protected string | $content_long, | ||
| protected int | $priority, | ||
| protected bool | $content_is_lang_var, | ||
| protected bool | $content_text_is_lang_var, | ||
| protected int | $mob_id, | ||
| protected string | $playtime, | ||
| protected int | $mob_cnt_play, | ||
| protected int | $mob_cnt_download, | ||
| protected bool | $content_html, | ||
| protected int | $context_ref_id = 0 |
||
| ) |
Definition at line 30 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::getContent | ( | ) |
Definition at line 72 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::getContentLong | ( | ) |
Definition at line 132 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::getContentType | ( | ) |
Definition at line 102 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::getContextObjId | ( | ) |
Definition at line 77 of file NewsItem.php.
Referenced by ILIAS\News\Data\NewsCollection\addNewsItem(), and ILIAS\News\Data\NewsCollection\getGroupingFor().
Here is the caller graph for this function:| ILIAS\News\Data\NewsItem::getContextObjType | ( | ) |
Definition at line 87 of file NewsItem.php.
Referenced by ILIAS\News\Data\NewsCollection\addNewsItem(), and ILIAS\News\Data\NewsCollection\getGroupingFor().
Here is the caller graph for this function:| ILIAS\News\Data\NewsItem::getContextRefId | ( | ) |
Definition at line 82 of file NewsItem.php.
Referenced by ILIAS\News\Data\NewsCollection\getGroupingFor().
Here is the caller graph for this function:| ILIAS\News\Data\NewsItem::getContextSubObjId | ( | ) |
Definition at line 92 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::getContextSubObjType | ( | ) |
Definition at line 97 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::getCreationDate | ( | ) |
Definition at line 107 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::getId | ( | ) |
Definition at line 57 of file NewsItem.php.
References $id.
Referenced by ILIAS\News\Data\NewsCollection\addNewsItem(), ILIAS\News\Data\NewsCollection\getGroupingFor(), ilNewsTimelineItemGUI\renderMedia(), and ilNewsTimelineItemGUI\renderMediaModal().
Here is the caller graph for this function:| ILIAS\News\Data\NewsItem::getMobCntDownload | ( | ) |
Definition at line 162 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::getMobCntPlay | ( | ) |
Definition at line 157 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::getMobId | ( | ) |
Definition at line 147 of file NewsItem.php.
Referenced by ilNewsTimelineItemGUI\getMediaPath().
Here is the caller graph for this function:| ILIAS\News\Data\NewsItem::getPlaytime | ( | ) |
Definition at line 152 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::getPriority | ( | ) |
Definition at line 137 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::getTitle | ( | ) |
Definition at line 67 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::getUpdateDate | ( | ) |
Definition at line 112 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::getUpdateUserId | ( | ) |
Definition at line 122 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::getUserId | ( | ) |
| ILIAS\News\Data\NewsItem::getVisibility | ( | ) |
Definition at line 127 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::isContentHtml | ( | ) |
Definition at line 167 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::isContentIsLangVar | ( | ) |
Definition at line 142 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::isContentTextIsLangVar | ( | ) |
Definition at line 62 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::toArray | ( | ) |
Definition at line 195 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::toLegacy | ( | ) |
Definition at line 223 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::withContent | ( | string | $content | ) |
Definition at line 180 of file NewsItem.php.
Referenced by ILIAS\News\Data\NewsCollection\getGroupingFor().
Here is the caller graph for this function:| ILIAS\News\Data\NewsItem::withContentLong | ( | string | $content_long | ) |
Definition at line 187 of file NewsItem.php.
| ILIAS\News\Data\NewsItem::withContextRefId | ( | int | $context_ref_id | ) |
Definition at line 173 of file NewsItem.php.