| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
BlockGUI class for block NewsForContext. More...
 Inheritance diagram for ilPDNewsBlockGUI:
 Inheritance diagram for ilPDNewsBlockGUI: Collaboration diagram for ilPDNewsBlockGUI:
 Collaboration diagram for ilPDNewsBlockGUI:| Public Member Functions | |
| ilPDNewsBlockGUI () | |
| Constructor. | |
| getNewsData () | |
| Get news for context. | |
| & | executeCommand () | 
| execute command | |
| fillDataSection () | |
| Fill data section. | |
| getHTML () | |
| Get bloch HTML code. | |
| showFeedUrl () | |
| Show feed URL. | |
| addCloseCommand ($a_content_block) | |
| showNews () | |
| show news | |
| editSettings (ilPropertyFormGUI $a_private_form=null) | |
| Show settings screen. | |
| cancelSettings () | |
| Cancel settings. | |
| saveSettings () | |
| Save settings. | |
| changeFeedSettings () | |
| change user password | |
|  Public Member Functions inherited from ilNewsForContextBlockGUI | |
| ilNewsForContextBlockGUI () | |
| Constructor. | |
| setEnableEdit ($a_enable_edit=0) | |
| Set EnableEdit. | |
| getEnableEdit () | |
| Get EnableEdit. | |
| handleView () | |
| Handles show/hide notification view and removes notifications if hidden. | |
| fillRow ($news) | |
| get flat bookmark list for personal desktop | |
| getOverview () | |
| Get overview. | |
| makeClickable ($a_str) | |
| Make clickable. | |
| unsubscribeNews () | |
| Unsubscribe current user from news. | |
| subscribeNews () | |
| Subscribe current user from news. | |
| fillFooter () | |
| block footer | |
| showViewFooter () | |
| Show additional footer for show/hide notifications. | |
| showNotifications () | |
| hideNotifications () | |
| editSettings () | |
| Show settings screen. | |
| initSettingsForm () | |
| Init setting form. | |
| getDynamic () | |
| getDynamicReload () | |
| getJSEnabler () | |
| disableJS () | |
| enableJS () | |
|  Public Member Functions inherited from ilBlockGUI | |
| ilBlockGUI () | |
| Constructor. | |
| addHeaderLink ($a_href, $a_text, $status=true) | |
| getHeaderLinks () | |
| setData ($a_data) | |
| Set Data. | |
| getData () | |
| Get Data. | |
| setBigMode ($a_bigmode) | |
| Set Big Mode. | |
| getBigMode () | |
| Get Big Mode. | |
| setBlockId ($a_block_id=0) | |
| Set Block Id. | |
| getBlockId () | |
| Get Block Id. | |
| setAvailableDetailLevels ($a_max, $a_min=0) | |
| Set Available Detail Levels. | |
| setCurrentDetailLevel ($a_currentdetaillevel) | |
| Set Current Detail Level. | |
| setGuiObject (&$a_gui_object) | |
| Set GuiObject. | |
| getGuiObject () | |
| Get GuiObject. | |
| getCurrentDetailLevel () | |
| Get Current Detail Level. | |
| setTitle ($a_title) | |
| Set Title. | |
| getTitle () | |
| Get Title. | |
| setImage ($a_image) | |
| Set Image. | |
| getImage () | |
| Get Image. | |
| setOffset ($a_offset) | |
| Set Offset. | |
| getOffset () | |
| Get Offset. | |
| correctOffset () | |
| setLimit ($a_limit) | |
| Set Limit. | |
| getLimit () | |
| Get Limit. | |
| setRepositoryMode ($a_repositorymode) | |
| Set RepositoryMode. | |
| getRepositoryMode () | |
| Get RepositoryMode. | |
| setFooterInfo ($a_footerinfo, $a_hide_and_icon=false) | |
| Set Footer Info. | |
| getFooterInfo ($a_hide_and_icon=false) | |
| Get Footer Info. | |
| setSubtitle ($a_subtitle) | |
| Set Subtitle. | |
| getSubtitle () | |
| Get Subtitle. | |
| setRefId ($a_refid) | |
| Set Ref Id (only used if isRepositoryObject() is true). | |
| getRefId () | |
| Get Ref Id (only used if isRepositoryObject() is true). | |
| setAdminCommands ($a_admincommands) | |
| Set Administration Commmands. | |
| getAdminCommands () | |
| Get Administration Commmands. | |
| setColSpan ($a_colspan) | |
| Set Columns Span. | |
| getColSpan () | |
| Get Columns Span. | |
| setEnableDetailRow ($a_enabledetailrow) | |
| Set EnableDetailRow. | |
| getEnableDetailRow () | |
| Get EnableDetailRow. | |
| setEnableNumInfo ($a_enablenuminfo) | |
| Set Enable Item Number Info. | |
| getEnableNumInfo () | |
| Get Enable Item Number Info. | |
| setProperties ($a_properties) | |
| This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties. | |
| getProperty ($a_property) | |
| setProperty ($a_property, $a_value) | |
| setRowTemplate ($a_rowtemplatename, $a_rowtemplatedir="") | |
| Set Row Template Name. | |
| getNavParameter () | |
| getDetailParameter () | |
| getConfigParameter () | |
| getMoveParameter () | |
| getRowTemplateName () | |
| Get Row Template Name. | |
| getRowTemplateDir () | |
| Get Row Template Directory. | |
| addBlockCommand ($a_href, $a_text, $a_target="", $a_img="", $a_right_aligned=false, $a_checked=false) | |
| Add Block Command. | |
| getBlockCommands () | |
| Get Block commands. | |
| addHeaderCommand ($a_href, $a_text, $a_as_close=false) | |
| Add Header Block Command. | |
| getHeaderCommands () | |
| Get Header Block commands. | |
| addFooterLink ($a_text, $a_href="", $a_onclick="", $a_block_id="", $a_top=false, $a_omit_separator=false, $a_checked=false) | |
| Add a footer text/link. | |
| getFooterLinks () | |
| Get footer links. | |
| clearFooterLinks () | |
| Clear footer links. | |
| handleDetailLevel () | |
| Handle read/write current detail level. | |
| fillHeaderCommands () | |
| Fill header commands block. | |
| fillHeaderTitleBlock () | |
| Fill header title block (title and. | |
| setDataSection ($a_content) | |
| Call this from overwritten fillDataSection(), if standard row based data is not used. | |
| fillPreviousNext () | |
| Fill previous/next row. | |
| setPreviousNextLinks () | |
| Get previous/next linkbar. | |
| fillFooterLinks ($a_top=false, $a_numinfo="") | |
| Fill footer links. | |
| fillDetailRow () | |
| Fill Detail Setting Row. | |
| Static Public Member Functions | |
| static | getBlockType () | 
| Get block type. | |
| static | isRepositoryObject () | 
| Is block used in repository object? | |
| static | getScreenMode () | 
| Get Screen Mode for current command. | |
| Static Public Attributes | |
| static | $block_type = "pdnews" | 
| static | $st_data | 
|  Static Public Attributes inherited from ilNewsForContextBlockGUI | |
| static | $block_type = "news" | 
| static | $st_data | 
| Protected Member Functions | |
| initPrivateSettingsForm () | |
| Protected Attributes | |
| $acc_results = false | |
BlockGUI class for block NewsForContext.
Definition at line 16 of file class.ilPDNewsBlockGUI.php.
| ilPDNewsBlockGUI::addCloseCommand | ( | $a_content_block | ) | 
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 349 of file class.ilPDNewsBlockGUI.php.
| ilPDNewsBlockGUI::cancelSettings | ( | ) | 
Cancel settings.
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 486 of file class.ilPDNewsBlockGUI.php.
References $ilCtrl.
| ilPDNewsBlockGUI::changeFeedSettings | ( | ) | 
change user password
Definition at line 517 of file class.ilPDNewsBlockGUI.php.
References $ilCtrl, $ilUser, $lng, ilNewsForContextBlockGUI\editSettings(), initPrivateSettingsForm(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPDNewsBlockGUI::editSettings | ( | ilPropertyFormGUI | $a_private_form = null | ) | 
Show settings screen.
Definition at line 375 of file class.ilPDNewsBlockGUI.php.
References $ilCtrl, $ilSetting, $ilUser, $lng, ilNewsItem\_lookupDefaultPDPeriod(), ilNewsItem\_lookupUserPDPeriod(), ilUtil\getImagePath(), initPrivateSettingsForm(), and ilSelectInputGUI\setOptions().
 Here is the call graph for this function:
 Here is the call graph for this function:| & ilPDNewsBlockGUI::executeCommand | ( | ) | 
execute command
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 172 of file class.ilPDNewsBlockGUI.php.
| ilPDNewsBlockGUI::fillDataSection | ( | ) | 
Fill data section.
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 189 of file class.ilPDNewsBlockGUI.php.
References $ilBench, ilBlockGUI\getCurrentDetailLevel(), ilBlockGUI\getData(), ilNewsForContextBlockGUI\getDynamicReload(), ilNewsForContextBlockGUI\getOverview(), ilBlockGUI\setDataSection(), ilBlockGUI\setEnableDetailRow(), and ilBlockGUI\setEnableNumInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Get block type.
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 128 of file class.ilPDNewsBlockGUI.php.
References $block_type.
Referenced by saveSettings().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPDNewsBlockGUI::getHTML | ( | ) | 
Get bloch HTML code.
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 217 of file class.ilPDNewsBlockGUI.php.
References $ilCtrl, $ilUser, $lng, ilNewsItem\_lookupUserPDPeriod(), ilBlockGUI\addBlockCommand(), ilBlockGUI\getCurrentDetailLevel(), ilUtil\getImagePath(), ilNewsForContextBlockGUI\getJSEnabler(), ilBlockGUI\getTitle(), ilBlockGUI\setFooterInfo(), and ilBlockGUI\setTitle().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPDNewsBlockGUI::getNewsData | ( | ) | 
Get news for context.
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 102 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$data, $ilUser, ilNewsItem\_getNewsItemsOfUser(), and ilNewsItem\_lookupUserPDPeriod().
Referenced by ilPDNewsBlockGUI().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get Screen Mode for current command.
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 146 of file class.ilPDNewsBlockGUI.php.
References $_GET, $_POST, $cmd, $ilCtrl, IL_SCREEN_CENTER, and IL_SCREEN_SIDE.
| ilPDNewsBlockGUI::ilPDNewsBlockGUI | ( | ) | 
Constructor.
Definition at line 25 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$data, $ilBench, $ilCtrl, $ilUser, $lng, $st_data, ilBlockGUI\getCurrentDetailLevel(), ilNewsForContextBlockGUI\getDynamic(), ilUtil\getImagePath(), getNewsData(), ilNewsForContextBlockGUI\handleView(), ilBlockGUI\ilBlockGUI(), ilBlockGUI\setAvailableDetailLevels(), ilBlockGUI\setData(), ilBlockGUI\setImage(), ilBlockGUI\setLimit(), ilBlockGUI\setRowTemplate(), and ilBlockGUI\setTitle().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 456 of file class.ilPDNewsBlockGUI.php.
References $ilCtrl, $ilUser, $lng, ilUtil\getImagePath(), ilUtil\getPasswordRequirementsInfo(), ilCheckboxInputGUI\setChecked(), and ilFormPropertyGUI\setRequired().
Referenced by changeFeedSettings(), and editSettings().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Is block used in repository object?
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 138 of file class.ilPDNewsBlockGUI.php.
| ilPDNewsBlockGUI::saveSettings | ( | ) | 
Save settings.
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 496 of file class.ilPDNewsBlockGUI.php.
References $_POST, ilBlockGUI\$block_id, $ilCtrl, $ilUser, ilBlockSetting\_write(), and getBlockType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPDNewsBlockGUI::showFeedUrl | ( | ) | 
Show feed URL.
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 289 of file class.ilPDNewsBlockGUI.php.
References $_SESSION, $ilCtrl, $ilSetting, $ilUser, $lng, $tpl, and ilUtil\getImagePath().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPDNewsBlockGUI::showNews | ( | ) | 
show news
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 361 of file class.ilPDNewsBlockGUI.php.
| 
 | protected | 
Definition at line 20 of file class.ilPDNewsBlockGUI.php.
| 
 | static | 
Definition at line 18 of file class.ilPDNewsBlockGUI.php.
Referenced by getBlockType().
| 
 | static | 
Definition at line 19 of file class.ilPDNewsBlockGUI.php.
Referenced by ilPDNewsBlockGUI().