| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
BlockGUI class for block NewsForContext. More...
 Inheritance diagram for ilPDNewsBlockGUI:
 Collaboration diagram for ilPDNewsBlockGUI:Public Member Functions | |
| __construct () | |
| getNewsData () | |
| getBlockType () | |
| executeCommand () | |
| getHTML () | |
| showFeedUrl () | |
| editSettings (ilPropertyFormGUI $a_private_form=null) | |
| saveSettings () | |
| changeFeedSettings () | |
  Public Member Functions inherited from ilNewsForContextBlockGUI | |
| __construct () | |
| getNewsData () | |
| getBlockType () | |
| executeCommand () | |
| getHTML () | |
| handleView () | |
| Handles show/hide notification view and removes notifications if hidden.  More... | |
| getInfoForData (array $news) | |
| getOverview () | |
| showNews () | |
| makeClickable (string $a_str) | |
| showNotifications () | |
| hideNotifications () | |
| editSettings () | |
| Show settings screen.  More... | |
| initSettingsForm () | |
| Init setting form.  More... | |
| cancelSettings () | |
| saveSettings () | |
| showFeedUrl () | |
| getDynamicReload () | |
| getJSEnabler () | |
| disableJS () | |
| enableJS () | |
| getNoItemFoundContent () | |
  Public Member Functions inherited from ilBlockGUI | |
| __construct () | |
| getBlockType () | |
| setData (array $a_data) | |
| getData () | |
| setPresentation (int $type) | |
| getPresentation () | |
| setBlockId (string $a_block_id="0") | |
| getBlockId () | |
| setGuiObject (object $a_gui_object) | |
| Set GuiObject.  More... | |
| getGuiObject () | |
| setTitle (string $a_title) | |
| getTitle () | |
| setOffset (int $a_offset) | |
| getOffset () | |
| checkOffset (int $offset) | |
| setLimit (int $a_limit) | |
| getLimit () | |
| setEnableEdit (bool $a_enableedit) | |
| getEnableEdit () | |
| setRepositoryMode (bool $a_repositorymode) | |
| getRepositoryMode () | |
| setSubtitle (string $a_subtitle) | |
| getSubtitle () | |
| setRefId (int $a_refid) | |
| Set Ref Id (only used if isRepositoryObject() is true).  More... | |
| getRefId () | |
| setAdminCommands (bool $a_admincommands) | |
| getAdminCommands () | |
| setEnableNumInfo (bool $a_enablenuminfo) | |
| getEnableNumInfo () | |
| setProperties (array $a_properties) | |
| This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties.  More... | |
| getProperty (string $a_property) | |
| setProperty (string $a_property, string $a_value) | |
| setRowTemplate (string $a_rowtemplatename, string $a_rowtemplatedir="") | |
| Set Row Template Name.  More... | |
| getNavParameter () | |
| getConfigParameter () | |
| getMoveParameter () | |
| getRowTemplateName () | |
| getRowTemplateDir () | |
| addBlockCommand (string $a_href, string $a_text, string $a_onclick="", RoundTrip $modal=null) | |
| getBlockCommands () | |
| getHTML () | |
| getAsynch () | |
| Use this for final get before sending asynchronous output (ajax) per echo to output.  More... | |
| getPaginationViewControl () | |
| Fill previous/next row.  More... | |
| getViewControlsForPanel () | |
| sortObject () | |
| addSortOption (string $option, string $label, bool $active) | |
| setSortTarget (string $target) | |
| addPresentation (string $label, string $target, bool $active) | |
| getNoItemFoundContent () | |
Static Public Member Functions | |
| static | getScreenMode () | 
  Static Public Member Functions inherited from ilNewsForContextBlockGUI | |
| static | getScreenMode () | 
| static | addToSettingsForm (ilFormPropertyGUI $a_input) | 
| Add inputs to the container news settings form to configure also the contextBlock options.  More... | |
| static | writeSettings (array $a_values) | 
  Static Public Member Functions inherited from ilBlockGUI | |
| static | getScreenMode () | 
Static Public Attributes | |
| static string | $block_type = "pdnews" | 
  Static Public Attributes inherited from ilNewsForContextBlockGUI | |
| static string | $block_type = "news" | 
| static array | $st_data | 
Protected Member Functions | |
| initPrivateSettingsForm () | |
  Protected Member Functions inherited from ilNewsForContextBlockGUI | |
| isRepositoryObject () | |
| getMediaPath (int $mob_id) | |
| getListItemForData (array $data) | |
| downloadMob () | |
  Protected Member Functions inherited from ilBlockGUI | |
| isRepositoryObject () | |
| Returns whether block has a corresponding repository object.  More... | |
| specialCharsAsEntities (string $string) | |
| initCommands () | |
| preloadData (array $data) | |
| Can be overwritten in subclasses.  More... | |
| getLegacyContent () | |
| Get legacy content.  More... | |
| getListItemForData (array $data) | |
| Get list item for data array.  More... | |
| handleNavigation () | |
| Handle navigation.  More... | |
| loadData () | |
| Load data for current page.  More... | |
| getListItemGroups () | |
| Get items.  More... | |
| addRepoCommands () | |
| Add repo commands.  More... | |
| getActionsForPanel () | |
| send (string $output) | |
| Send.  More... | |
Additional Inherited Members | |
  Data Fields inherited from ilNewsForContextBlockGUI | |
