ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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... | |
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 |
|
protected |
Constructor.
int | $a_ref_id | reference id |
Definition at line 64 of file class.ilNewsTimelineGUI.php.
ilNewsTimelineGUI::executeCommand | ( | ) |
|
protected |
Get delete modal.
Definition at line 371 of file class.ilNewsTimelineGUI.php.
References ilSubmitButton\getInstance(), ilModalGUI\getInstance(), and ilModalGUI\TYPE_LARGE.
Referenced by show().
|
protected |
Get edit modal.
Definition at line 349 of file class.ilNewsTimelineGUI.php.
References 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 106 of file class.ilNewsTimelineGUI.php.
Referenced by ilObjGroupGUI\executeCommand(), and ilObjCourseGUI\executeCommand().
ilNewsTimelineGUI::getUserEditAll | ( | ) |
Get user can edit other users postings.
Definition at line 95 of file class.ilNewsTimelineGUI.php.
References $user_edit_all.
Referenced by loadMore(), remove(), and show().
ilNewsTimelineGUI::loadMore | ( | ) |
Load more.
Definition at line 214 of file class.ilNewsTimelineGUI.php.
References $_POST, $d, array, ilJsonUtil\encode(), exit, ilTimelineGUI\getInstance(), ilNewsTimelineItemGUI\getInstance(), and getUserEditAll().
ilNewsTimelineGUI::remove | ( | ) |
Remove (ajax)
Definition at line 333 of file class.ilNewsTimelineGUI.php.
References $_POST, exit, getUserEditAll(), and user().
ilNewsTimelineGUI::save | ( | ) |
Save (ajax)
Definition at line 262 of file class.ilNewsTimelineGUI.php.
References ilObject\_lookupObjectId(), ilObject\_lookupType(), exit, ilNewsItemGUI\getEditForm(), IL_FORM_CREATE, ilNewsItemGUI\isRteActivated(), and user().
ilNewsTimelineGUI::setUserEditAll | ( | $a_val | ) |
Set user can edit other users postings.
bool | $a_val | user can edit all postings |
Definition at line 85 of file class.ilNewsTimelineGUI.php.
ilNewsTimelineGUI::show | ( | ) |
Show.
Definition at line 135 of file class.ilNewsTimelineGUI.php.
References $d, array, 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 300 of file class.ilNewsTimelineGUI.php.
References $_POST, ilObject\_lookupObjectId(), exit, ilNewsItemGUI\getEditForm(), IL_FORM_EDIT, ilNewsItemGUI\isRteActivated(), and user().
|
protected |
Definition at line 47 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 17 of file class.ilNewsTimelineGUI.php.
|
staticprotected |
Definition at line 52 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 32 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 27 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 37 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 22 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 42 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 57 of file class.ilNewsTimelineGUI.php.
Referenced by getUserEditAll().