ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Timeline for news. More...
Public Member Functions | |
setUserEditAll ($a_val) | |
Set user can edit other users postings. More... | |
getUserEditAll () | |
Get user can edit other users postings. More... | |
executeCommand () | |
Execute command. More... | |
show () | |
Show. More... | |
loadMore () | |
Load more. More... | |
save () | |
Save (ajax) More... | |
update () | |
Update (ajax) More... | |
remove () | |
Remove (ajax) More... | |
Static Public Member Functions | |
static | getInstance ($a_ref_id, $a_include_auto_entries) |
Get instance. More... | |
Protected Member Functions | |
__construct ($a_ref_id, $a_include_auto_entries) | |
Constructor. More... | |
updateNewsItem () | |
getEditModal () | |
Get edit modal. More... | |
getDeleteModal () | |
Get delete modal. More... | |
Protected Attributes | |
$ctrl | |
$tpl | |
$ref_id | |
$lng | |
$toolbar | |
$user | |
$access | |
$user_edit_all = false | |
Static Protected Attributes | |
static | $items_per_load = 10 |
Timeline for news.
ilNewsTimelineGUI: ilLikeGUI, ilNoteGUI
Definition at line 15 of file class.ilNewsTimelineGUI.php.
|
protected |
Constructor.
int | $a_ref_id | reference id |
Definition at line 67 of file class.ilNewsTimelineGUI.php.
References $_GET, $DIC, and user().
ilNewsTimelineGUI::executeCommand | ( | ) |
Execute command.
ilCtrlException |
Definition at line 122 of file class.ilNewsTimelineGUI.php.
References $ctrl, $i, and $ret.
|
protected |
Get delete modal.
Definition at line 490 of file class.ilNewsTimelineGUI.php.
References ilSubmitButton\getInstance(), ilModalGUI\getInstance(), and ilModalGUI\TYPE_LARGE.
Referenced by show().
|
protected |
Get edit modal.
Definition at line 459 of file class.ilNewsTimelineGUI.php.
References $form, ilNewsItemGUI\getEditForm(), ilModalGUI\getInstance(), IL_FORM_EDIT, and ilModalGUI\TYPE_LARGE.
Referenced by show().
|
static |
Get instance.
int | $a_ref_id | reference id |
Definition at line 112 of file class.ilNewsTimelineGUI.php.
Referenced by ilObjGroupGUI\executeCommand(), and ilObjCourseGUI\executeCommand().
ilNewsTimelineGUI::getUserEditAll | ( | ) |
Get user can edit other users postings.
Definition at line 101 of file class.ilNewsTimelineGUI.php.
References $user_edit_all.
Referenced by loadMore(), remove(), and show().
ilNewsTimelineGUI::loadMore | ( | ) |
Load more.
Definition at line 267 of file class.ilNewsTimelineGUI.php.
References $_POST, $d, ilJsonUtil\encode(), exit, ilTimelineGUI\getInstance(), ilNewsTimelineItemGUI\getInstance(), and getUserEditAll().
ilNewsTimelineGUI::remove | ( | ) |
Remove (ajax)
Definition at line 444 of file class.ilNewsTimelineGUI.php.
References $_POST, exit, getUserEditAll(), and user().
ilNewsTimelineGUI::save | ( | ) |
Save (ajax)
Definition at line 352 of file class.ilNewsTimelineGUI.php.
References $form, ilObject\_lookupObjectId(), ilObject\_lookupType(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilNewsItemGUI\getEditForm(), IL_FORM_CREATE, ilNewsItemGUI\isRteActivated(), and user().
Referenced by updateNewsItem().
ilNewsTimelineGUI::setUserEditAll | ( | $a_val | ) |
Set user can edit other users postings.
bool | $a_val | user can edit all postings |
Definition at line 91 of file class.ilNewsTimelineGUI.php.
ilNewsTimelineGUI::show | ( | ) |
Show.
Definition at line 175 of file class.ilNewsTimelineGUI.php.
References $d, ilJsonUtil\encode(), getDeleteModal(), getEditModal(), ilUtil\getImagePath(), ilLinkButton\getInstance(), ilTimelineGUI\getInstance(), ilNewsTimelineItemGUI\getInstance(), getUserEditAll(), ilMediaPlayerGUI\initJavascript(), and ilUtil\sendInfo().
ilNewsTimelineGUI::update | ( | ) |
Update (ajax)
Definition at line 394 of file class.ilNewsTimelineGUI.php.
References $_POST, $form, ilObject\_lookupObjectId(), ilObject\_lookupType(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilNewsItemGUI\getEditForm(), IL_FORM_EDIT, ilNewsItemGUI\isRteActivated(), and user().
Referenced by updateNewsItem().
|
protected |
Definition at line 336 of file class.ilNewsTimelineGUI.php.
References $_POST, save(), and update().
|
protected |
Definition at line 50 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 20 of file class.ilNewsTimelineGUI.php.
Referenced by executeCommand().
|
staticprotected |
Definition at line 55 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 35 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 30 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 40 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 25 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 45 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 60 of file class.ilNewsTimelineGUI.php.
Referenced by getUserEditAll().