|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Single news timeline item. More...
Inheritance diagram for ilNewsTimelineItemGUI:
Collaboration diagram for ilNewsTimelineItemGUI:Public Member Functions | |
| setNewsItem (ilNewsItem $a_val) | |
| getNewsItem () | |
| setUserEditAll (bool $a_val) | |
| Set user can edit other users postings. More... | |
| getUserEditAll () | |
| Get user can edit other users postings. More... | |
| getDateTime () | |
| Get datetime. More... | |
| render () | |
| Render item. More... | |
| renderFooter () | |
Static Public Member Functions | |
| static | getInstance (ilNewsItem $a_news_item, int $a_news_ref_id, ilLikeGUI $a_like_gui) |
Protected Member Functions | |
| __construct (ilNewsItem $a_news_item, int $a_news_ref_id, ilLikeGUI $a_like_gui) | |
| renderMedia (ilNewsItem $i) | |
| renderMediaModal (ilNewsItem $i) | |
| getMediaPath (ilNewsItem $i) | |
Protected Attributes | |
| ILIAS News InternalGUIService | $gui |
| ILIAS Notes Service | $notes |
| ilLanguage | $lng |
| ilNewsItem | $news_item |
| ilObjectDefinition | $obj_def |
| ilObjUser | $user |
| bool | $user_edit_all |
| int | $news_item_ref_id |
| int | $ref_id |
| ilCtrl | $ctrl |
| ilLikeGUI | $like_gui |
| StandardGUIRequest | $std_request |
Single news timeline item.
Definition at line 25 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 40 of file class.ilNewsTimelineItemGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), setNewsItem(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilNewsTimelineItemGUI::getDateTime | ( | ) |
Get datetime.
Implements ilTimelineItemInt.
Definition at line 100 of file class.ilNewsTimelineItemGUI.php.
References getNewsItem(), and IL_CAL_DATETIME.
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 66 of file class.ilNewsTimelineItemGUI.php.
Referenced by ilNewsTimelineGUI\getHTML(), and ilNewsTimelineGUI\loadMore().
Here is the caller graph for this function:
|
protected |
Definition at line 303 of file class.ilNewsTimelineItemGUI.php.
References ilObjMediaObject\_getURL(), ilObjMediaObject\getMediaItem(), and ilNewsItem\getMobId().
Referenced by renderMedia(), and renderMediaModal().
Here is the call graph for this function:
Here is the caller graph for this function:| ilNewsTimelineItemGUI::getNewsItem | ( | ) |
Definition at line 79 of file class.ilNewsTimelineItemGUI.php.
References $news_item.
Referenced by getDateTime(), render(), and renderFooter().
Here is the caller graph for this function:| ilNewsTimelineItemGUI::getUserEditAll | ( | ) |
Get user can edit other users postings.
Definition at line 95 of file class.ilNewsTimelineItemGUI.php.
References $user_edit_all.
Referenced by render().
Here is the caller graph for this function:| ilNewsTimelineItemGUI::render | ( | ) |
Render item.
Implements ilTimelineItemInt.
Definition at line 106 of file class.ilNewsTimelineItemGUI.php.
References $id, ilObject\_exists(), ilObject\_getIcon(), ilObject\_lookupTitle(), ILIAS\Repository\ctrl(), ilNewsItem\determineNewsTitle(), ilDatePresentation\formatDate(), getDateTime(), ilUserUtil\getNamePresentation(), getNewsItem(), ilNewsRendererFactory\getRenderer(), getUserEditAll(), IL_CAL_DATETIME, ILIAS\Repository\lng(), renderMedia(), ILIAS\Repository\user(), and ILIAS\UI\Implementation\Component\withOnLoadCode().
Here is the call graph for this function:| ilNewsTimelineItemGUI::renderFooter | ( | ) |
Definition at line 267 of file class.ilNewsTimelineItemGUI.php.
References ILIAS\Repository\ctrl(), getNewsItem(), and renderMediaModal().
Here is the call graph for this function:
|
protected |
Definition at line 201 of file class.ilNewsTimelineItemGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ilNewsItem\getId(), getMediaPath(), and ilObjMediaObject\getMimeType().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 241 of file class.ilNewsTimelineItemGUI.php.
References $DIC, ilNewsItem\getId(), ilModalGUI\getInstance(), getMediaPath(), ilObjMediaObject\getMimeType(), and ilModalGUI\TYPE_LARGE.
Referenced by renderFooter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilNewsTimelineItemGUI::setNewsItem | ( | ilNewsItem | $a_val | ) |
Definition at line 74 of file class.ilNewsTimelineItemGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilNewsTimelineItemGUI::setUserEditAll | ( | bool | $a_val | ) |
Set user can edit other users postings.
Definition at line 87 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 36 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 27 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 37 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 29 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 30 of file class.ilNewsTimelineItemGUI.php.
Referenced by getNewsItem().
|
protected |
Definition at line 34 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 28 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 31 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 35 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 38 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 32 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 33 of file class.ilNewsTimelineItemGUI.php.
Referenced by getUserEditAll().