ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilDashboardGUI.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5include_once './Services/User/classes/class.ilObjUser.php';
6include_once "Services/Mail/classes/class.ilMail.php";
7include_once 'Services/Mail/classes/class.ilMailGlobalServices.php';
8include_once 'Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php';
9
27{
28 const CMD_JUMP_TO_MY_STAFF = "jumpToMyStaff";
29
30 const DISENGAGE_MAINBAR = "dash_mb_disengage";
31
35 protected $ctrl;
36
40 protected $main_menu;
41
45 protected $user;
46
50 protected $error;
51
55 protected $settings;
56
60 protected $rbacsystem;
61
65 protected $plugin_admin;
66
70 protected $help;
71
72 public $tpl;
73 public $lng;
74
75 public $cmdClass = '';
76
80 protected $action_menu;
81
85 public function __construct()
86 {
87 global $DIC;
88
89 $this->main_menu = $DIC["ilMainMenu"];
90 $this->user = $DIC->user();
91 $this->error = $DIC["ilErr"];
92 $this->settings = $DIC->settings();
93 $this->rbacsystem = $DIC->rbac()->system();
94 $this->plugin_admin = $DIC["ilPluginAdmin"];
95 $this->help = $DIC["ilHelp"];
96 $tpl = $DIC["tpl"];
97 $lng = $DIC->language();
98 $ilCtrl = $DIC->ctrl();
99 $ilMainMenu = $DIC["ilMainMenu"];
100 $ilUser = $DIC->user();
101 $ilErr = $DIC["ilErr"];
102
103 $this->tpl = $tpl;
104 $this->lng = $lng;
105 $this->ctrl = $ilCtrl;
106
107 $ilCtrl->setContext(
108 $ilUser->getId(),
109 "user"
110 );
111
112 $ilMainMenu->setActive("desktop");
113 $this->lng->loadLanguageModule("pdesk");
114 $this->lng->loadLanguageModule("pd"); // #16813
115 $this->lng->loadLanguageModule("dash");
116 $this->lng->loadLanguageModule("mmbr");
117
118 // catch hack attempts
119 if ($GLOBALS['DIC']['ilUser']->getId() == ANONYMOUS_USER_ID) {
120 $ilErr->raiseError($this->lng->txt("msg_not_available_for_anon"), $ilErr->MESSAGE);
121 }
122 $this->cmdClass = $_GET['cmdClass'];
123
124 $this->ctrl->saveParameter($this, array("view"));
125
126 //$tree->useCache(false);
127
128 $this->action_menu = new ilAdvancedSelectionListGUI();
129 }
130
134 public function executeCommand()
135 {
136 global $DIC;
137
138 $context = $DIC->globalScreen()->tool()->context();
139 $context->stack()->desktop();
140
144
145 $next_class = $this->ctrl->getNextClass();
146 $this->ctrl->setReturn($this, "show");
147
148 // read last active subsection
149 if (isset($_GET['PDHistory']) && $_GET['PDHistory']) {
150 $next_class = $this->__loadNextClass();
151 }
152 $this->__storeLastClass($next_class);
153
154 switch ($next_class) {
155
156 // profile
157 case "ilpersonalprofilegui":
158 $this->getStandardTemplates();
159 $this->setTabs();
160 $profile_gui = new ilPersonalProfileGUI();
161 $ret = $this->ctrl->forwardCommand($profile_gui);
162 break;
163
164 // settings
165 case "ilpersonalsettingsgui":
166 $this->getStandardTemplates();
167 $this->setTabs();
168 $settings_gui = new ilPersonalSettingsGUI();
169 $ret = $this->ctrl->forwardCommand($settings_gui);
170 break;
171
172 // profile
173 case "ilobjusergui":
174 include_once('./Services/User/classes/class.ilObjUserGUI.php');
175 $user_gui = new ilObjUserGUI("", $_GET["user"], false, false);
176 $ret = $this->ctrl->forwardCommand($user_gui);
177 break;
178
179 case 'ilcalendarpresentationgui':
180 $this->getStandardTemplates();
181 $this->displayHeader();
182 $this->tpl->setTitle($this->lng->txt("calendar"));
183 $this->setTabs();
184 include_once('./Services/Calendar/classes/class.ilCalendarPresentationGUI.php');
185 $cal = new ilCalendarPresentationGUI();
186 $ret = $this->ctrl->forwardCommand($cal);
187 $this->tpl->printToStdout();
188 break;
189
190 // pd notes
191 case "ilpdnotesgui":
192 if ($ilSetting->get('disable_notes') && $ilSetting->get('disable_comments')) {
193 ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
194 ilUtil::redirect('ilias.php?baseClass=ilDashboardGUI');
195 return;
196 }
197
198 $this->getStandardTemplates();
199 $this->setTabs();
200 include_once("./Services/Notes/classes/class.ilPDNotesGUI.php");
201 $pd_notes_gui = new ilPDNotesGUI();
202 $ret = $this->ctrl->forwardCommand($pd_notes_gui);
203 break;
204
205 // pd news
206 case "ilpdnewsgui":
207 $this->getStandardTemplates();
208 $this->setTabs();
209 include_once("./Services/News/classes/class.ilPDNewsGUI.php");
210 $pd_news_gui = new ilPDNewsGUI();
211 $ret = $this->ctrl->forwardCommand($pd_news_gui);
212 break;
213
214 case "ilcolumngui":
215 $this->getStandardTemplates();
216 $this->setTabs();
217 include_once("./Services/Block/classes/class.ilColumnGUI.php");
218 $column_gui = new ilColumnGUI("pd");
219 $this->initColumn($column_gui);
220 $this->show();
221 break;
222
223 case "ilpdselecteditemsblockgui":
224 $block = new ilPDSelectedItemsBlockGUI();
225 $this->displayHeader();
226 $ret = $this->ctrl->forwardCommand($block);
227 if ($ret != "") {
228 $this->tpl->setContent($ret);
229 $this->tpl->printToStdout();
230 }
231 break;
232
233 case "ilpdmembershipblockgui":
234 $block = new ilPDMembershipBlockGUI();
235 $ret = $this->ctrl->forwardCommand($block);
236 if ($ret != "") {
237 $this->displayHeader();
238 $this->tpl->setContent($ret);
239 $this->tpl->printToStdout();
240 }
241 break;
242
243 case 'ilcontactgui':
244 require_once 'Services/Contact/BuddySystem/classes/class.ilBuddySystem.php';
245 if (!ilBuddySystem::getInstance()->isEnabled()) {
246 $ilErr->raiseError($this->lng->txt('msg_no_perm_read'), $ilErr->MESSAGE);
247 }
248
249 $this->getStandardTemplates();
250 $this->setTabs();
251 $this->tpl->setTitle($this->lng->txt('mail_addressbook'));
252
253 require_once 'Services/Contact/classes/class.ilContactGUI.php';
254 $this->ctrl->forwardCommand(new ilContactGUI());
255 break;
256
257 case 'ilpersonalworkspacegui':
258 // $this->getStandardTemplates();
259 // $this->setTabs();
260 include_once 'Services/PersonalWorkspace/classes/class.ilPersonalWorkspaceGUI.php';
261 $wsgui = new ilPersonalWorkspaceGUI();
262 $ret = $this->ctrl->forwardCommand($wsgui);
263 $this->tpl->printToStdout();
264 break;
265
266 case 'ilportfoliorepositorygui':
267 $this->getStandardTemplates();
268 $this->setTabs();
269 include_once 'Modules/Portfolio/classes/class.ilPortfolioRepositoryGUI.php';
270 $pfgui = new ilPortfolioRepositoryGUI();
271 $ret = $this->ctrl->forwardCommand($pfgui);
272 $this->tpl->printToStdout();
273 break;
274
275 case 'ilachievementsgui':
276 $this->getStandardTemplates();
277 $this->setTabs();
278 $achievegui = new ilAchievementsGUI();
279 $ret = $this->ctrl->forwardCommand($achievegui);
280 break;
281
282 case strtolower(ilMyStaffGUI::class):
283 $this->getStandardTemplates();
284 $mstgui = new ilMyStaffGUI();
285 $ret = $this->ctrl->forwardCommand($mstgui);
286 break;
287 case 'ilgroupuseractionsgui':
288 $this->getStandardTemplates();
289 $this->setTabs();
290 include_once './Modules/Group/UserActions/classes/class.ilGroupUserActionsGUI.php';
291 $ggui = new ilGroupUserActionsGUI();
292 $ret = $this->ctrl->forwardCommand($ggui);
293 $this->tpl->printToStdout();
294 break;
295 case 'redirect':
296 $this->redirect();
297 break;
298
299 case "ildashboardrecommendedcontentgui":
301 $this->ctrl->forwardCommand($gui);
302 break;
303 case "ilstudyprogrammedashboardviewgui":
305 $this->ctrl->forwardCommand($gui);
306 break;
307 default:
308 $context->current()->addAdditionalData(self::DISENGAGE_MAINBAR, true);
309 $this->getStandardTemplates();
310 $this->setTabs();
311 $cmd = $this->ctrl->getCmd("show");
312 $this->$cmd();
313 break;
314 }
315 $ret = null;
316 return $ret;
317 }
318
322 public function getStandardTemplates()
323 {
324 $this->tpl->loadStandardTemplate();
325 }
326
330 public function show()
331 {
332 // preload block settings
333 include_once("Services/Block/classes/class.ilBlockSetting.php");
335
336 // display infopanel if something happened
338
339 $this->tpl->setTitle($this->lng->txt("dash_dashboard"));
340 $this->tpl->setTitleIcon(ilUtil::getImagePath("icon_dshs.svg"), $this->lng->txt("dash_dashboard"));
341 $this->tpl->setVariable("IMG_SPACE", ilUtil::getImagePath("spacer.png", false));
342
343 $this->tpl->setContent($this->getCenterColumnHTML());
344 $this->tpl->setRightContent($this->getRightColumnHTML());
345
346 if (count($this->action_menu->getItems())) {
353
354 $this->action_menu->setAsynch(false);
355 $this->action_menu->setAsynchUrl('');
356 $this->action_menu->setListTitle($lng->txt('actions'));
357 $this->action_menu->setId('act_pd');
358 $this->action_menu->setSelectionHeaderClass('small');
359 $this->action_menu->setItemLinkClass('xsmall');
360 $this->action_menu->setLinksMode('il_ContainerItemCommand2');
361 $this->action_menu->setHeaderIcon(ilAdvancedSelectionListGUI::DOWN_ARROW_DARK);
362 $this->action_menu->setUseImages(false);
363
364 $htpl = new ilTemplate('tpl.header_action.html', true, true, 'Services/Repository');
365 $htpl->setVariable('ACTION_DROP_DOWN', $this->action_menu->getHTML());
366
367 $tpl->setHeaderActionMenu($htpl->get());
368 }
369
370 $this->tpl->printToStdout();
371 }
372
373
377 public function getCenterColumnHTML()
378 {
379 $ilCtrl = $this->ctrl;
380 $ilPluginAdmin = $this->plugin_admin;
381
382 include_once("Services/Block/classes/class.ilColumnGUI.php");
383 $column_gui = new ilColumnGUI("pd", IL_COL_CENTER);
384 $this->initColumn($column_gui);
385
386 if ($ilCtrl->getNextClass() == "ilcolumngui" &&
387 $column_gui->getCmdSide() == IL_COL_CENTER) {
388 $html = $ilCtrl->forwardCommand($column_gui);
389 } else {
390 if (!$ilCtrl->isAsynch()) {
391 if ($column_gui->getScreenMode() != IL_SCREEN_SIDE) {
392 // right column wants center
393 if ($column_gui->getCmdSide() == IL_COL_RIGHT) {
394 $column_gui = new ilColumnGUI("pd", IL_COL_RIGHT);
395 $this->initColumn($column_gui);
396 $html = $ilCtrl->forwardCommand($column_gui);
397 }
398 // left column wants center
399 if ($column_gui->getCmdSide() == IL_COL_LEFT) {
400 $column_gui = new ilColumnGUI("pd", IL_COL_LEFT);
401 $this->initColumn($column_gui);
402 $html = $ilCtrl->forwardCommand($column_gui);
403 }
404 } else {
405 $html = "";
406
407 // user interface plugin slot + default rendering
408 include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
409 $uip = new ilUIHookProcessor(
410 "Services/Dashboard",
411 "center_column",
412 array("personal_desktop_gui" => $this)
413 );
414 if (!$uip->replaced()) {
415 $html = $this->getMainContent();
416 //$html = $ilCtrl->getHTML($column_gui);
417 }
418 $html = $uip->getHTML($html);
419 }
420 }
421 }
422 return $html;
423 }
424
428 public function getRightColumnHTML()
429 {
432 $ilCtrl = $this->ctrl;
433 $ilPluginAdmin = $this->plugin_admin;
434
435 include_once("Services/Block/classes/class.ilColumnGUI.php");
436 $column_gui = new ilColumnGUI("pd", IL_COL_RIGHT);
437 $this->initColumn($column_gui);
438
439 if ($column_gui->getScreenMode() == IL_SCREEN_FULL) {
440 return "";
441 }
442
443 if ($ilCtrl->getNextClass() == "ilcolumngui" &&
444 $column_gui->getCmdSide() == IL_COL_RIGHT &&
445 $column_gui->getScreenMode() == IL_SCREEN_SIDE) {
446 $html = $ilCtrl->forwardCommand($column_gui);
447 } else {
448 if (!$ilCtrl->isAsynch()) {
449 $html = "";
450
451 // user interface plugin slot + default rendering
452 include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
453 $uip = new ilUIHookProcessor(
454 "Services/Dashboard",
455 "right_column",
456 array("personal_desktop_gui" => $this)
457 );
458 if (!$uip->replaced()) {
459 $html = $ilCtrl->getHTML($column_gui);
460 }
461 $html = $uip->getHTML($html);
462 }
463 }
464
465 return $html;
466 }
467
471 public function getLeftColumnHTML()
472 {
475 $ilCtrl = $this->ctrl;
476 $ilPluginAdmin = $this->plugin_admin;
477
478 include_once("Services/Block/classes/class.ilColumnGUI.php");
479 $column_gui = new ilColumnGUI("pd", IL_COL_LEFT);
480 $this->initColumn($column_gui);
481
482 if ($column_gui->getScreenMode() == IL_SCREEN_FULL) {
483 return "";
484 }
485
486 if ($ilCtrl->getNextClass() == "ilcolumngui" &&
487 $column_gui->getCmdSide() == IL_COL_LEFT &&
488 $column_gui->getScreenMode() == IL_SCREEN_SIDE) {
489 $html = $ilCtrl->forwardCommand($column_gui);
490 } else {
491 if (!$ilCtrl->isAsynch()) {
492 $html = "";
493
494 // user interface plugin slot + default rendering
495 include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
496 $uip = new ilUIHookProcessor(
497 "Services/Dashboard",
498 "left_column",
499 array("personal_desktop_gui" => $this)
500 );
501 if (!$uip->replaced()) {
502 $html = $ilCtrl->getHTML($column_gui);
503 }
504 $html = $uip->getHTML($html);
505 }
506 }
507
508 return $html;
509 }
510
511 public function prepareContentView()
512 {
513 $this->tpl->loadStandardTemplate();
514
515 // display infopanel if something happened
517
518 $this->tpl->setTitleIcon(ilUtil::getImagePath("icon_pd.svg"));
519 $this->tpl->setTitle($this->lng->txt("personal_desktop"));
520 $this->tpl->setVariable("IMG_SPACE", ilUtil::getImagePath("spacer.png", false));
521 }
522
533 public function multiarray_sort($array, $key_sort)
534 {
535 if ($array) {
536 $key_sorta = explode(";", $key_sort);
537
538 $multikeys = array_keys($array);
539 $keys = array_keys($array[$multikeys[0]]);
540
541 for ($m = 0; $m < count($key_sorta); $m++) {
542 $nkeys[$m] = trim($key_sorta[$m]);
543 }
544 $n += count($key_sorta);
545
546 for ($i = 0; $i < count($keys); $i++) {
547 if (!in_array($keys[$i], $key_sorta)) {
548 $nkeys[$n] = $keys[$i];
549 $n += "1";
550 }
551 }
552
553 for ($u = 0;$u < count($array); $u++) {
554 $arr = $array[$multikeys[$u]];
555 for ($s = 0; $s < count($nkeys); $s++) {
556 $k = $nkeys[$s];
557 $output[$multikeys[$u]][$k] = $array[$multikeys[$u]][$k];
558 }
559 }
560 sort($output);
561 return $output;
562 }
563 }
564
568 public function setTabs()
569 {
570 $ilHelp = $this->help;
571
572 $ilHelp->setScreenIdComponent("pd");
573 }
574
578 public function jumpToMemberships()
579 {
580 $viewSettings = new ilPDSelectedItemsBlockViewSettings($GLOBALS['DIC']->user(), (int) $_GET['view']);
581 if ($viewSettings->enabledMemberships()) {
582 $_GET['view'] = $viewSettings->getMembershipsView();
583 $this->ctrl->setParameter($this, "view", $viewSettings->getMembershipsView());
584 }
585 //$this->show();
586 $this->ctrl->redirect($this, "show");
587 }
588
592 public function jumpToSelectedItems()
593 {
594 $viewSettings = new ilPDSelectedItemsBlockViewSettings($GLOBALS['DIC']->user(), (int) $_GET['view']);
595 if ($viewSettings->enabledSelectedItems()) {
596 $_GET['view'] = $viewSettings->getSelectedItemsView();
597 $this->ctrl->setParameter($this, "view", $viewSettings->getSelectedItemsView());
598 }
599 $this->show();
600 }
601
605 public function jumpToProfile()
606 {
607 $this->ctrl->redirectByClass("ilpersonalprofilegui");
608 }
609
610 public function jumpToPortfolio()
611 {
612 // incoming back link from shared resource
613 $cmd = "";
614 if ($_REQUEST["dsh"]) {
615 $this->ctrl->setParameterByClass("ilportfoliorepositorygui", "shr_id", $_REQUEST["dsh"]);
616 $cmd = "showOther";
617 }
618
619 // used for goto links
620 if ($_GET["prt_id"]) {
621 $this->ctrl->setParameterByClass("ilobjportfoliogui", "prt_id", (int) $_GET["prt_id"]);
622 $this->ctrl->setParameterByClass("ilobjportfoliogui", "gtp", (int) $_GET["gtp"]);
623 $this->ctrl->redirectByClass(array("ilportfoliorepositorygui", "ilobjportfoliogui"), "preview");
624 } else {
625 $this->ctrl->redirectByClass("ilportfoliorepositorygui", $cmd);
626 }
627 }
628
632 public function jumpToSettings()
633 {
634 $this->ctrl->redirectByClass("ilpersonalsettingsgui");
635 }
636
637
641 public function jumpToNotes()
642 {
644
645 if ($ilSetting->get('disable_notes')) {
646 ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
647 ilUtil::redirect('ilias.php?baseClass=ilDashboardGUI');
648 return;
649 }
650
651 $this->ctrl->redirectByClass("ilpdnotesgui");
652 }
653
657 public function jumpToComments()
658 {
660
661 if ($ilSetting->get('disable_comments')) {
662 ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
663 ilUtil::redirect('ilias.php?baseClass=ilDashboardGUI');
664 return;
665 }
666
667 $this->ctrl->redirectByClass("ilpdnotesgui", "showPublicComments");
668 }
669
673 public function jumpToNews()
674 {
675 $this->ctrl->redirectByClass("ilpdnewsgui");
676 }
677
681 public function jumpToLP()
682 {
683 $this->ctrl->redirectByClass("illearningprogressgui");
684 }
685
689 public function jumpToCalendar()
690 {
691 global $DIC;
692 $request = $DIC->http()->request();
693
694 if ($request->getQueryParams()["cal_view"]) {
695 $cal_view = $request->getQueryParams()["cal_view"];
696 $this->ctrl->setParameter($this, "cal_view", $cal_view);
697 }
698
699 if (!empty($request->getQueryParams()["cal_agenda_per"])) {
700 $cal_period = $request->getQueryParams()["cal_agenda_per"];
701 $this->ctrl->setParameter($this, "cal_agenda_per", $cal_period);
702 }
703
704 $this->ctrl->redirectByClass("ilcalendarpresentationgui");
705 }
706
710 public function jumpToWorkspace()
711 {
712 // incoming back link from shared resource
713 $cmd = "";
714 if ($_REQUEST["dsh"]) {
715 $this->ctrl->setParameterByClass("ilpersonalworkspacegui", "shr_id", $_REQUEST["dsh"]);
716 $cmd = "share";
717 }
718
719 if ($_REQUEST["wsp_id"]) {
720 $this->ctrl->setParameterByClass("ilpersonalworkspacegui", "wsp_id", (int) $_REQUEST["wsp_id"]);
721 }
722
723 if ($_REQUEST["gtp"]) {
724 $this->ctrl->setParameterByClass("ilpersonalworkspacegui", "gtp", (int) $_REQUEST["gtp"]);
725 }
726
727 $this->ctrl->redirectByClass("ilpersonalworkspacegui", $cmd);
728 }
729
733 protected function jumpToMyStaff()
734 {
735 $this->ctrl->redirectByClass(ilMyStaffGUI::class);
736 }
737
741 public function jumpToBadges()
742 {
743 $this->ctrl->redirectByClass(["ilAchievementsGUI", "ilbadgeprofilegui"]);
744 }
745
749 public function jumpToSkills()
750 {
751 $this->ctrl->redirectByClass("ilpersonalskillsgui");
752 }
753
754 public function __loadNextClass()
755 {
756 $stored_classes = array('ildashboardgui',
757 'ilpersonalprofilegui',
758 'ilpdnotesgui',
759 'ilcalendarpresentationgui',
760 'illearningprogressgui');
761
762 if (isset($_SESSION['il_pd_history']) and in_array($_SESSION['il_pd_history'], $stored_classes)) {
763 return $_SESSION['il_pd_history'];
764 } else {
765 $this->ctrl->getNextClass($this);
766 }
767 }
768 public function __storeLastClass($a_class)
769 {
770 $_SESSION['il_pd_history'] = $a_class;
771 $this->cmdClass = $a_class;
772 }
773
778 public function initColumn($a_column_gui)
779 {
780 $a_column_gui->setActionMenu($this->action_menu);
781 }
782
786 public function displayHeader()
787 {
788 $this->tpl->setTitle($this->lng->txt("dash_dashboard"));
789 }
790
794 protected function toggleHelp()
795 {
796 if (ilSession::get("show_help_tool") == "1") {
797 ilSession::set("show_help_tool", "0");
798 } else {
799 ilSession::set("show_help_tool", "1");
800 }
801 $this->ctrl->redirect($this, "show");
802 }
803
804
809 protected function getMainContent()
810 {
811 $tpl = new ilTemplate("tpl.dashboard.html", true, true, "Services/Dashboard");
813
814 if ($settings->enabledSelectedItems()) {
815 $html = $this->renderFavourites();
816 }
817 $html .= $this->renderRecommendedContent();
818 $html .= $this->renderStudyProgrammes();
819 $html .= $this->renderLearningSequences();
820 if ($settings->enabledMemberships()) {
821 $html .= $this->renderMemberships();
822 }
823
824 $tpl->setVariable("CONTENT", $html);
825
826 return $tpl->get();
827 }
828
834 protected function renderFavourites()
835 {
836 $block = new ilPDSelectedItemsBlockGUI();
837 return $block->getHTML();
838 }
839
845 protected function renderRecommendedContent()
846 {
847 $db_rec_content = new ilDashboardRecommendedContentGUI();
848 return $db_rec_content->render();
849 }
850
856 protected function renderStudyProgrammes()
857 {
858 $st_block = ilStudyProgrammeDIC::dic()['ilStudyProgrammeDashboardViewGUI'];
859 return $st_block->getHTML();
860 }
861
867 protected function renderMemberships()
868 {
869 $block = new ilPDMembershipBlockGUI();
870 return $block->getHTML();
871 }
872
878 protected function renderLearningSequences()
879 {
880 $st_block = new ilDashboardLearningSequenceGUI();
881 return $st_block->getHTML();
882 }
883}
user()
Definition: user.php:4
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition: PEAR.php:64
$n
Definition: RandomTest.php:85
$_GET["client_id"]
$_SESSION["AccountId"]
An exception for terminatinating execution or to throw for unit testing.
const IL_SCREEN_SIDE
const IL_COL_RIGHT
const IL_SCREEN_FULL
const IL_COL_CENTER
const IL_COL_LEFT
show()
returns the content of IniFile @access public
error($a_errmsg)
set error message @access public
User interface class for advanced drop-down selection lists.
static preloadPDBlockSettings()
Preload pd info.
Column user interface class.
renderStudyProgrammes()
Render study programmes.
setTabs()
set personal desktop tabs
jumpToSelectedItems()
Jump to selected items.
jumpToLP()
workaround for menu in calendar only
getLeftColumnHTML()
Display left column.
jumpToMemberships()
Jump to memberships.
getStandardTemplates()
get standard templates
jumpToNews()
workaround for menu in calendar only
renderLearningSequences()
Render learning sequences.
renderRecommendedContent()
Render recommended content.
renderMemberships()
Render memberships.
jumpToComments()
workaround for menu in calendar only
jumpToBadges()
Jump to badges.
__construct()
constructor
jumpToProfile()
workaround for menu in calendar only
toggleHelp()
Temporary workaround for toggling the help.
jumpToCalendar()
Jump to calendar.
jumpToNotes()
workaround for menu in calendar only
getRightColumnHTML()
Display right column.
displayHeader()
display header and locator
executeCommand()
execute command
renderFavourites()
Render favourites.
getCenterColumnHTML()
Display center column.
jumpToSettings()
workaround for menu in calendar only
jumpToWorkspace()
Jump to personal workspace.
multiarray_sort($array, $key_sort)
Returns the multidimenstional sorted array.
jumpToSkills()
Jump to personal skills.
initColumn($a_column_gui)
getMainContent()
Get main content.
Personal Desktop-Presentation for the Learningsequence.
Class ilMyStaffGUI.
Class ilObjUserGUI.
Private Notes on PD.
@ilCtrl_IsCalledBy ilPDSelectedItemsBlockGUI: ilColumnGUI @ilCtrl_Calls ilPDSelectedItemsBlockGUI: il...
GUI class for personal profile.
GUI class for personal profile.
GUI class for personal workspace.
Portfolio repository gui class.
static set($a_var, $a_val)
Set a value.
static get($a_var)
Get a value.
special template class to simplify handling of ITX/PEAR
Class ilUIHookProcessor.
static redirect($a_script)
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
static infoPanel($a_keep=true)
const ANONYMOUS_USER_ID
Definition: constants.php:25
global $DIC
Definition: goto.php:24
help()
Definition: help.php:2
$ilUser
Definition: imgupload.php:18
$i
Definition: metadata.php:24
$keys
Definition: metadata.php:187
$ret
Definition: parser.php:6
global $ilSetting
Definition: privfeed.php:17
$ilErr
Definition: raiseError.php:18
settings()
Definition: settings.php:2
$context
Definition: webdav.php:26