ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 "ilcolumngui":
222  $this->getStandardTemplates();
223  $this->setTabs();
224  include_once("./Services/Block/classes/class.ilColumnGUI.php");
225  $column_gui = new ilColumnGUI("pd");
226  $this->initColumn($column_gui);
227  $this->show();
228  break;
229 
230  case 'ilcontactgui':
231  require_once 'Services/Contact/BuddySystem/classes/class.ilBuddySystem.php';
232  if (!ilBuddySystem::getInstance()->isEnabled()) {
233  $ilErr->raiseError($this->lng->txt('msg_no_perm_read'), $ilErr->MESSAGE);
234  }
235 
236  $this->getStandardTemplates();
237  $this->setTabs();
238  $this->tpl->setTitle($this->lng->txt('mail_addressbook'));
239 
240  require_once 'Services/Contact/classes/class.ilContactGUI.php';
241  $this->ctrl->forwardCommand(new ilContactGUI());
242  break;
243 
244  case 'ilpersonalworkspacegui':
245  // $this->getStandardTemplates();
246  // $this->setTabs();
247  include_once 'Services/PersonalWorkspace/classes/class.ilPersonalWorkspaceGUI.php';
248  $wsgui = new ilPersonalWorkspaceGUI();
249  $ret = $this->ctrl->forwardCommand($wsgui);
250  $this->tpl->show();
251  break;
252 
253  case 'ilportfoliorepositorygui':
254  $this->getStandardTemplates();
255  $this->setTabs();
256  include_once 'Modules/Portfolio/classes/class.ilPortfolioRepositoryGUI.php';
257  $pfgui = new ilPortfolioRepositoryGUI();
258  $ret = $this->ctrl->forwardCommand($pfgui);
259  $this->tpl->show();
260  break;
261 
262  case 'ilachievementsgui':
263  $this->getStandardTemplates();
264  $this->setTabs();
265  $achievegui = new ilAchievementsGUI();
266  $ret = $this->ctrl->forwardCommand($achievegui);
267  break;
268 
269  case strtolower(ilMyStaffGUI::class):
270  $this->getStandardTemplates();
271  $mstgui = new ilMyStaffGUI();
272  $ret = $this->ctrl->forwardCommand($mstgui);
273  break;
274  case 'ilgroupuseractionsgui':
275  $this->getStandardTemplates();
276  $this->setTabs();
277  include_once './Modules/Group/UserActions/classes/class.ilGroupUserActionsGUI.php';
278  $ggui = new ilGroupUserActionsGUI();
279  $ret = $this->ctrl->forwardCommand($ggui);
280  $this->tpl->show();
281  break;
282  case 'redirect':
283  $this->redirect();
284  break;
285 
286  default:
287  $this->getStandardTemplates();
288  $this->setTabs();
289  $cmd = $this->ctrl->getCmd("show");
290  $this->$cmd();
291  break;
292  }
293  $ret = null;
294  return $ret;
295  }
296 
300  public function getStandardTemplates()
301  {
302  $this->tpl->getStandardTemplate();
303  }
304 
308  public function show()
309  {
310  // preload block settings
311  include_once("Services/Block/classes/class.ilBlockSetting.php");
313 
314  // add template for content
315  $this->pd_tpl = new ilTemplate("tpl.usr_personaldesktop.html", true, true, "Services/PersonalDesktop");
316  // $this->tpl->getStandardTemplate();
317 
318  // display infopanel if something happened
320 
321  $this->tpl->setTitle($this->lng->txt("overview"));
322  $this->tpl->setVariable("IMG_SPACE", ilUtil::getImagePath("spacer.png", false));
323 
324  $this->tpl->setContent($this->getCenterColumnHTML());
325  $this->tpl->setRightContent($this->getRightColumnHTML());
326  $this->tpl->setLeftContent($this->getLeftColumnHTML());
327 
328  if (count($this->action_menu->getItems())) {
333  $tpl = $this->tpl;
334  $lng = $this->lng;
335 
336  $this->action_menu->setAsynch(false);
337  $this->action_menu->setAsynchUrl('');
338  $this->action_menu->setListTitle($lng->txt('actions'));
339  $this->action_menu->setId('act_pd');
340  $this->action_menu->setSelectionHeaderClass('small');
341  $this->action_menu->setItemLinkClass('xsmall');
342  $this->action_menu->setLinksMode('il_ContainerItemCommand2');
343  $this->action_menu->setHeaderIcon(ilAdvancedSelectionListGUI::DOWN_ARROW_DARK);
344  $this->action_menu->setUseImages(false);
345 
346  $htpl = new ilTemplate('tpl.header_action.html', true, true, 'Services/Repository');
347  $htpl->setVariable('ACTION_DROP_DOWN', $this->action_menu->getHTML());
348 
349  $tpl->setHeaderActionMenu($htpl->get());
350  }
351 
352  $this->tpl->show();
353  }
354 
355 
359  public function getCenterColumnHTML()
360  {
362  $ilPluginAdmin = $this->plugin_admin;
363 
364  include_once("Services/Block/classes/class.ilColumnGUI.php");
365  $column_gui = new ilColumnGUI("pd", IL_COL_CENTER);
366  $this->initColumn($column_gui);
367 
368  if ($ilCtrl->getNextClass() == "ilcolumngui" &&
369  $column_gui->getCmdSide() == IL_COL_CENTER) {
370  $html = $ilCtrl->forwardCommand($column_gui);
371  } else {
372  if (!$ilCtrl->isAsynch()) {
373  if ($column_gui->getScreenMode() != IL_SCREEN_SIDE) {
374  // right column wants center
375  if ($column_gui->getCmdSide() == IL_COL_RIGHT) {
376  $column_gui = new ilColumnGUI("pd", IL_COL_RIGHT);
377  $this->initColumn($column_gui);
378  $html = $ilCtrl->forwardCommand($column_gui);
379  }
380  // left column wants center
381  if ($column_gui->getCmdSide() == IL_COL_LEFT) {
382  $column_gui = new ilColumnGUI("pd", IL_COL_LEFT);
383  $this->initColumn($column_gui);
384  $html = $ilCtrl->forwardCommand($column_gui);
385  }
386  } else {
387  $html = "";
388 
389  // user interface plugin slot + default rendering
390  include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
391  $uip = new ilUIHookProcessor(
392  "Services/PersonalDesktop",
393  "center_column",
394  array("personal_desktop_gui" => $this)
395  );
396  if (!$uip->replaced()) {
397  $html = $ilCtrl->getHTML($column_gui);
398  }
399  $html = $uip->getHTML($html);
400  }
401  }
402  }
403  return $html;
404  }
405 
409  public function getRightColumnHTML()
410  {
412  $lng = $this->lng;
414  $ilPluginAdmin = $this->plugin_admin;
415 
416  include_once("Services/Block/classes/class.ilColumnGUI.php");
417  $column_gui = new ilColumnGUI("pd", IL_COL_RIGHT);
418  $this->initColumn($column_gui);
419 
420  if ($column_gui->getScreenMode() == IL_SCREEN_FULL) {
421  return "";
422  }
423 
424  if ($ilCtrl->getNextClass() == "ilcolumngui" &&
425  $column_gui->getCmdSide() == IL_COL_RIGHT &&
426  $column_gui->getScreenMode() == IL_SCREEN_SIDE) {
427  $html = $ilCtrl->forwardCommand($column_gui);
428  } else {
429  if (!$ilCtrl->isAsynch()) {
430  $html = "";
431 
432  // user interface plugin slot + default rendering
433  include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
434  $uip = new ilUIHookProcessor(
435  "Services/PersonalDesktop",
436  "right_column",
437  array("personal_desktop_gui" => $this)
438  );
439  if (!$uip->replaced()) {
440  $html = $ilCtrl->getHTML($column_gui);
441  }
442  $html = $uip->getHTML($html);
443  }
444  }
445 
446  return $html;
447  }
448 
452  public function getLeftColumnHTML()
453  {
455  $lng = $this->lng;
457  $ilPluginAdmin = $this->plugin_admin;
458 
459  include_once("Services/Block/classes/class.ilColumnGUI.php");
460  $column_gui = new ilColumnGUI("pd", IL_COL_LEFT);
461  $this->initColumn($column_gui);
462 
463  if ($column_gui->getScreenMode() == IL_SCREEN_FULL) {
464  return "";
465  }
466 
467  if ($ilCtrl->getNextClass() == "ilcolumngui" &&
468  $column_gui->getCmdSide() == IL_COL_LEFT &&
469  $column_gui->getScreenMode() == IL_SCREEN_SIDE) {
470  $html = $ilCtrl->forwardCommand($column_gui);
471  } else {
472  if (!$ilCtrl->isAsynch()) {
473  $html = "";
474 
475  // user interface plugin slot + default rendering
476  include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
477  $uip = new ilUIHookProcessor(
478  "Services/PersonalDesktop",
479  "left_column",
480  array("personal_desktop_gui" => $this)
481  );
482  if (!$uip->replaced()) {
483  $html = $ilCtrl->getHTML($column_gui);
484  }
485  $html = $uip->getHTML($html);
486  }
487  }
488 
489  return $html;
490  }
491 
492  public function prepareContentView()
493  {
494  // add template for content
495  $this->pd_tpl = new ilTemplate("tpl.usr_personaldesktop.html", true, true, "Services/PersonalDesktop");
496  $this->tpl->getStandardTemplate();
497 
498  // display infopanel if something happened
500 
501  $this->tpl->setTitleIcon(ilUtil::getImagePath("icon_pd.svg"));
502  $this->tpl->setTitle($this->lng->txt("personal_desktop"));
503  $this->tpl->setVariable("IMG_SPACE", ilUtil::getImagePath("spacer.png", false));
504  }
505 
509  public function displaySystemMessages()
510  {
511  include_once("Services/Mail/classes/class.ilPDSysMessageBlockGUI.php");
512  $sys_block = new ilPDSysMessageBlockGUI("ilpersonaldesktopgui", "show");
513  return $sys_block->getHTML();
514  }
515 
526  public function multiarray_sort($array, $key_sort)
527  {
528  if ($array) {
529  $key_sorta = explode(";", $key_sort);
530 
531  $multikeys = array_keys($array);
532  $keys = array_keys($array[$multikeys[0]]);
533 
534  for ($m = 0; $m < count($key_sorta); $m++) {
535  $nkeys[$m] = trim($key_sorta[$m]);
536  }
537  $n += count($key_sorta);
538 
539  for ($i = 0; $i < count($keys); $i++) {
540  if (!in_array($keys[$i], $key_sorta)) {
541  $nkeys[$n] = $keys[$i];
542  $n += "1";
543  }
544  }
545 
546  for ($u = 0;$u < count($array); $u++) {
547  $arr = $array[$multikeys[$u]];
548  for ($s = 0; $s < count($nkeys); $s++) {
549  $k = $nkeys[$s];
550  $output[$multikeys[$u]][$k] = $array[$multikeys[$u]][$k];
551  }
552  }
553  sort($output);
554  return $output;
555  }
556  }
557 
561  public function setTabs()
562  {
563  $ilHelp = $this->help;
564 
565  $ilHelp->setScreenIdComponent("pd");
566  }
567 
571  public function jumpToMemberships()
572  {
573  require_once 'Services/PersonalDesktop/ItemsBlock/classes/class.ilPDSelectedItemsBlockViewSettings.php';
574  $viewSettings = new ilPDSelectedItemsBlockViewSettings($GLOBALS['DIC']->user(), (int) $_GET['view']);
575  if ($viewSettings->enabledMemberships()) {
576  $_GET['view'] = $viewSettings->getMembershipsView();
577  $this->ctrl->setParameter($this, "view", $viewSettings->getMembershipsView());
578  }
579  $this->show();
580  }
581 
585  public function jumpToSelectedItems()
586  {
587  require_once 'Services/PersonalDesktop/ItemsBlock/classes/class.ilPDSelectedItemsBlockViewSettings.php';
588  $viewSettings = new ilPDSelectedItemsBlockViewSettings($GLOBALS['DIC']->user(), (int) $_GET['view']);
589  if ($viewSettings->enabledSelectedItems()) {
590  $_GET['view'] = $viewSettings->getSelectedItemsView();
591  $this->ctrl->setParameter($this, "view", $viewSettings->getSelectedItemsView());
592  }
593  $this->show();
594  }
595 
599  public function jumpToProfile()
600  {
601  $this->ctrl->redirectByClass("ilpersonalprofilegui");
602  }
603 
604  public function jumpToPortfolio()
605  {
606  // incoming back link from shared resource
607  $cmd = "";
608  if ($_REQUEST["dsh"]) {
609  $this->ctrl->setParameterByClass("ilportfoliorepositorygui", "shr_id", $_REQUEST["dsh"]);
610  $cmd = "showOther";
611  }
612 
613  // used for goto links
614  if ($_GET["prt_id"]) {
615  $this->ctrl->setParameterByClass("ilobjportfoliogui", "prt_id", (int) $_GET["prt_id"]);
616  $this->ctrl->setParameterByClass("ilobjportfoliogui", "gtp", (int) $_GET["gtp"]);
617  $this->ctrl->redirectByClass(array("ilportfoliorepositorygui", "ilobjportfoliogui"), "preview");
618  } else {
619  $this->ctrl->redirectByClass("ilportfoliorepositorygui", $cmd);
620  }
621  }
622 
626  public function jumpToSettings()
627  {
628  $this->ctrl->redirectByClass("ilpersonalsettingsgui");
629  }
630 
634  public function jumpToBookmarks()
635  {
637 
638  if ($ilSetting->get("disable_bookmarks")) {
639  ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
640  ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
641  return;
642  }
643 
644  $this->ctrl->redirectByClass("ilbookmarkadministrationgui");
645  }
646 
650  public function jumpToNotes()
651  {
653 
654  if ($ilSetting->get('disable_notes')) {
655  ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
656  ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
657  return;
658  }
659 
660  $this->ctrl->redirectByClass("ilpdnotesgui");
661  }
662 
666  public function jumpToComments()
667  {
669 
670  if ($ilSetting->get('disable_comments')) {
671  ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
672  ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
673  return;
674  }
675 
676  $this->ctrl->redirectByClass("ilpdnotesgui", "showPublicComments");
677  }
678 
682  public function jumpToNews()
683  {
684  $this->ctrl->redirectByClass("ilpdnewsgui");
685  }
686 
690  public function jumpToLP()
691  {
692  $this->ctrl->redirectByClass("illearningprogressgui");
693  }
694 
698  public function jumpToCalendar()
699  {
700  $this->ctrl->redirectByClass("ilcalendarpresentationgui");
701  }
702 
706  public function jumpToContacts()
707  {
708  $this->ctrl->redirectByClass(array('ilpersonaldesktopgui', 'ilcontactgui'));
709  }
710 
714  public function jumpToWorkspace()
715  {
716  // incoming back link from shared resource
717  $cmd = "";
718  if ($_REQUEST["dsh"]) {
719  $this->ctrl->setParameterByClass("ilpersonalworkspacegui", "shr_id", $_REQUEST["dsh"]);
720  $cmd = "share";
721  }
722 
723  if ($_REQUEST["wsp_id"]) {
724  $this->ctrl->setParameterByClass("ilpersonalworkspacegui", "wsp_id", (int) $_REQUEST["wsp_id"]);
725  }
726 
727  if ($_REQUEST["gtp"]) {
728  $this->ctrl->setParameterByClass("ilpersonalworkspacegui", "gtp", (int) $_REQUEST["gtp"]);
729  }
730 
731  $this->ctrl->redirectByClass("ilpersonalworkspacegui", $cmd);
732  }
733 
737  protected function jumpToMyStaff()
738  {
739  $this->ctrl->redirectByClass(ilMyStaffGUI::class);
740  }
741 
745  public function jumpToBadges()
746  {
747  $this->ctrl->redirectByClass(["ilAchievementsGUI", "ilbadgeprofilegui"]);
748  }
749 
753  public function jumpToSkills()
754  {
755  $this->ctrl->redirectByClass("ilpersonalskillsgui");
756  }
757 
758  public function __loadNextClass()
759  {
760  $stored_classes = array('ilpersonaldesktopgui',
761  'ilpersonalprofilegui',
762  'ilpdnotesgui',
763  'ilcalendarpresentationgui',
764  'ilbookmarkadministrationgui',
765  'illearningprogressgui');
766 
767  if (isset($_SESSION['il_pd_history']) and in_array($_SESSION['il_pd_history'], $stored_classes)) {
768  return $_SESSION['il_pd_history'];
769  } else {
770  $this->ctrl->getNextClass($this);
771  }
772  }
773  public function __storeLastClass($a_class)
774  {
775  $_SESSION['il_pd_history'] = $a_class;
776  $this->cmdClass = $a_class;
777  }
778 
783  public function initColumn($a_column_gui)
784  {
785  $pd_set = new ilSetting("pd");
786  if ($pd_set->get("enable_block_moving")) {
787  $a_column_gui->setEnableMovement(true);
788  }
789  $a_column_gui->setActionMenu($this->action_menu);
790  }
791 
795  public function displayHeader()
796  {
797  $this->tpl->setTitle($this->lng->txt("personal_desktop"));
798  }
799 }
jumpToSkills()
Jump to personal skills.
getStandardTemplates()
get standard templates
GUI class for personal workspace.
settings()
Definition: settings.php:2
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.
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
$ilErr
Definition: raiseError.php:18
global $ilCtrl
Definition: ilias.php:18
setTabs()
set personal desktop tabs
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
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.
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.
$html
Definition: example_001.php:87
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.
const IL_COL_LEFT
GUI class for personal profile.