ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
Timeline for news. More...
Public Member Functions | |
setEnableAddNews (bool $a_val) | |
getEnableAddNews () | |
setPeriod (int $a_val) | |
getPeriod () | |
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) | |
getHTML (?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) | |
readNewsData ($excluded=[]) | |
send (string $output) | |
updateNewsItem () | |
getEditModal ($form=null) | |
renderDeleteModal (ilTemplate $tpl) | |
renderEditModal (?ilPropertyFormGUI $form, ilTemplate $tpl) | |
downloadMob () | |
Protected Attributes | |
ILIAS News InternalGUIService | $gui |
int | $period = 0 |
ILIAS News Timeline TimelineManager | $manager |
ILIAS DI UIServices | $ui |
ILIAS Notes Service | $notes |
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 |
bool | $enable_add_news = true |
array | $news_data = null |
Static Protected Attributes | |
static int | $items_per_load = 20 |
Timeline for news.
Definition at line 29 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 52 of file class.ilNewsTimelineGUI.php.
References $DIC, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\toolbar(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
|
protected |
Definition at line 494 of file class.ilNewsTimelineGUI.php.
ilNewsTimelineGUI::executeCommand | ( | ) |
ilCtrlException |
Definition at line 130 of file class.ilNewsTimelineGUI.php.
References $ctrl, $news_id, ILIAS\Repository\ctrl(), ilCtrl\forwardCommand(), and ilCtrl\saveParameter().
|
protected |
Definition at line 446 of file class.ilNewsTimelineGUI.php.
References ILIAS\Repository\ctrl(), ilNewsItemGUI\FORM_EDIT, ilNewsItemGUI\getEditForm(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Referenced by renderEditModal().
ilNewsTimelineGUI::getEnableAddNews | ( | ) |
Definition at line 88 of file class.ilNewsTimelineGUI.php.
References $enable_add_news.
Referenced by getHTML().
ilNewsTimelineGUI::getHTML | ( | ?ilPropertyFormGUI | $form = null | ) |
Definition at line 194 of file class.ilNewsTimelineGUI.php.
References Vendor\Package\$a, Vendor\Package\$d, $news_data, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), getEnableAddNews(), ilUtil\getImagePath(), ilTimelineGUI\getInstance(), ilNewsTimelineItemGUI\getInstance(), getUserEditAll(), ILIAS\Repository\lng(), readNewsData(), renderDeleteModal(), renderEditModal(), ILIAS\Repository\toolbar(), and ILIAS\Repository\ui().
Referenced by show().
|
static |
Definition at line 120 of file class.ilNewsTimelineGUI.php.
Referenced by ilObjGroupGUI\executeCommand(), ilObjCourseGUI\executeCommand(), and ILIAS\News\Dashboard\InternalGUIService\getTimelineGUI().
ilNewsTimelineGUI::getPeriod | ( | ) |
ilNewsTimelineGUI::getUserEditAll | ( | ) |
Get user can edit other users postings.
Definition at line 115 of file class.ilNewsTimelineGUI.php.
References $user_edit_all.
Referenced by getHTML(), loadMore(), and remove().
ilNewsTimelineGUI::loadMore | ( | ) |
Definition at line 276 of file class.ilNewsTimelineGUI.php.
References Vendor\Package\$a, Vendor\Package\$d, $news_data, ILIAS\Repository\ctrl(), ilTimelineGUI\getInstance(), ilNewsTimelineItemGUI\getInstance(), getUserEditAll(), readNewsData(), and send().
|
protected |
Definition at line 181 of file class.ilNewsTimelineGUI.php.
References $include_auto_entries, $period, and ILIAS\Repository\ctrl().
Referenced by getHTML(), and loadMore().
ilNewsTimelineGUI::remove | ( | ) |
Definition at line 437 of file class.ilNewsTimelineGUI.php.
References ilNewsItem\delete(), getUserEditAll(), send(), and ILIAS\Repository\user().
|
protected |
Definition at line 470 of file class.ilNewsTimelineGUI.php.
References $c, ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by getHTML().
|
protected |
Definition at line 484 of file class.ilNewsTimelineGUI.php.
References getEditModal(), HTML_Template_IT\setVariable(), and ILIAS\Repository\ui().
Referenced by getHTML().
ilNewsTimelineGUI::save | ( | ) |
Definition at line 345 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 324 of file class.ilNewsTimelineGUI.php.
References ILIAS\FileDelivery\http().
Referenced by loadMore(), and remove().
ilNewsTimelineGUI::setEnableAddNews | ( | bool | $a_val | ) |
Definition at line 83 of file class.ilNewsTimelineGUI.php.
ilNewsTimelineGUI::setPeriod | ( | int | $a_val | ) |
Definition at line 93 of file class.ilNewsTimelineGUI.php.
ilNewsTimelineGUI::setUserEditAll | ( | bool | $a_val | ) |
Set user can edit other users postings.
Definition at line 107 of file class.ilNewsTimelineGUI.php.
ilNewsTimelineGUI::show | ( | ?ilPropertyFormGUI | $form = null | ) |
Definition at line 176 of file class.ilNewsTimelineGUI.php.
References getHTML().
Referenced by save(), and update().
ilNewsTimelineGUI::update | ( | ) |
Definition at line 387 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 333 of file class.ilNewsTimelineGUI.php.
References save(), and update().
|
protected |
Definition at line 45 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 39 of file class.ilNewsTimelineGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 49 of file class.ilNewsTimelineGUI.php.
Referenced by getEnableAddNews().
|
protected |
Definition at line 31 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 36 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 38 of file class.ilNewsTimelineGUI.php.
Referenced by readNewsData().
|
staticprotected |
Definition at line 46 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 42 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 33 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 50 of file class.ilNewsTimelineGUI.php.
Referenced by getHTML(), and loadMore().
|
protected |
Definition at line 37 of file class.ilNewsTimelineGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 35 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 32 of file class.ilNewsTimelineGUI.php.
Referenced by getPeriod(), and readNewsData().
|
protected |
Definition at line 41 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 48 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 43 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 40 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 34 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 44 of file class.ilNewsTimelineGUI.php.
|
protected |
Definition at line 47 of file class.ilNewsTimelineGUI.php.
Referenced by getUserEditAll().