ILIAS
release_8 Revision v8.23
|
Timeline for news. More...
Public Member Functions | |
setUserEditAll (bool $a_val) | |
Set user can edit other users postings. More... | |
getUserEditAll () | |
Get user can edit other users postings. More... | |
executeCommand () | |
show (ilPropertyFormGUI $form=null) | |
loadMore () | |
save () | |
update () | |
remove () | |
Static Public Member Functions | |
static | getInstance (int $a_ref_id, bool $a_include_auto_entries) |
Protected Member Functions | |
__construct (int $a_ref_id, bool $a_include_auto_entries) | |
send (string $output) | |
updateNewsItem () | |
getEditModal ($form=null) | |
getDeleteModal () | |
Protected Attributes | |
ILIAS HTTP Services | $http |
int | $news_id |
bool | $include_auto_entries |
ilCtrl | $ctrl |
ilGlobalTemplateInterface | $tpl |
int | $ref_id |
ilLanguage | $lng |
ilToolbarGUI | $toolbar |
ilObjUser | $user |
ilAccessHandler | $access |
bool | $user_edit_all = false |
StandardGUIRequest | $std_request |
Static Protected Attributes | |
static int | $items_per_load = 10 |
Timeline for news.
Definition at line 29 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 45 of file class.ilNewsTimelineGUI.php.
References $DIC, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\News\StandardGUIRequest\getNewsId(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
ilNewsTimelineGUI::executeCommand | ( | ) |
ilCtrlException |
Definition at line 97 of file class.ilNewsTimelineGUI.php.
References $ctrl, $i, $news_id, ILIAS\Repository\ctrl(), ilCtrl\forwardCommand(), ilCtrl\saveParameter(), and ilNoteGUI\setShowHeader().
|
protected |
Definition at line 432 of file class.ilNewsTimelineGUI.php.
References ilSubmitButton\getInstance(), ilModalGUI\getInstance(), ilUtil\getSystemMessageHTML(), ILIAS\Repository\lng(), and ilModalGUI\TYPE_LARGE.
Referenced by show().
|
protected |
Definition at line 406 of file class.ilNewsTimelineGUI.php.
References ILIAS\Repository\ctrl(), ilNewsItemGUI\FORM_EDIT, ilNewsItemGUI\getEditForm(), ilModalGUI\getInstance(), ILIAS\Repository\lng(), and ilModalGUI\TYPE_LARGE.
Referenced by show().
|
static |
Definition at line 87 of file class.ilNewsTimelineGUI.php.
Referenced by ilObjGroupGUI\executeCommand(), and ilObjCourseGUI\executeCommand().
ilNewsTimelineGUI::getUserEditAll | ( | ) |
Get user can edit other users postings.
Definition at line 82 of file class.ilNewsTimelineGUI.php.
References $user_edit_all.
Referenced by loadMore(), remove(), and show().
ilNewsTimelineGUI::loadMore | ( | ) |
Definition at line 224 of file class.ilNewsTimelineGUI.php.
References Vendor\Package\$a, $d, ILIAS\Repository\ctrl(), ilTimelineGUI\getInstance(), ilNewsTimelineItemGUI\getInstance(), getUserEditAll(), and send().
ilNewsTimelineGUI::remove | ( | ) |
Definition at line 397 of file class.ilNewsTimelineGUI.php.
References ilNewsItem\delete(), getUserEditAll(), send(), and ILIAS\Repository\user().
ilNewsTimelineGUI::save | ( | ) |
Definition at line 305 of file class.ilNewsTimelineGUI.php.
References ilObject\_lookupObjectId(), ilObject\_lookupType(), ilObjMediaObject\_saveTempFileAsMediaObject(), ILIAS\Repository\ctrl(), ilNewsItemGUI\FORM_EDIT, ilNewsItemGUI\getEditForm(), ilNewsItemGUI\isRteActivated(), show(), and ILIAS\Repository\user().
Referenced by updateNewsItem().
|
protected |
ResponseSendingException |
Definition at line 284 of file class.ilNewsTimelineGUI.php.
References ILIAS\FileDelivery\http().
Referenced by loadMore(), and remove().
ilNewsTimelineGUI::setUserEditAll | ( | bool | $a_val | ) |
Set user can edit other users postings.
Definition at line 74 of file class.ilNewsTimelineGUI.php.
ilNewsTimelineGUI::show | ( | ilPropertyFormGUI | $form = null | ) |
Definition at line 144 of file class.ilNewsTimelineGUI.php.
References Vendor\Package\$a, Vendor\Package\$b, $d, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), getDeleteModal(), getEditModal(), ilUtil\getImagePath(), ilLinkButton\getInstance(), ilTimelineGUI\getInstance(), ilNewsTimelineItemGUI\getInstance(), getUserEditAll(), ilMediaPlayerGUI\initJavascript(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Referenced by save(), and update().
ilNewsTimelineGUI::update | ( | ) |
Definition at line 347 of file class.ilNewsTimelineGUI.php.
References ilObject\_lookupObjectId(), ilObject\_lookupType(), ilObjMediaObject\_saveTempFileAsMediaObject(), ILIAS\Repository\ctrl(), ilNewsItemGUI\FORM_EDIT, ilNewsItemGUI\getEditForm(), ilNewsItemGUI\isRteActivated(), ilNewsItem\setTitle(), show(), and ILIAS\Repository\user().
Referenced by updateNewsItem().
|
protected |
Definition at line 293 of file class.ilNewsTimelineGUI.php.
References save(), and update().
|
protected |
Definition at line 40 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 34 of file class.ilNewsTimelineGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 31 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 33 of file class.ilNewsTimelineGUI.php.
|
staticprotected |
Definition at line 41 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 37 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 32 of file class.ilNewsTimelineGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 36 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 43 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 38 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 35 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 39 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 42 of file class.ilNewsTimelineGUI.php.
Referenced by getUserEditAll().