ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilPersonalDesktopGUI.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 
5 include_once './Services/User/classes/class.ilObjUser.php';
6 include_once "Services/Mail/classes/class.ilMail.php";
7 include_once 'Services/Mail/classes/class.ilMailGlobalServices.php';
8 include_once 'Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php';
9 
27 {
28  const CMD_JUMP_TO_MY_STAFF = "jumpToMyStaff";
32  protected $ctrl;
33 
37  protected $main_menu;
38 
42  protected $user;
43 
47  protected $error;
48 
52  protected $settings;
53 
57  protected $rbacsystem;
58 
62  protected $plugin_admin;
63 
67  protected $help;
68 
69  public $tpl;
70  public $lng;
71 
72  public $cmdClass = '';
73 
77  protected $action_menu;
78 
82  public function __construct()
83  {
84  global $DIC;
85 
86  $this->main_menu = $DIC["ilMainMenu"];
87  $this->user = $DIC->user();
88  $this->error = $DIC["ilErr"];
89  $this->settings = $DIC->settings();
90  $this->rbacsystem = $DIC->rbac()->system();
91  $this->plugin_admin = $DIC["ilPluginAdmin"];
92  $this->help = $DIC["ilHelp"];
93  $tpl = $DIC["tpl"];
94  $lng = $DIC->language();
95  $ilCtrl = $DIC->ctrl();
96  $ilMainMenu = $DIC["ilMainMenu"];
97  $ilUser = $DIC->user();
98  $ilErr = $DIC["ilErr"];
99 
100 
101  $this->tpl = $tpl;
102  $this->lng = $lng;
103  $this->ctrl = $ilCtrl;
104 
105  $ilCtrl->setContext(
106  $ilUser->getId(),
107  "user"
108  );
109 
110  $ilMainMenu->setActive("desktop");
111  $this->lng->loadLanguageModule("pdesk");
112  $this->lng->loadLanguageModule("pd"); // #16813
113 
114  // catch hack attempts
115  if ($GLOBALS['DIC']['ilUser']->getId() == ANONYMOUS_USER_ID) {
116  $ilErr->raiseError($this->lng->txt("msg_not_available_for_anon"), $ilErr->MESSAGE);
117  }
118  $this->cmdClass = $_GET['cmdClass'];
119 
120  $this->ctrl->saveParameter($this, array("view"));
121 
122  //$tree->useCache(false);
123 
124  $this->action_menu = new ilAdvancedSelectionListGUI();
125  }
126 
130  public function executeCommand()
131  {
135 
136  $next_class = $this->ctrl->getNextClass();
137  $this->ctrl->setReturn($this, "show");
138 
139  $this->tpl->addCss(ilUtil::getStyleSheetLocation('filesystem', 'delos.css', 'Services/Calendar'));
140 
141  // read last active subsection
142  if (isset($_GET['PDHistory']) && $_GET['PDHistory']) {
143  $next_class = $this->__loadNextClass();
144  }
145  $this->__storeLastClass($next_class);
146 
147  switch ($next_class) {
148  case "ilbookmarkadministrationgui":
149  if ($ilSetting->get('disable_bookmarks')) {
150  ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
151  ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
152  return;
153  }
154  include_once("./Services/Bookmarks/classes/class.ilBookmarkAdministrationGUI.php");
155  $bookmark_gui = new ilBookmarkAdministrationGUI();
156  $this->getStandardTemplates();
157  $this->setTabs();
158  $ret = $this->ctrl->forwardCommand($bookmark_gui);
159  break;
160 
161  // profile
162  case "ilpersonalprofilegui":
163  $this->getStandardTemplates();
164  $this->setTabs();
165  include_once("./Services/User/classes/class.ilPersonalProfileGUI.php");
166  $profile_gui = new ilPersonalProfileGUI();
167  $ret = $this->ctrl->forwardCommand($profile_gui);
168  break;
169 
170  // settings
171  case "ilpersonalsettingsgui":
172  $this->getStandardTemplates();
173  $this->setTabs();
174  include_once("./Services/User/classes/class.ilPersonalSettingsGUI.php");
175  $settings_gui = new ilPersonalSettingsGUI();
176  $ret = $this->ctrl->forwardCommand($settings_gui);
177  break;
178 
179  // profile
180  case "ilobjusergui":
181  include_once('./Services/User/classes/class.ilObjUserGUI.php');
182  $user_gui = new ilObjUserGUI("", $_GET["user"], false, false);
183  $ret = $this->ctrl->forwardCommand($user_gui);
184  break;
185 
186  case 'ilcalendarpresentationgui':
187  $this->getStandardTemplates();
188  $this->displayHeader();
189  $this->tpl->setTitle($this->lng->txt("calendar"));
190  $this->setTabs();
191  include_once('./Services/Calendar/classes/class.ilCalendarPresentationGUI.php');
192  $cal = new ilCalendarPresentationGUI();
193  $ret = $this->ctrl->forwardCommand($cal);
194  $this->tpl->show();
195  break;
196 
197  // pd notes
198  case "ilpdnotesgui":
199  if ($ilSetting->get('disable_notes') && $ilSetting->get('disable_comments')) {
200  ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
201  ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
202  return;
203  }
204 
205  $this->getStandardTemplates();
206  $this->setTabs();
207  include_once("./Services/Notes/classes/class.ilPDNotesGUI.php");
208  $pd_notes_gui = new ilPDNotesGUI();
209  $ret = $this->ctrl->forwardCommand($pd_notes_gui);
210  break;
211 
212  // pd news
213  case "ilpdnewsgui":
214  $this->getStandardTemplates();
215  $this->setTabs();
216  include_once("./Services/News/classes/class.ilPDNewsGUI.php");
217  $pd_news_gui = new ilPDNewsGUI();
218  $ret = $this->ctrl->forwardCommand($pd_news_gui);
219  break;
220 
221  case "illearningprogressgui":
222  $this->getStandardTemplates();
223  $this->setTabs();
224  include_once './Services/Tracking/classes/class.ilLearningProgressGUI.php';
226  $ret = $this->ctrl->forwardCommand($new_gui);
227 
228  break;
229 
230  case "ilcolumngui":
231  $this->getStandardTemplates();
232  $this->setTabs();
233  include_once("./Services/Block/classes/class.ilColumnGUI.php");
234  $column_gui = new ilColumnGUI("pd");
235  $this->initColumn($column_gui);
236  $this->show();
237  break;
238 
239  case 'ilcontactgui':
240  require_once 'Services/Contact/BuddySystem/classes/class.ilBuddySystem.php';
241  if (!ilBuddySystem::getInstance()->isEnabled()) {
242  $ilErr->raiseError($this->lng->txt('msg_no_perm_read'), $ilErr->MESSAGE);
243  }
244 
245  $this->getStandardTemplates();
246  $this->setTabs();
247  $this->tpl->setTitle($this->lng->txt('mail_addressbook'));
248 
249  require_once 'Services/Contact/classes/class.ilContactGUI.php';
250  $this->ctrl->forwardCommand(new ilContactGUI());
251  break;
252 
253  case 'ilpersonalworkspacegui':
254  // $this->getStandardTemplates();
255  // $this->setTabs();
256  include_once 'Services/PersonalWorkspace/classes/class.ilPersonalWorkspaceGUI.php';
257  $wsgui = new ilPersonalWorkspaceGUI();
258  $ret = $this->ctrl->forwardCommand($wsgui);
259  $this->tpl->show();
260  break;
261 
262  case 'ilportfoliorepositorygui':
263  $this->getStandardTemplates();
264  $this->setTabs();
265  include_once 'Modules/Portfolio/classes/class.ilPortfolioRepositoryGUI.php';
266  $pfgui = new ilPortfolioRepositoryGUI();
267  $ret = $this->ctrl->forwardCommand($pfgui);
268  $this->tpl->show();
269  break;
270 
271  case 'ilpersonalskillsgui':
272  $this->setTabs();
273  include_once './Services/Skill/classes/class.ilPersonalSkillsGUI.php';
274  $skgui = new ilPersonalSkillsGUI();
275  $this->getStandardTemplates();
276  $ret = $this->ctrl->forwardCommand($skgui);
277  $this->tpl->show();
278  break;
279 
280  case 'ilbadgeprofilegui':
281  $this->getStandardTemplates();
282  $this->setTabs();
283  include_once './Services/Badge/classes/class.ilBadgeProfileGUI.php';
284  $bgui = new ilBadgeProfileGUI();
285  $ret = $this->ctrl->forwardCommand($bgui);
286  $this->tpl->show();
287  break;
288 
289  case strtolower(ilMyStaffGUI::class):
290  $this->getStandardTemplates();
291  $mstgui = new ilMyStaffGUI();
292  $ret = $this->ctrl->forwardCommand($mstgui);
293  break;
294  case 'ilgroupuseractionsgui':
295  $this->getStandardTemplates();
296  $this->setTabs();
297  include_once './Modules/Group/UserActions/classes/class.ilGroupUserActionsGUI.php';
298  $ggui = new ilGroupUserActionsGUI();
299  $ret = $this->ctrl->forwardCommand($ggui);
300  $this->tpl->show();
301  break;
302  case 'redirect':
303  $this->redirect();
304  break;
305 
306  default:
307  $this->getStandardTemplates();
308  $this->setTabs();
309  $cmd = $this->ctrl->getCmd("show");
310  $this->$cmd();
311  break;
312  }
313  $ret = null;
314  return $ret;
315  }
316 
320  public function getStandardTemplates()
321  {
322  $this->tpl->getStandardTemplate();
323  }
324 
328  public function show()
329  {
330  // preload block settings
331  include_once("Services/Block/classes/class.ilBlockSetting.php");
333 
334  // add template for content
335  $this->pd_tpl = new ilTemplate("tpl.usr_personaldesktop.html", true, true, "Services/PersonalDesktop");
336  // $this->tpl->getStandardTemplate();
337 
338  // display infopanel if something happened
340 
341  $this->tpl->setTitle($this->lng->txt("overview"));
342  $this->tpl->setVariable("IMG_SPACE", ilUtil::getImagePath("spacer.png", false));
343 
344  $this->tpl->setContent($this->getCenterColumnHTML());
345  $this->tpl->setRightContent($this->getRightColumnHTML());
346  $this->tpl->setLeftContent($this->getLeftColumnHTML());
347 
348  if (count($this->action_menu->getItems())) {
353  $tpl = $this->tpl;
354  $lng = $this->lng;
355 
356  $this->action_menu->setAsynch(false);
357  $this->action_menu->setAsynchUrl('');
358  $this->action_menu->setListTitle($lng->txt('actions'));
359  $this->action_menu->setId('act_pd');
360  $this->action_menu->setSelectionHeaderClass('small');
361  $this->action_menu->setItemLinkClass('xsmall');
362  $this->action_menu->setLinksMode('il_ContainerItemCommand2');
363  $this->action_menu->setHeaderIcon(ilAdvancedSelectionListGUI::DOWN_ARROW_DARK);
364  $this->action_menu->setUseImages(false);
365 
366  $htpl = new ilTemplate('tpl.header_action.html', true, true, 'Services/Repository');
367  $htpl->setVariable('ACTION_DROP_DOWN', $this->action_menu->getHTML());
368 
369  $tpl->setHeaderActionMenu($htpl->get());
370  }
371 
372  $this->tpl->show();
373  }
374 
375 
379  public function getCenterColumnHTML()
380  {
382  $ilPluginAdmin = $this->plugin_admin;
383 
384  include_once("Services/Block/classes/class.ilColumnGUI.php");
385  $column_gui = new ilColumnGUI("pd", IL_COL_CENTER);
386  $this->initColumn($column_gui);
387 
388  if ($ilCtrl->getNextClass() == "ilcolumngui" &&
389  $column_gui->getCmdSide() == IL_COL_CENTER) {
390  $html = $ilCtrl->forwardCommand($column_gui);
391  } else {
392  if (!$ilCtrl->isAsynch()) {
393  if ($column_gui->getScreenMode() != IL_SCREEN_SIDE) {
394  // right column wants center
395  if ($column_gui->getCmdSide() == IL_COL_RIGHT) {
396  $column_gui = new ilColumnGUI("pd", IL_COL_RIGHT);
397  $this->initColumn($column_gui);
398  $html = $ilCtrl->forwardCommand($column_gui);
399  }
400  // left column wants center
401  if ($column_gui->getCmdSide() == IL_COL_LEFT) {
402  $column_gui = new ilColumnGUI("pd", IL_COL_LEFT);
403  $this->initColumn($column_gui);
404  $html = $ilCtrl->forwardCommand($column_gui);
405  }
406  } else {
407  $html = "";
408 
409  // user interface plugin slot + default rendering
410  include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
411  $uip = new ilUIHookProcessor(
412  "Services/PersonalDesktop",
413  "center_column",
414  array("personal_desktop_gui" => $this)
415  );
416  if (!$uip->replaced()) {
417  $html = $ilCtrl->getHTML($column_gui);
418  }
419  $html = $uip->getHTML($html);
420  }
421  }
422  }
423  return $html;
424  }
425 
429  public function getRightColumnHTML()
430  {
432  $lng = $this->lng;
434  $ilPluginAdmin = $this->plugin_admin;
435 
436  include_once("Services/Block/classes/class.ilColumnGUI.php");
437  $column_gui = new ilColumnGUI("pd", IL_COL_RIGHT);
438  $this->initColumn($column_gui);
439 
440  if ($column_gui->getScreenMode() == IL_SCREEN_FULL) {
441  return "";
442  }
443 
444  if ($ilCtrl->getNextClass() == "ilcolumngui" &&
445  $column_gui->getCmdSide() == IL_COL_RIGHT &&
446  $column_gui->getScreenMode() == IL_SCREEN_SIDE) {
447  $html = $ilCtrl->forwardCommand($column_gui);
448  } else {
449  if (!$ilCtrl->isAsynch()) {
450  $html = "";
451 
452  // user interface plugin slot + default rendering
453  include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
454  $uip = new ilUIHookProcessor(
455  "Services/PersonalDesktop",
456  "right_column",
457  array("personal_desktop_gui" => $this)
458  );
459  if (!$uip->replaced()) {
460  $html = $ilCtrl->getHTML($column_gui);
461  }
462  $html = $uip->getHTML($html);
463  }
464  }
465 
466  return $html;
467  }
468 
472  public function getLeftColumnHTML()
473  {
475  $lng = $this->lng;
477  $ilPluginAdmin = $this->plugin_admin;
478 
479  include_once("Services/Block/classes/class.ilColumnGUI.php");
480  $column_gui = new ilColumnGUI("pd", IL_COL_LEFT);
481  $this->initColumn($column_gui);
482 
483  if ($column_gui->getScreenMode() == IL_SCREEN_FULL) {
484  return "";
485  }
486 
487  if ($ilCtrl->getNextClass() == "ilcolumngui" &&
488  $column_gui->getCmdSide() == IL_COL_LEFT &&
489  $column_gui->getScreenMode() == IL_SCREEN_SIDE) {
490  $html = $ilCtrl->forwardCommand($column_gui);
491  } else {
492  if (!$ilCtrl->isAsynch()) {
493  $html = "";
494 
495  // user interface plugin slot + default rendering
496  include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
497  $uip = new ilUIHookProcessor(
498  "Services/PersonalDesktop",
499  "left_column",
500  array("personal_desktop_gui" => $this)
501  );
502  if (!$uip->replaced()) {
503  $html = $ilCtrl->getHTML($column_gui);
504  }
505  $html = $uip->getHTML($html);
506  }
507  }
508 
509  return $html;
510  }
511 
512  public function prepareContentView()
513  {
514  // add template for content
515  $this->pd_tpl = new ilTemplate("tpl.usr_personaldesktop.html", true, true, "Services/PersonalDesktop");
516  $this->tpl->getStandardTemplate();
517 
518  // display infopanel if something happened
520 
521  $this->tpl->setTitleIcon(ilUtil::getImagePath("icon_pd.svg"));
522  $this->tpl->setTitle($this->lng->txt("personal_desktop"));
523  $this->tpl->setVariable("IMG_SPACE", ilUtil::getImagePath("spacer.png", false));
524  }
525 
529  public function displaySystemMessages()
530  {
531  include_once("Services/Mail/classes/class.ilPDSysMessageBlockGUI.php");
532  $sys_block = new ilPDSysMessageBlockGUI("ilpersonaldesktopgui", "show");
533  return $sys_block->getHTML();
534  }
535 
546  public function multiarray_sort($array, $key_sort)
547  {
548  if ($array) {
549  $key_sorta = explode(";", $key_sort);
550 
551  $multikeys = array_keys($array);
552  $keys = array_keys($array[$multikeys[0]]);
553 
554  for ($m=0; $m < count($key_sorta); $m++) {
555  $nkeys[$m] = trim($key_sorta[$m]);
556  }
557  $n += count($key_sorta);
558 
559  for ($i=0; $i < count($keys); $i++) {
560  if (!in_array($keys[$i], $key_sorta)) {
561  $nkeys[$n] = $keys[$i];
562  $n += "1";
563  }
564  }
565 
566  for ($u=0;$u<count($array); $u++) {
567  $arr = $array[$multikeys[$u]];
568  for ($s=0; $s<count($nkeys); $s++) {
569  $k = $nkeys[$s];
570  $output[$multikeys[$u]][$k] = $array[$multikeys[$u]][$k];
571  }
572  }
573  sort($output);
574  return $output;
575  }
576  }
577 
581  public function setTabs()
582  {
583  $ilHelp = $this->help;
584 
585  $ilHelp->setScreenIdComponent("pd");
586  }
587 
591  public function jumpToMemberships()
592  {
593  require_once 'Services/PersonalDesktop/ItemsBlock/classes/class.ilPDSelectedItemsBlockViewSettings.php';
594  $viewSettings = new ilPDSelectedItemsBlockViewSettings($GLOBALS['DIC']->user(), (int) $_GET['view']);
595  if ($viewSettings->enabledMemberships()) {
596  $_GET['view'] = $viewSettings->getMembershipsView();
597  $this->ctrl->setParameter($this, "view", $viewSettings->getMembershipsView());
598  }
599  $this->show();
600  }
601 
605  public function jumpToSelectedItems()
606  {
607  require_once 'Services/PersonalDesktop/ItemsBlock/classes/class.ilPDSelectedItemsBlockViewSettings.php';
608  $viewSettings = new ilPDSelectedItemsBlockViewSettings($GLOBALS['DIC']->user(), (int) $_GET['view']);
609  if ($viewSettings->enabledSelectedItems()) {
610  $_GET['view'] = $viewSettings->getSelectedItemsView();
611  $this->ctrl->setParameter($this, "view", $viewSettings->getSelectedItemsView());
612  }
613  $this->show();
614  }
615 
619  public function jumpToProfile()
620  {
621  $this->ctrl->redirectByClass("ilpersonalprofilegui");
622  }
623 
624  public function jumpToPortfolio()
625  {
626  // incoming back link from shared resource
627  $cmd = "";
628  if ($_REQUEST["dsh"]) {
629  $this->ctrl->setParameterByClass("ilportfoliorepositorygui", "shr_id", $_REQUEST["dsh"]);
630  $cmd = "showOther";
631  }
632 
633  // used for goto links
634  if ($_GET["prt_id"]) {
635  $this->ctrl->setParameterByClass("ilobjportfoliogui", "prt_id", (int) $_GET["prt_id"]);
636  $this->ctrl->setParameterByClass("ilobjportfoliogui", "gtp", (int) $_GET["gtp"]);
637  $this->ctrl->redirectByClass(array("ilportfoliorepositorygui", "ilobjportfoliogui"), "preview");
638  } else {
639  $this->ctrl->redirectByClass("ilportfoliorepositorygui", $cmd);
640  }
641  }
642 
646  public function jumpToSettings()
647  {
648  $this->ctrl->redirectByClass("ilpersonalsettingsgui");
649  }
650 
654  public function jumpToBookmarks()
655  {
657 
658  if ($ilSetting->get("disable_bookmarks")) {
659  ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
660  ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
661  return;
662  }
663 
664  $this->ctrl->redirectByClass("ilbookmarkadministrationgui");
665  }
666 
670  public function jumpToNotes()
671  {
673 
674  if ($ilSetting->get('disable_notes')) {
675  ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
676  ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
677  return;
678  }
679 
680  $this->ctrl->redirectByClass("ilpdnotesgui");
681  }
682 
686  public function jumpToComments()
687  {
689 
690  if ($ilSetting->get('disable_comments')) {
691  ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
692  ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
693  return;
694  }
695 
696  $this->ctrl->redirectByClass("ilpdnotesgui", "showPublicComments");
697  }
698 
702  public function jumpToNews()
703  {
704  $this->ctrl->redirectByClass("ilpdnewsgui");
705  }
706 
710  public function jumpToLP()
711  {
712  $this->ctrl->redirectByClass("illearningprogressgui");
713  }
714 
718  public function jumpToCalendar()
719  {
720  $this->ctrl->redirectByClass("ilcalendarpresentationgui");
721  }
722 
726  public function jumpToContacts()
727  {
728  $this->ctrl->redirectByClass(array('ilpersonaldesktopgui', 'ilcontactgui'));
729  }
730 
734  public function jumpToWorkspace()
735  {
736  // incoming back link from shared resource
737  $cmd = "";
738  if ($_REQUEST["dsh"]) {
739  $this->ctrl->setParameterByClass("ilpersonalworkspacegui", "shr_id", $_REQUEST["dsh"]);
740  $cmd = "share";
741  }
742 
743  if ($_REQUEST["wsp_id"]) {
744  $this->ctrl->setParameterByClass("ilpersonalworkspacegui", "wsp_id", (int) $_REQUEST["wsp_id"]);
745  }
746 
747  if ($_REQUEST["gtp"]) {
748  $this->ctrl->setParameterByClass("ilpersonalworkspacegui", "gtp", (int) $_REQUEST["gtp"]);
749  }
750 
751  $this->ctrl->redirectByClass("ilpersonalworkspacegui", $cmd);
752  }
753 
757  protected function jumpToMyStaff()
758  {
759  $this->ctrl->redirectByClass(ilMyStaffGUI::class);
760  }
761 
765  public function jumpToBadges()
766  {
767  $this->ctrl->redirectByClass("ilbadgeprofilegui");
768  }
769 
773  public function jumpToSkills()
774  {
775  $this->ctrl->redirectByClass("ilpersonalskillsgui");
776  }
777 
778  public function __loadNextClass()
779  {
780  $stored_classes = array('ilpersonaldesktopgui',
781  'ilpersonalprofilegui',
782  'ilpdnotesgui',
783  'ilcalendarpresentationgui',
784  'ilbookmarkadministrationgui',
785  'illearningprogressgui');
786 
787  if (isset($_SESSION['il_pd_history']) and in_array($_SESSION['il_pd_history'], $stored_classes)) {
788  return $_SESSION['il_pd_history'];
789  } else {
790  $this->ctrl->getNextClass($this);
791  }
792  }
793  public function __storeLastClass($a_class)
794  {
795  $_SESSION['il_pd_history'] = $a_class;
796  $this->cmdClass = $a_class;
797  }
798 
803  public function initColumn($a_column_gui)
804  {
805  $pd_set = new ilSetting("pd");
806  if ($pd_set->get("enable_block_moving")) {
807  $a_column_gui->setEnableMovement(true);
808  }
809  $a_column_gui->setActionMenu($this->action_menu);
810  }
811 
815  public function displayHeader()
816  {
817  $this->tpl->setTitle($this->lng->txt("personal_desktop"));
818  }
819 }
jumpToSkills()
Jump to personal skills.
global $ilErr
Definition: raiseError.php:16
getStandardTemplates()
get standard templates
GUI class for personal workspace.
jumpToLP()
workaround for menu in calendar only
$_SESSION["AccountId"]
global $DIC
Definition: saml.php:7
static getStyleSheetLocation($mode="output", $a_css_name="", $a_css_location="")
get full style sheet file name (path inclusive) of current user
$_GET["client_id"]
multiarray_sort($array, $key_sort)
Returns the multidimenstional sorted array.
getCenterColumnHTML()
Display center column.
jumpToWorkspace()
Jump to personal workspace.
Private Notes on PD.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
BlockGUI class for System Messages block on personal desktop.
const IL_COL_CENTER
displaySystemMessages()
Display system messages.
$s
Definition: pwgen.php:45
const IL_COL_RIGHT
jumpToContacts()
Jump to contacts.
$keys
jumpToBookmarks()
workaround for menu in calendar only
Portfolio repository gui class.
jumpToProfile()
workaround for menu in calendar only
user()
Definition: user.php:4
global $ilCtrl
Definition: ilias.php:18
setTabs()
set personal desktop tabs
Personal skills GUI class.
if(!is_dir( $entity_dir)) exit("Fatal Error ([A-Za-z0-9]+)\+" &#(? foreach( $entity_files as $file) $output
jumpToMemberships()
Jump to memberships.
const IL_SCREEN_FULL
Column user interface class.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
Class ilPDSelectedItemsBlockViewSettings.
jumpToNotes()
workaround for menu in calendar only
special template class to simplify handling of ITX/PEAR
static infoPanel($a_keep=true)
jumpToComments()
workaround for menu in calendar only
$ilUser
Definition: imgupload.php:18
getRightColumnHTML()
Display right column.
GUI class for personal bookmark administration.
$n
Definition: RandomTest.php:85
Create styles array
The data for the language used.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
User interface class for advanced drop-down selection lists.
jumpToCalendar()
Jump to calendar.
GUI class for personal profile.
getLeftColumnHTML()
Display left column.
settings()
Definition: settings.php:2
jumpToSettings()
workaround for menu in calendar only
Class ilMyStaffGUI.
global $ilSetting
Definition: privfeed.php:17
static preloadPDBlockSettings()
Preload pd info.
GUI class for personal desktop.
jumpToNews()
workaround for menu in calendar only
$ret
Definition: parser.php:6
$i
Definition: disco.tpl.php:19
displayHeader()
display header and locator
News on PD.
Class ilObjUserGUI.
static redirect($a_script)
const IL_SCREEN_SIDE
jumpToSelectedItems()
Jump to selected items.
Class ilObjUserTrackingGUI.
$html
Definition: example_001.php:87
const IL_COL_LEFT
GUI class for personal profile.