ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
BlockGUI class for block NewsForContext. More...
Public Member Functions | |
__construct () | |
getNewsData () | |
getBlockType () | |
executeCommand () | |
getHTML () | |
showFeedUrl () | |
editSettings (?ilPropertyFormGUI $a_private_form=null) | |
saveSettings () | |
changeFeedSettings () | |
![]() | |
__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 () | |
![]() | |
__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 | 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 string | $block_type = "news" |
static array | $st_data |
Protected Member Functions | |
initPrivateSettingsForm () | |
![]() | |
isRepositoryObject () | |
getMediaPath (int $mob_id) | |
getListItemForData (array $data) | |
downloadMob () | |
![]() | |
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 | |
![]() | |
const | OBJECTS_WITH_NEWS_SUBTAB = ["category", "course", "group", "forum"] |
object type names with settings->news settings subtab More... | |
![]() | |
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 28 of file class.ilPDNewsBlockGUI.php.
ilPDNewsBlockGUI::__construct | ( | ) |
Definition at line 37 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$data, $DIC, ilBlockGUI\$lng, ILIAS\GlobalScreen\Provider\__construct(), ilBlockGUI\__construct(), getNewsData(), ilNewsForContextBlockGUI\handleView(), ilLanguage\loadLanguageModule(), ilNewsItem\prepareNewsDataFromCache(), ilBlockGUI\setData(), ilBlockGUI\setLimit(), ilBlockGUI\setPresentation(), ilBlockGUI\setRowTemplate(), ilBlockGUI\setTitle(), and ilLanguage\txt().
ilPDNewsBlockGUI::changeFeedSettings | ( | ) |
Definition at line 365 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, ilBlockGUI\$lng, ilBlockGUI\$user, ilObjUser\_setFeedPass(), ilNewsForContextBlockGUI\editSettings(), initPrivateSettingsForm(), and ilLanguage\txt().
ilPDNewsBlockGUI::editSettings | ( | ?ilPropertyFormGUI | $a_private_form = null | ) |
Definition at line 242 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, ilBlockGUI\$lng, ilBlockGUI\$user, ilNewsItem\_lookupDefaultPDPeriod(), ilNewsItem\_lookupUserPDPeriod(), initPrivateSettingsForm(), ilSelectInputGUI\setOptions(), and ilLanguage\txt().
ilPDNewsBlockGUI::executeCommand | ( | ) |
Definition at line 132 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, and ilCtrl\getNextClass().
ilPDNewsBlockGUI::getBlockType | ( | ) |
Definition at line 109 of file class.ilPDNewsBlockGUI.php.
Referenced by saveSettings().
ilPDNewsBlockGUI::getHTML | ( | ) |
Definition at line 145 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, ilBlockGUI\$lng, ilBlockGUI\$user, ilBlockGUI\addBlockCommand(), ilBlockGUI\getHTML(), ilNewsForContextBlockGUI\getJSEnabler(), and ilLanguage\txt().
ilPDNewsBlockGUI::getNewsData | ( | ) |
Definition at line 87 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$data, ilBlockGUI\$user, ilNewsItem\_getNewsItemsOfUser(), and ilNewsItem\_lookupUserPDPeriod().
Referenced by __construct().
|
static |
Definition at line 114 of file class.ilPDNewsBlockGUI.php.
References $DIC, IL_SCREEN_CENTER, and IL_SCREEN_SIDE.
|
protected |
Definition at line 316 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().
ilPDNewsBlockGUI::saveSettings | ( | ) |
Definition at line 343 of file class.ilPDNewsBlockGUI.php.
References ilBlockGUI\$ctrl, ilBlockGUI\$user, ilBlockSetting\_write(), and getBlockType().
ilPDNewsBlockGUI::showFeedUrl | ( | ) |
Definition at line 184 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().
|
protected |
Definition at line 32 of file class.ilPDNewsBlockGUI.php.
|
protected |
Definition at line 34 of file class.ilPDNewsBlockGUI.php.
|
static |
Definition at line 30 of file class.ilPDNewsBlockGUI.php.
|
protected |
Definition at line 31 of file class.ilPDNewsBlockGUI.php.
|
protected |
Definition at line 33 of file class.ilPDNewsBlockGUI.php.
|
protected |
Definition at line 35 of file class.ilPDNewsBlockGUI.php.