|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 () | |
| 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.
Here is the call graph for this function:| ilNewsTimelineGUI::executeCommand | ( | ) |
Execute command.
Definition at line 114 of file class.ilNewsTimelineGUI.php.
References $cmd.
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
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 106 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 95 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 214 of file class.ilNewsTimelineGUI.php.
References $_POST, $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 262 of file class.ilNewsTimelineGUI.php.
References ilObject\_lookupObjectId(), ilObject\_lookupType(), exit, ilNewsItemGUI\getEditForm(), IL_FORM_CREATE, ilNewsItemGUI\isRteActivated(), and user().
Here is the call 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 85 of file class.ilNewsTimelineGUI.php.
| ilNewsTimelineGUI::show | ( | ) |
Show.
return
Definition at line 135 of file class.ilNewsTimelineGUI.php.
References $d, ilJsonUtil\encode(), getDeleteModal(), getEditModal(), ilUtil\getImagePath(), ilTimelineGUI\getInstance(), ilLinkButton\getInstance(), ilNewsTimelineItemGUI\getInstance(), getUserEditAll(), ilMediaPlayerGUI\initJavascript(), and ilUtil\sendInfo().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
|
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().