News on PD.
More...
◆ __construct()
| ilPDNewsGUI::__construct |
( |
| ) |
|
Definition at line 45 of file class.ilPDNewsGUI.php.
References $DIC, $lng, $tpl, ILIAS\Repository\ctrl(), ILIAS\Repository\help(), ILIAS\Repository\lng(), ilLanguage\loadLanguageModule(), and ILIAS\Repository\user().
49 $this->
help = $DIC[
"ilHelp"];
50 $this->
user = $DIC->user();
51 $tpl = $DIC->ui()->mainTemplate();
52 $lng = $DIC->language();
53 $ilCtrl = $DIC->ctrl();
54 $ilHelp = $DIC[
"ilHelp"];
56 $ilHelp->setScreenIdComponent(
"news");
58 $this->std_request = $DIC->news()
66 $this->
ctrl = $ilCtrl;
70 $this->
ctrl->saveParameter($this,
"news_ref_id");
72 $this->gui = $DIC->news()
75 $this->domain = $DIC->news()
78 $this->dash_news_repo = $DIC->news()
82 $this->dash_news_manager = $DIC->news()
loadLanguageModule(string $a_module)
Load language module.
Manages favourites, currently the interface for other components, needs discussion.
ilGlobalTemplateInterface $tpl
◆ applyFilter()
| ilPDNewsGUI::applyFilter |
( |
| ) |
|
Definition at line 138 of file class.ilPDNewsGUI.php.
References $user, ILIAS\Repository\ctrl(), and ilSession\set().
142 $news_ref_id = $this->std_request->getNewsRefId();
143 $news_per = $this->std_request->getNewsPer();
145 $this->
ctrl->setParameter($this,
"news_ref_id", $news_ref_id);
146 $ilUser->writePref(
"news_sel_ref_id", (
string) $news_ref_id);
150 $this->
ctrl->redirect($this,
"view");
static set(string $a_var, $a_val)
Set a value.
◆ displayHeader()
| ilPDNewsGUI::displayHeader |
( |
| ) |
|
◆ executeCommand()
| ilPDNewsGUI::executeCommand |
( |
| ) |
|
◆ saveFilterValues()
◆ view()
Definition at line 123 of file class.ilPDNewsGUI.php.
References ILIAS\Repository\ctrl(), and saveFilterValues().
125 $filter = $this->gui->dashboard()->getFilter();
129 $filter = $this->gui->dashboard()->getFilter(
true);
130 $t = $this->gui->dashboard()->getTimelineGUI();
132 $this->tpl->setContent(
134 $this->
ctrl->getHTML($t)
saveFilterValues(FilterAdapterGUI $filter)
◆ $ctrl
◆ $dash_news_manager
◆ $dash_news_repo
| ILIAS News Dashboard DashboardSessionRepository ilPDNewsGUI::$dash_news_repo |
|
protected |
◆ $domain
◆ $fav_manager
◆ $gui
◆ $help
◆ $lng
◆ $std_request
◆ $tpl
◆ $user
The documentation for this class was generated from the following file: