| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
BlockGUI class for block NewsForContext. More...
 Inheritance diagram for ilNewsForContextBlockGUI:
 Inheritance diagram for ilNewsForContextBlockGUI: Collaboration diagram for ilNewsForContextBlockGUI:
 Collaboration diagram for ilNewsForContextBlockGUI:| Public Member Functions | |
| ilNewsForContextBlockGUI () | |
| Constructor. | |
| getNewsData () | |
| Get news for context. | |
| & | executeCommand () | 
| execute command | |
| setEnableEdit ($a_enable_edit=0) | |
| Set EnableEdit. | |
| getEnableEdit () | |
| Get EnableEdit. | |
| fillDataSection () | |
| Fill data section. | |
| getHTML () | |
| Get bloch HTML code. | |
| handleView () | |
| Handles show/hide notification view and removes notifications if hidden. | |
| fillRow ($news) | |
| get flat bookmark list for personal desktop | |
| getOverview () | |
| Get overview. | |
| showNews () | |
| show news | |
| 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. | |
| cancelSettings () | |
| Cancel settings. | |
| saveSettings () | |
| Save settings. | |
| showFeedUrl () | |
| Show feed URL. | |
| addCloseCommand ($a_content_block) | |
| 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 this a repository object. | |
| static | getScreenMode () | 
| Get Screen Mode for current command. | |
| Static Public Attributes | |
| static | $block_type = "news" | 
| static | $st_data | 
| Additional Inherited Members | |
|  Protected Member Functions inherited from ilBlockGUI | |
| fillRowColor ($a_placeholder="CSS_ROW") | |
| preloadData (array $data) | |
| Can be overwritten in subclasses. | |
|  Protected Attributes inherited from ilBlockGUI | |
| $data = array() | |
| $colspan = 1 | |
| $enablenuminfo = true | |
| $detail_min = 0 | |
| $detail_max = 0 | |
| $bigmode = false | |
| $footer_links = array() | |
| $block_id = 0 | |
| $header_commands = array() | |
| $allow_moving = true | |
| $move = array("left" => false, "right" => false, "up" => false, "down" => false) | |
| $enabledetailrow = true | |
| $header_links = array() | |
| $footerinfo = false | |
| $footerinfo_icon = false | |
| $block_commands = array() | |
| $max_count = false | |
| $close_command = false | |
| $image = false | |
| $property = false | |
| $nav_value = "" | |
| $css_row = "" | |
| $dropdown | |
BlockGUI class for block NewsForContext.
ilNewsForContextBlockGUI: ilColumnGUI ilNewsForContextBlockGUI: ilNewsItemGUI
Definition at line 18 of file class.ilNewsForContextBlockGUI.php.
| ilNewsForContextBlockGUI::addCloseCommand | ( | $a_content_block | ) | 
Reimplemented in ilPDNewsBlockGUI.
Definition at line 1195 of file class.ilNewsForContextBlockGUI.php.
Referenced by showNews().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilNewsForContextBlockGUI::cancelSettings | ( | ) | 
Cancel settings.
Reimplemented in ilPDNewsBlockGUI.
Definition at line 1099 of file class.ilNewsForContextBlockGUI.php.
References $ilCtrl.
| ilNewsForContextBlockGUI::disableJS | ( | ) | 
Definition at line 1272 of file class.ilNewsForContextBlockGUI.php.
| ilNewsForContextBlockGUI::editSettings | ( | ) | 
Show settings screen.
Definition at line 969 of file class.ilNewsForContextBlockGUI.php.
References initSettingsForm().
Referenced by ilPDNewsBlockGUI\changeFeedSettings().
 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:| ilNewsForContextBlockGUI::enableJS | ( | ) | 
