|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Timeline for news. More...
Collaboration diagram for ilNewsTimelineGUI: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 ($form=null) | |
| 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 ($form=null) | |
| 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.
@ilCtrl_Calls 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().
Here is the call graph for this function:| ilNewsTimelineGUI::executeCommand | ( | ) |
Execute command.
| ilCtrlException |
Definition at line 122 of file class.ilNewsTimelineGUI.php.
|
protected |
Get delete modal.
Definition at line 499 of file class.ilNewsTimelineGUI.php.
References ilSubmitButton\getInstance(), ilModalGUI\getInstance(), ilUtil\getSystemMessageHTML(), and ilModalGUI\TYPE_LARGE.
Referenced by show().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Get edit modal.
Definition at line 466 of file class.ilNewsTimelineGUI.php.
References ilNewsItemGUI\FORM_EDIT, ilNewsItemGUI\getEditForm(), ilModalGUI\getInstance(), and ilModalGUI\TYPE_LARGE.
Referenced by show().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get instance.
| int | $a_ref_id | reference id |
Definition at line 112 of file class.ilNewsTimelineGUI.php.
Referenced by ilObjCourseGUI\executeCommand(), and ilObjGroupGUI\executeCommand().
Here is the caller graph for this function:| 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(), and show().
Here is the caller graph for this function:| ilNewsTimelineGUI::loadMore | ( | ) |
Load more.
return
Definition at line 267 of file class.ilNewsTimelineGUI.php.
References $_POST, Vendor\Package\$a, $d, ilJsonUtil\encode(), exit, ilTimelineGUI\getInstance(), ilNewsTimelineItemGUI\getInstance(), and getUserEditAll().
Here is the call graph for this function:| ilNewsTimelineGUI::remove | ( | ) |
| ilNewsTimelineGUI::save | ( | ) |
Save (ajax)
Definition at line 350 of file class.ilNewsTimelineGUI.php.
References ilObject\_lookupObjectId(), ilObject\_lookupType(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilNewsItemGUI\FORM_EDIT, ilNewsItemGUI\getEditForm(), ilNewsItemGUI\isRteActivated(), show(), and user().
Referenced by updateNewsItem().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 | ( | $form = null | ) |
Show.
return
Definition at line 175 of file class.ilNewsTimelineGUI.php.
References Vendor\Package\$a, Vendor\Package\$b, $d, ilJsonUtil\encode(), getDeleteModal(), getEditModal(), ilUtil\getImagePath(), ilTimelineGUI\getInstance(), ilLinkButton\getInstance(), ilNewsTimelineItemGUI\getInstance(), getUserEditAll(), ilMediaPlayerGUI\initJavascript(), and ilUtil\sendInfo().
Referenced by save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilNewsTimelineGUI::update | ( | ) |
Update (ajax)
Definition at line 396 of file class.ilNewsTimelineGUI.php.
References $_POST, ilObject\_lookupObjectId(), ilObject\_lookupType(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilNewsItemGUI\FORM_EDIT, ilNewsItemGUI\getEditForm(), ilNewsItemGUI\isRteActivated(), show(), and user().
Referenced by updateNewsItem().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
|
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().