ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Single news timeline item. More...
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.
| |
Static Public Member Functions | |
static | getInstance (ilNewsItem $a_news_item, $a_news_ref_id) |
Get instance. More... | |
Protected Member Functions | |
__construct (ilNewsItem $a_news_item, $a_news_ref_id) | |
Constructor. More... | |
Protected Attributes | |
$lng | |
$news_item | |
$obj_def | |
$user | |
$user_edit_all | |
$news_item_ref_id | |
$ref_id | |
$ctrl | |
Single news timeline item.
Definition at line 12 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Constructor.
$param ilNewsItem $a_news_item
Definition at line 62 of file class.ilNewsTimelineItemGUI.php.
References $_GET, $DIC, setNewsItem(), and user().
ilNewsTimelineItemGUI::getDateTime | ( | ) |
Get datetime.
Implements ilTimelineItemInt.
Definition at line 131 of file class.ilNewsTimelineItemGUI.php.
References $i, getNewsItem(), and IL_CAL_DATETIME.
Referenced by render().
|
static |
Get instance.
ilNewsItem | $a_news_item | news item |
Definition at line 82 of file class.ilNewsTimelineItemGUI.php.
Referenced by ilNewsTimelineGUI\loadMore(), and ilNewsTimelineGUI\show().
ilNewsTimelineItemGUI::getNewsItem | ( | ) |
Get news item.
Definition at line 103 of file class.ilNewsTimelineItemGUI.php.
References $news_item.
Referenced by getDateTime(), and render().
ilNewsTimelineItemGUI::getUserEditAll | ( | ) |
Get user can edit other users postings.
Definition at line 123 of file class.ilNewsTimelineItemGUI.php.
References $user_edit_all.
Referenced by render().
ilNewsTimelineItemGUI::render | ( | ) |
Render item.
Implements ilTimelineItemInt.
Definition at line 141 of file class.ilNewsTimelineItemGUI.php.
References $i, $list, $tpl, ilObject\_exists(), ilObject\_getIcon(), ilObjMediaObject\_getURL(), ilObject\_lookupTitle(), ilAdvancedSelectionListGUI\DOWN_ARROW_DARK, ilDatePresentation\formatDate(), getDateTime(), ilObjMediaObject\getMediaItem(), ilUserUtil\getNamePresentation(), getNewsItem(), ilNewsRendererFactory\getRenderer(), getUserEditAll(), IL_CAL_DATETIME, NEWS_AUDIO, ilMediaPlayerGUI\setFile(), and user().
ilNewsTimelineItemGUI::setNewsItem | ( | ilNewsItem | $a_val | ) |
Set news item.
ilNewsItem | $a_val | news item |
Definition at line 93 of file class.ilNewsTimelineItemGUI.php.
Referenced by __construct().
ilNewsTimelineItemGUI::setUserEditAll | ( | $a_val | ) |
Set user can edit other users postings.
bool | $a_val | user can edit all postings |
Definition at line 113 of file class.ilNewsTimelineItemGUI.php.
|
protected |
Definition at line 55 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().