| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
Timeline for news. More...
 Collaboration diagram for ilNewsTimelineGUI: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) | |
| 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().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 482 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().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 442 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 getHTML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilNewsTimelineGUI::getEnableAddNews | ( | ) | 
Definition at line 88 of file class.ilNewsTimelineGUI.php.
References $enable_add_news.
Referenced by getHTML().
 Here is the caller graph for this function:| 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(), getEditModal(), getEnableAddNews(), ilUtil\getImagePath(), ilTimelineGUI\getInstance(), ilNewsTimelineItemGUI\getInstance(), getUserEditAll(), ILIAS\Repository\lng(), readNewsData(), renderDeleteModal(), ILIAS\Repository\toolbar(), and ILIAS\Repository\ui().
Referenced by show().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 120 of file class.ilNewsTimelineGUI.php.
Referenced by ilObjGroupGUI\executeCommand(), ilObjCourseGUI\executeCommand(), and ILIAS\News\Dashboard\InternalGUIService\getTimelineGUI().
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:| ilNewsTimelineGUI::loadMore | ( | ) | 
Definition at line 272 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().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 181 of file class.ilNewsTimelineGUI.php.
References $include_auto_entries, $period, and ILIAS\Repository\ctrl().
Referenced by getHTML(), and loadMore().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilNewsTimelineGUI::remove | ( | ) | 
Definition at line 433 of file class.ilNewsTimelineGUI.php.
References ilNewsItem\delete(), getUserEditAll(), send(), and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 468 of file class.ilNewsTimelineGUI.php.
References Vendor\Package\$c, ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by getHTML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilNewsTimelineGUI::save | ( | ) | 
Definition at line 341 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().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
| ResponseSendingException | 
Definition at line 320 of file class.ilNewsTimelineGUI.php.
References ILIAS\FileDelivery\http().
Referenced by loadMore(), and remove().
 Here is the call graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilNewsTimelineGUI::update | ( | ) | 
Definition at line 383 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().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 329 of file class.ilNewsTimelineGUI.php.
References save(), and update().
 Here is the call graph for this function:
      
  | 
  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().