|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Single news timeline item. More...
Inheritance diagram for ilNewsTimelineItemGUI:
Collaboration diagram for ilNewsTimelineItemGUI:Public Member Functions | |
| setNewsItem (ilNewsItem $a_val) | |
| Set news item. More... | |
| getNewsItem () | |
| Get news item. More... | |
| setUserEditAll ($a_val) | |
| Set user can edit other users postings. More... | |
| getUserEditAll () | |
| Get user can edit other users postings. More... | |
| getDateTime () | |
Get datetime.
| |
| render () | |
Render item.
| |
| renderFooter () | |
| Render footer. More... | |
| render () | |
| Render item. More... | |
| getDateTime () | |
| Get datetime. More... | |
Static Public Member Functions | |
| static | getInstance (ilNewsItem $a_news_item, $a_news_ref_id, \ilLikeGUI $a_like_gui) |
| Get instance. More... | |
Protected Member Functions | |
| __construct (ilNewsItem $a_news_item, $a_news_ref_id, \ilLikeGUI $a_like_gui) | |
| Constructor. More... | |
| renderMedia (ilNewsItem $i) | |
| Render media. More... | |
| renderMediaModal (ilNewsItem $i) | |
| Render media. More... | |
| getMediaPath (ilNewsItem $i) | |
Protected Attributes | |
| $lng | |
| $news_item | |
| $obj_def | |
| $user | |
| $user_edit_all | |
| $news_item_ref_id | |
| $ref_id | |
| $ctrl | |
| $like_gui | |
Single news timeline item.
Definition at line 12 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Constructor.
| ilNewsItem | $a_news_item | |
| $a_news_ref_id | ||
| ilLikeGUI | $a_like_gui |
Definition at line 69 of file class.ilNewsTimelineItemGUI.php.
References $_GET, $DIC, setNewsItem(), and user().
Here is the call graph for this function:| ilNewsTimelineItemGUI::getDateTime | ( | ) |
Get datetime.
Implements ilTimelineItemInt.
Definition at line 140 of file class.ilNewsTimelineItemGUI.php.
References $i, 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 |
Get instance.
| ilNewsItem | $a_news_item | news item |
Definition at line 91 of file class.ilNewsTimelineItemGUI.php.
Referenced by ilNewsTimelineGUI\loadMore(), and ilNewsTimelineGUI\show().
Here is the caller graph for this function:
|
protected |
| ilNewsItem | $i |
Definition at line 378 of file class.ilNewsTimelineItemGUI.php.
References $i, and ilObjMediaObject\_getURL().
Referenced by renderMedia(), and renderMediaModal().
Here is the call graph for this function:
Here is the caller graph for this function:| ilNewsTimelineItemGUI::getNewsItem | ( | ) |
Get news item.
Definition at line 112 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 132 of file class.ilNewsTimelineItemGUI.php.
References $user_edit_all.
| ilNewsTimelineItemGUI::render | ( | ) |
Render item.
Implements ilTimelineItemInt.
Definition at line 150 of file class.ilNewsTimelineItemGUI.php.
References $i, $list, $tpl, ilObject\_exists(), ilObject\_lookupTitle(), ilNewsItem\determineNewsTitle(), ilAdvancedSelectionListGUI\DOWN_ARROW_DARK, ilDatePresentation\formatDate(), getDateTime(), ilUserUtil\getNamePresentation(), getNewsItem(), ilNewsRendererFactory\getRenderer(), IL_CAL_DATETIME, and renderMedia().
Here is the call graph for this function:| ilNewsTimelineItemGUI::renderFooter | ( | ) |
Render footer.
| ilCtrlException |
Definition at line 338 of file class.ilNewsTimelineItemGUI.php.
References $_GET, $html, $i, getNewsItem(), and renderMediaModal().
Here is the call graph for this function:
|
protected |
Render media.
return
Definition at line 269 of file class.ilNewsTimelineItemGUI.php.
References $DIC, $html, $i, $title, getMediaPath(), and ilObjMediaObject\getMimeType().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Render media.
| ilNewsItem |
Definition at line 307 of file class.ilNewsTimelineItemGUI.php.
References $DIC, $i, $title, 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 | ) |
Set news item.
| ilNewsItem | $a_val | news item |
Definition at line 102 of file class.ilNewsTimelineItemGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilNewsTimelineItemGUI::setUserEditAll | ( | $a_val | ) |
Set user can edit other users postings.
| bool | $a_val | user can edit all postings |
Definition at line 122 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 55 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 60 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 17 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 22 of file class.ilNewsTimelineItemGUI.php.
Referenced by getNewsItem().
|
protected |
Definition at line 44 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 27 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 50 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 32 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 37 of file class.ilNewsTimelineItemGUI.php.
Referenced by getUserEditAll().