|
ILIAS
release_8 Revision v8.24
|
BlockGUI class for block NewsForContext. More...
Inheritance diagram for ilPDNewsBlockGUI:
Collaboration diagram for ilPDNewsBlockGUI:Public Member Functions | |
| __construct () | |
| getNewsData () | |
| getBlockType () | |
| executeCommand () | |
| fillDataSection () | |
| Standard implementation for row based data. More... | |
| getHTML () | |
| showFeedUrl () | |
| editSettings (ilPropertyFormGUI $a_private_form=null) | |
| saveSettings () | |
| changeFeedSettings () | |
Public Member Functions inherited from ilNewsForContextBlockGUI | |
| __construct () | |
| getNewsData () | |
| getBlockType () | |
| executeCommand () | |
| fillDataSection () | |
| Standard implementation for row based data. More... | |
| getHTML () | |
| handleView () | |
| Handles show/hide notification view and removes notifications if hidden. More... | |
| fillRow (array $a_set) | |
| get flat list for dashboard 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 () | |
| getDynamic () | |
| 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 () | |
| correctOffset () | |
| 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="") | |
| getBlockCommands () | |
| getHTML () | |
| fillHeaderCommands () | |
| fillHeaderTitleBlock () | |
| setDataSection (string $a_content) | |
| Call this from overwritten fillDataSection(), if standard row based data is not used. More... | |
| fillDataSection () | |
| Standard implementation for row based data. More... | |
| fillRow (array $a_set) | |
| fillFooter () | |
| fillPreviousNext () | |
| setPreviousNextLinks () | |
| getAsynch () | |
| Use this for final get before sending asynchronous output (ajax) per echo to output. More... | |
| getPaginationViewControl () | |
| Fill previous/next row. More... | |
| getHTMLNew () | |
| 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 | 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 () | |
| Returns whether block has a corresponding repository object. More... | |
| getMediaPath (int $mob_id) | |
| getListItemForData (array $data) | |
| Get list item for data array. More... | |
Protected Member Functions inherited from ilBlockGUI | |
| isRepositoryObject () | |
| Returns whether block has a corresponding repository object. More... | |
| specialCharsAsEntities (string $string) | |
| initCommands () | |
| fillRowColor (string $a_placeholder="CSS_ROW") | |
| preloadData (array $data) | |
| Can be overwritten in subclasses. More... | |
| getLegacyContent () | |
| Get legacy content. More... | |
| getViewControls () | |
| Get view controls. 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... | |
| 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 | ( | ) |
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 36 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$data, $DIC, ilBlockGUI\$lng, ilNewsForContextBlockGUI\$st_data, ilBlockGUI\__construct(), ILIAS\GlobalScreen\Provider\__construct(), ilNewsForContextBlockGUI\getDynamic(), 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 383 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, $ilUser, 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 260 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, $ilUser, ilBlockGUI\$lng, ilBlockGUI\$user, ilNewsItem\_lookupDefaultPDPeriod(), ilNewsItem\_lookupUserPDPeriod(), initPrivateSettingsForm(), and ilLanguage\txt().
Here is the call graph for this function:| ilPDNewsBlockGUI::executeCommand | ( | ) |
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 138 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, and ilCtrl\getNextClass().
Here is the call graph for this function:| ilPDNewsBlockGUI::fillDataSection | ( | ) |
Standard implementation for row based data.
Overwrite this and call setContent for other data.
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 151 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\getData(), ilNewsForContextBlockGUI\getDynamicReload(), ilNewsForContextBlockGUI\getOverview(), ilBlockGUI\setDataSection(), and ilBlockGUI\setEnableNumInfo().
Here is the call graph for this function:| ilPDNewsBlockGUI::getBlockType | ( | ) |
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 115 of file class.ilPDNewsBlockGUI.php.
References $block_type.
Referenced by saveSettings().
Here is the caller graph for this function:| ilPDNewsBlockGUI::getHTML | ( | ) |
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 163 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, $ilUser, ilBlockGUI\$lng, ilBlockGUI\$user, ilBlockGUI\addBlockCommand(), ilBlockGUI\getHTML(), ilNewsForContextBlockGUI\getJSEnabler(), and ilLanguage\txt().
Here is the call graph for this function:| ilPDNewsBlockGUI::getNewsData | ( | ) |
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 93 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$data, $ilUser, 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 |
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 120 of file class.ilPDNewsBlockGUI.php.
References $DIC, IL_SCREEN_CENTER, and IL_SCREEN_SIDE.
|
protected |
Definition at line 334 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, $ilUser, ilBlockGUI\$lng, ilBlockGUI\$user, ilObjUser\_getFeedPass(), ilSecuritySettingsChecker\getPasswordRequirementsInfo(), 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 | ( | ) |
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 361 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, $ilUser, ilBlockGUI\$user, ilBlockSetting\_write(), and getBlockType().
Here is the call graph for this function:| ilPDNewsBlockGUI::showFeedUrl | ( | ) |
Reimplemented from ilNewsForContextBlockGUI.
Definition at line 202 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, $GLOBALS, $ilUser, ilBlockGUI\$lng, $panel, 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.
Referenced by getBlockType().
|
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.