| & ilNewsForContextBlockGUI::executeCommand | ( | ) | 
execute command
Reimplemented in ilPDNewsBlockGUI.
Definition at line 180 of file class.ilNewsForContextBlockGUI.php.
References $cmd, $ilCtrl, and getEnableEdit().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilNewsForContextBlockGUI::fillDataSection | ( | ) | 
Fill data section.
Reimplemented from ilBlockGUI.
Reimplemented in ilPDNewsBlockGUI.
Definition at line 224 of file class.ilNewsForContextBlockGUI.php.
References ilBlockGUI\getCurrentDetailLevel(), ilBlockGUI\getData(), getDynamicReload(), getOverview(), and ilBlockGUI\setDataSection().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilNewsForContextBlockGUI::fillFooter | ( | ) | 
block footer
Reimplemented from ilBlockGUI.
Definition at line 868 of file class.ilNewsForContextBlockGUI.php.
References $ilCtrl, $ilUser, $lng, and showViewFooter().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilNewsForContextBlockGUI::fillRow | ( | $news | ) | 
get flat bookmark list for personal desktop
Reimplemented from ilBlockGUI.
Definition at line 392 of file class.ilNewsForContextBlockGUI.php.
References $ilCtrl, $ilUser, $lng, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilNewsItem\determineNewsTitle(), ilDatePresentation\formatDate(), ilBlockGUI\getCurrentDetailLevel(), IL_CAL_DATETIME, and ilUtil\shortenWords().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Get block type.
Reimplemented from ilBlockGUI.
Reimplemented in ilPDNewsBlockGUI.
Definition at line 132 of file class.ilNewsForContextBlockGUI.php.
References $block_type.
Referenced by getDynamicReload(), getHTML(), getJSEnabler(), handleView(), hideNotifications(), initSettingsForm(), saveSettings(), and showNotifications().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilNewsForContextBlockGUI::getDynamic | ( | ) | 
Definition at line 1203 of file class.ilNewsForContextBlockGUI.php.
References $_SESSION, $ilCtrl, and $ilUser.
Referenced by ilNewsForContextBlockGUI(), and ilPDNewsBlockGUI\ilPDNewsBlockGUI().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilNewsForContextBlockGUI::getDynamicReload | ( | ) | 
Definition at line 1235 of file class.ilNewsForContextBlockGUI.php.
References $ilCtrl, $lng, ilBlockGUI\getBlockId(), and getBlockType().
Referenced by ilPDNewsBlockGUI\fillDataSection(), and fillDataSection().
 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:| ilNewsForContextBlockGUI::getEnableEdit | ( | ) | 
Get EnableEdit.
Reimplemented from ilBlockGUI.
Definition at line 216 of file class.ilNewsForContextBlockGUI.php.
Referenced by executeCommand(), and getHTML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilNewsForContextBlockGUI::getHTML | ( | ) | 
Get bloch HTML code.
Reimplemented from ilBlockGUI.
Reimplemented in ilPDNewsBlockGUI.
Definition at line 243 of file class.ilNewsForContextBlockGUI.php.
References $_GET, $ilCtrl, $ilUser, $lng, ilBlockSetting\_lookup(), ilBlockGUI\addBlockCommand(), getBlockType(), ilBlockGUI\getData(), getEnableEdit(), ilUtil\getImagePath(), ilBlockGUI\getProperty(), ilBlockGUI\getRepositoryMode(), ilBlockGUI\setFooterInfo(), and ilBlockGUI\setTitle().
Referenced by enableJS(), hideNotifications(), and showNotifications().
 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:| ilNewsForContextBlockGUI::getJSEnabler | ( | ) | 
Definition at line 1256 of file class.ilNewsForContextBlockGUI.php.
References $ilCtrl, $lng, ilBlockGUI\getBlockId(), and getBlockType().
Referenced by ilPDNewsBlockGUI\getHTML().
 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:| ilNewsForContextBlockGUI::getNewsData | ( | ) | 
Get news for context.
Reimplemented in ilPDNewsBlockGUI.
Definition at line 86 of file class.ilNewsForContextBlockGUI.php.
References $_GET, $ilCtrl, and $ilUser.
Referenced by hideNotifications(), ilNewsForContextBlockGUI(), showNews(), and showNotifications().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilNewsForContextBlockGUI::getOverview | ( | ) | 
Get overview.
Definition at line 476 of file class.ilNewsForContextBlockGUI.php.
References $ilCtrl, $ilUser, $lng, and ilBlockGUI\getData().
Referenced by ilPDNewsBlockGUI\fillDataSection(), and fillDataSection().
 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 ilBlockGUI.
Reimplemented in ilPDNewsBlockGUI.
Definition at line 150 of file class.ilNewsForContextBlockGUI.php.
References $ilCtrl, IL_SCREEN_CENTER, IL_SCREEN_FULL, and IL_SCREEN_SIDE.
| ilNewsForContextBlockGUI::handleView | ( | ) | 
Handles show/hide notification view and removes notifications if hidden.
Definition at line 346 of file class.ilNewsForContextBlockGUI.php.
References ilBlockGUI\$block_id, $ilUser, $row, ilBlockSetting\_lookup(), and getBlockType().
Referenced by hideNotifications(), ilNewsForContextBlockGUI(), ilPDNewsBlockGUI\ilPDNewsBlockGUI(), and showNotifications().
 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:| ilNewsForContextBlockGUI::hideNotifications | ( | ) | 