| const | OBJECTS_WITH_NEWS_SUBTAB = ["category", "course", "group", "forum"] | 
| object type names with settings->news settings subtab  More... | |
  Data Fields inherited from ilBlockGUI | |
| const | PRES_MAIN_LEG = 0 | 
| const | PRES_SEC_LEG = 1 | 
| const | PRES_SEC_LIST = 2 | 
| const | PRES_MAIN_LIST = 3 | 
| const | PRES_MAIN_TILE = 4 | 
BlockGUI class for block NewsForContext.
Definition at line 27 of file class.ilPDNewsBlockGUI.php.
| ilPDNewsBlockGUI::__construct | ( | ) | 
Definition at line 36 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$data, $DIC, ilBlockGUI\$lng, ILIAS\MetaData\Repository\Validation\Data\__construct(), ilBlockGUI\__construct(), getNewsData(), ilNewsForContextBlockGUI\handleView(), ilLanguage\loadLanguageModule(), ilNewsItem\prepareNewsDataFromCache(), ilBlockGUI\setData(), ilBlockGUI\setLimit(), ilBlockGUI\setPresentation(), ilBlockGUI\setRowTemplate(), ilBlockGUI\setTitle(), and ilLanguage\txt().
 Here is the call graph for this function:| ilPDNewsBlockGUI::changeFeedSettings | ( | ) | 
Definition at line 364 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, ilBlockGUI\$lng, ilBlockGUI\$user, ilObjUser\_setFeedPass(), ilNewsForContextBlockGUI\editSettings(), ilUserPasswordManager\getInstance(), initPrivateSettingsForm(), and ilLanguage\txt().
 Here is the call graph for this function:| ilPDNewsBlockGUI::editSettings | ( | ilPropertyFormGUI | $a_private_form = null | ) | 
Definition at line 241 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, ilBlockGUI\$lng, ilBlockGUI\$user, ilNewsItem\_lookupDefaultPDPeriod(), ilNewsItem\_lookupUserPDPeriod(), initPrivateSettingsForm(), ilSelectInputGUI\setOptions(), and ilLanguage\txt().
 Here is the call graph for this function:| ilPDNewsBlockGUI::executeCommand | ( | ) | 
Definition at line 131 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, and ilCtrl\getNextClass().
 Here is the call graph for this function:| ilPDNewsBlockGUI::getBlockType | ( | ) | 
Definition at line 108 of file class.ilPDNewsBlockGUI.php.
Referenced by saveSettings().
 Here is the caller graph for this function:| ilPDNewsBlockGUI::getHTML | ( | ) | 
Definition at line 144 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, ilBlockGUI\$lng, ilBlockGUI\$user, ilBlockGUI\addBlockCommand(), ilBlockGUI\getHTML(), ilNewsForContextBlockGUI\getJSEnabler(), and ilLanguage\txt().
 Here is the call graph for this function:| ilPDNewsBlockGUI::getNewsData | ( | ) | 
Definition at line 86 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$data, ilBlockGUI\$user, ilNewsItem\_getNewsItemsOfUser(), and ilNewsItem\_lookupUserPDPeriod().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 113 of file class.ilPDNewsBlockGUI.php.
References $DIC, IL_SCREEN_CENTER, and IL_SCREEN_SIDE.
      
  | 
  protected | 
Definition at line 315 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, ilBlockGUI\$lng, ilBlockGUI\$user, ilObjUser\_getFeedPass(), ilSecuritySettingsChecker\getPasswordRequirementsInfo(), ilFormPropertyGUI\setRequired(), and ilLanguage\txt().
Referenced by changeFeedSettings(), and editSettings().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPDNewsBlockGUI::saveSettings | ( | ) | 
Definition at line 342 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, ilBlockGUI\$user, ilBlockSetting\_write(), and getBlockType().
 Here is the call graph for this function:| ilPDNewsBlockGUI::showFeedUrl | ( | ) | 
Definition at line 183 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, $GLOBALS, ilBlockGUI\$lng, ilBlockGUI\$tpl, ilBlockGUI\$user, ilObjUser\_getFeedPass(), ilObjUser\_lookupFeedHash(), CLIENT_ID, ilTemplate\get(), ILIAS\Survey\Mode\getId(), HTML_Template_IT\setVariable(), ilLanguage\txt(), and ILIAS\Repository\ui().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 31 of file class.ilPDNewsBlockGUI.php.
      
  | 
  protected | 
Definition at line 33 of file class.ilPDNewsBlockGUI.php.
      
  | 
  static | 
Definition at line 29 of file class.ilPDNewsBlockGUI.php.
      
  | 
  protected | 
Definition at line 30 of file class.ilPDNewsBlockGUI.php.
      
  | 
  protected | 
Definition at line 32 of file class.ilPDNewsBlockGUI.php.
      
  | 
  protected | 
Definition at line 34 of file class.ilPDNewsBlockGUI.php.