Definition at line 942 of file class.ilNewsForContextBlockGUI.php.
References ilBlockGUI\$block_id, ilBlockGUI\$data, $ilCtrl, $ilUser, ilBlockSetting\_write(), exit, getBlockType(), getHTML(), getNewsData(), handleView(), and ilBlockGUI\setData().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilNewsForContextBlockGUI::ilNewsForContextBlockGUI | ( | ) | 
Constructor.
Definition at line 26 of file class.ilNewsForContextBlockGUI.php.
References $_GET, ilBlockGUI\$data, $ilCtrl, $ilUser, $lng, $st_data, ilBlockGUI\getCurrentDetailLevel(), getDynamic(), ilUtil\getImagePath(), getNewsData(), handleView(), ilBlockGUI\ilBlockGUI(), ilBlockGUI\setAvailableDetailLevels(), ilBlockGUI\setBlockId(), ilBlockGUI\setData(), ilBlockGUI\setEnableNumInfo(), 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:| ilNewsForContextBlockGUI::initSettingsForm | ( | ) | 
Init setting form.
Definition at line 978 of file class.ilNewsForContextBlockGUI.php.
References $_GET, $ilCtrl, $ilSetting, $ilUser, $lng, ilNewsItem\_getDefaultVisibilityForRefId(), ilBlockSetting\_lookup(), getBlockType(), ilUtil\getImagePath(), ilBlockGUI\getProperty(), IL_CAL_DATETIME, ilDateTimeInputGUI\setDate(), ilRadioOption\setInfo(), and ilFormPropertyGUI\setInfo().
Referenced by editSettings(), and saveSettings().
 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 this a repository object.
Reimplemented from ilBlockGUI.
Reimplemented in ilPDNewsBlockGUI.
Definition at line 142 of file class.ilNewsForContextBlockGUI.php.
| ilNewsForContextBlockGUI::makeClickable | ( | $a_str | ) | 
Make clickable.
| @return | 
Definition at line 828 of file class.ilNewsForContextBlockGUI.php.
Referenced by showNews().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilNewsForContextBlockGUI::saveSettings | ( | ) | 
Save settings.
Reimplemented in ilPDNewsBlockGUI.
Definition at line 1109 of file class.ilNewsForContextBlockGUI.php.
References $_GET, $_POST, ilBlockGUI\$block_id, $ilCtrl, $ilUser, ilBlockSetting\_write(), getBlockType(), ilBlockGUI\getProperty(), IL_CAL_DATETIME, and initSettingsForm().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilNewsForContextBlockGUI::setEnableEdit | ( | $a_enable_edit = 0 | ) | 
Set EnableEdit.
| boolean | $a_enable_edit | Edit mode on/off | 
Reimplemented from ilBlockGUI.
Definition at line 206 of file class.ilNewsForContextBlockGUI.php.
| ilNewsForContextBlockGUI::showFeedUrl | ( | ) | 
Show feed URL.
Reimplemented in ilPDNewsBlockGUI.
Definition at line 1162 of file class.ilNewsForContextBlockGUI.php.
References $ilCtrl, $ilUser, $lng, $tpl, ilObject\_lookupTitle(), and ilUtil\getImagePath().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilNewsForContextBlockGUI::showNews | ( | ) | 
show news
Reimplemented in ilPDNewsBlockGUI.
Definition at line 486 of file class.ilNewsForContextBlockGUI.php.
References $_GET, $ilCtrl, $ilUser, $lng, $tpl, ilObject\_exists(), ilObject\_getIcon(), ilObjMediaObject\_getURL(), ilBlockSetting\_lookup(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilNewsItem\_setRead(), addCloseCommand(), ilNewsItem\determineNewsContent(), ilNewsItem\determineNewsTitle(), ilDatePresentation\formatDate(), ilBlockGUI\getData(), ilUtil\getImagePath(), getNewsData(), ilBlockGUI\getProperty(), IL_CAL_DATETIME, ilWikiPage\lookupTitle(), makeClickable(), NEWS_AUDIO, NEWS_PUBLIC, and ilBlockGUI\setData().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilNewsForContextBlockGUI::showNotifications | ( | ) | 
Definition at line 918 of file class.ilNewsForContextBlockGUI.php.
References ilBlockGUI\$block_id, ilBlockGUI\$data, $ilCtrl, $ilUser, ilBlockSetting\_write(), exit, getBlockType(), getHTML(), getNewsData(), handleView(), and ilBlockGUI\setData().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilNewsForContextBlockGUI::showViewFooter | ( | ) | 
Show additional footer for show/hide notifications.
Definition at line 883 of file class.ilNewsForContextBlockGUI.php.
References ilBlockGUI\$block_id, $ilCtrl, $ilUser, $lng, ilBlockGUI\addFooterLink(), ilBlockGUI\clearFooterLinks(), and ilBlockGUI\fillFooterLinks().
Referenced by fillFooter().
 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:| ilNewsForContextBlockGUI::subscribeNews | ( | ) | 
Subscribe current user from news.
Definition at line 856 of file class.ilNewsForContextBlockGUI.php.
References $_GET, $ilCtrl, $ilUser, and ilNewsSubscription\_subscribe().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilNewsForContextBlockGUI::unsubscribeNews | ( | ) | 
Unsubscribe current user from news.
Definition at line 844 of file class.ilNewsForContextBlockGUI.php.
References $_GET, $ilCtrl, $ilUser, and ilNewsSubscription\_unsubscribe().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Definition at line 20 of file class.ilNewsForContextBlockGUI.php.
Referenced by getBlockType().
| 
 | static | 
Definition at line 21 of file class.ilNewsForContextBlockGUI.php.
Referenced by ilNewsForContextBlockGUI().