ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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
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
26{
27 var $tpl;
28 var $lng;
29 var $ilias;
30
31 var $cmdClass = '';
32
36 protected $action_menu;
37
41 function __construct()
42 {
43 global $ilias, $tpl, $lng, $rbacsystem, $ilCtrl, $ilMainMenu, $ilUser, $tree;
44
45
46 $this->tpl = $tpl;
47 $this->lng = $lng;
48 $this->ilias = $ilias;
49 $this->ctrl = $ilCtrl;
50
51 $ilCtrl->setContext($ilUser->getId(),
52 "user");
53
54 $ilMainMenu->setActive("desktop");
55 $this->lng->loadLanguageModule("pdesk");
56 $this->lng->loadLanguageModule("pd"); // #16813
57
58 // catch hack attempts
59 if ($GLOBALS['DIC']['ilUser']->getId() == ANONYMOUS_USER_ID)
60 {
61 $this->ilias->raiseError($this->lng->txt("msg_not_available_for_anon"),$this->ilias->error_obj->MESSAGE);
62 }
63 $this->cmdClass = $_GET['cmdClass'];
64
65 $this->ctrl->saveParameter($this, array("view"));
66
67 //$tree->useCache(false);
68
69 $this->action_menu = new ilAdvancedSelectionListGUI();
70 }
71
75 function executeCommand()
76 {
77 global $ilSetting, $rbacsystem, $ilErr;
78
79 $next_class = $this->ctrl->getNextClass();
80 $this->ctrl->setReturn($this, "show");
81
82 $this->tpl->addCss(ilUtil::getStyleSheetLocation('filesystem','delos.css','Services/Calendar'));
83
84 // read last active subsection
85 if (isset($_GET['PDHistory']) && $_GET['PDHistory'])
86 {
87 $next_class = $this->__loadNextClass();
88 }
89 $this->__storeLastClass($next_class);
90
91 switch($next_class)
92 {
93 case "ilbookmarkadministrationgui":
94 if ($ilSetting->get('disable_bookmarks'))
95 {
96 ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
97 ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
98 return;
99 }
100 include_once("./Services/Bookmarks/classes/class.ilBookmarkAdministrationGUI.php");
101 $bookmark_gui = new ilBookmarkAdministrationGUI();
102 $this->getStandardTemplates();
103 $this->setTabs();
104 $ret = $this->ctrl->forwardCommand($bookmark_gui);
105 break;
106
107 // profile
108 case "ilpersonalprofilegui":
109 $this->getStandardTemplates();
110 $this->setTabs();
111 include_once("./Services/User/classes/class.ilPersonalProfileGUI.php");
112 $profile_gui = new ilPersonalProfileGUI();
113 $ret = $this->ctrl->forwardCommand($profile_gui);
114 break;
115
116 // settings
117 case "ilpersonalsettingsgui":
118 $this->getStandardTemplates();
119 $this->setTabs();
120 include_once("./Services/User/classes/class.ilPersonalSettingsGUI.php");
121 $settings_gui = new ilPersonalSettingsGUI();
122 $ret = $this->ctrl->forwardCommand($settings_gui);
123 break;
124
125 // profile
126 case "ilobjusergui":
127 include_once('./Services/User/classes/class.ilObjUserGUI.php');
128 $user_gui = new ilObjUserGUI("",$_GET["user"], false, false);
129 $ret = $this->ctrl->forwardCommand($user_gui);
130 break;
131
132 case 'ilcalendarpresentationgui':
133 $this->getStandardTemplates();
134 $this->displayHeader();
135 $this->tpl->setTitle($this->lng->txt("calendar"));
136 $this->setTabs();
137 include_once('./Services/Calendar/classes/class.ilCalendarPresentationGUI.php');
138 $cal = new ilCalendarPresentationGUI();
139 $ret = $this->ctrl->forwardCommand($cal);
140 $this->tpl->show();
141 break;
142
143 // pd notes
144 case "ilpdnotesgui":
145 if ($ilSetting->get('disable_notes') && $ilSetting->get('disable_comments'))
146 {
147 ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
148 ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
149 return;
150 }
151
152 $this->getStandardTemplates();
153 $this->setTabs();
154 include_once("./Services/Notes/classes/class.ilPDNotesGUI.php");
155 $pd_notes_gui = new ilPDNotesGUI();
156 $ret = $this->ctrl->forwardCommand($pd_notes_gui);
157 break;
158
159 // pd news
160 case "ilpdnewsgui":
161 $this->getStandardTemplates();
162 $this->setTabs();
163 include_once("./Services/News/classes/class.ilPDNewsGUI.php");
164 $pd_news_gui = new ilPDNewsGUI();
165 $ret = $this->ctrl->forwardCommand($pd_news_gui);
166 break;
167
168 case "illearningprogressgui":
169 $this->getStandardTemplates();
170 $this->setTabs();
171 include_once './Services/Tracking/classes/class.ilLearningProgressGUI.php';
173 $ret = $this->ctrl->forwardCommand($new_gui);
174
175 break;
176
177 case "ilcolumngui":
178 $this->getStandardTemplates();
179 $this->setTabs();
180 include_once("./Services/Block/classes/class.ilColumnGUI.php");
181 $column_gui = new ilColumnGUI("pd");
182 $this->initColumn($column_gui);
183 $this->show();
184 break;
185
186 case 'ilcontactgui':
187 require_once 'Services/Contact/BuddySystem/classes/class.ilBuddySystem.php';
188 if(!ilBuddySystem::getInstance()->isEnabled())
189 {
190 $ilErr->raiseError($this->lng->txt('msg_no_perm_read'), $ilErr->MESSAGE);
191 }
192
193 $this->getStandardTemplates();
194 $this->setTabs();
195 $this->tpl->setTitle($this->lng->txt('mail_addressbook'));
196
197 require_once 'Services/Contact/classes/class.ilContactGUI.php';
198 $this->ctrl->forwardCommand(new ilContactGUI());
199 break;
200
201 case 'ilpersonalworkspacegui':
202 // $this->getStandardTemplates();
203 // $this->setTabs();
204 include_once 'Services/PersonalWorkspace/classes/class.ilPersonalWorkspaceGUI.php';
205 $wsgui = new ilPersonalWorkspaceGUI();
206 $ret = $this->ctrl->forwardCommand($wsgui);
207 $this->tpl->show();
208 break;
209
210 case 'ilportfoliorepositorygui':
211 $this->getStandardTemplates();
212 $this->setTabs();
213 include_once 'Modules/Portfolio/classes/class.ilPortfolioRepositoryGUI.php';
214 $pfgui = new ilPortfolioRepositoryGUI();
215 $ret = $this->ctrl->forwardCommand($pfgui);
216 $this->tpl->show();
217 break;
218
219 case 'ilpersonalskillsgui':
220 $this->setTabs();
221 include_once './Services/Skill/classes/class.ilPersonalSkillsGUI.php';
222 $skgui = new ilPersonalSkillsGUI();
223 $this->getStandardTemplates();
224 $ret = $this->ctrl->forwardCommand($skgui);
225 $this->tpl->show();
226 break;
227
228 case 'ilbadgeprofilegui':
229 $this->getStandardTemplates();
230 $this->setTabs();
231 include_once './Services/Badge/classes/class.ilBadgeProfileGUI.php';
232 $bgui = new ilBadgeProfileGUI();
233 $ret = $this->ctrl->forwardCommand($bgui);
234 $this->tpl->show();
235 break;
236
237 case 'redirect':
238 $this->redirect();
239 break;
240
241 default:
242 $this->getStandardTemplates();
243 $this->setTabs();
244 $cmd = $this->ctrl->getCmd("show");
245 $this->$cmd();
246 break;
247 }
248 $ret = null;
249 return $ret;
250 }
251
255 public function redirect()
256 {
257 if(is_array($_GET))
258 {
259 foreach($_GET as $key => $val)
260 {
261 if(substr($key, 0, strlen('param_')) == 'param_')
262 {
263 $this->ctrl->setParameterByClass($_GET['redirectClass'], substr($key, strlen('param_')), $val);
264 }
265 }
266 }
267 ilUtil::redirect($this->ctrl->getLinkTargetByClass($_GET['redirectClass'], $_GET['redirectCmd'], '', true));
268 }
269
274 {
275 $this->tpl->getStandardTemplate();
276 }
277
281 function show()
282 {
283 // preload block settings
284 include_once("Services/Block/classes/class.ilBlockSetting.php");
286
287 // add template for content
288 $this->pd_tpl = new ilTemplate("tpl.usr_personaldesktop.html", true, true, "Services/PersonalDesktop");
289// $this->tpl->getStandardTemplate();
290
291 // display infopanel if something happened
293
294 $this->tpl->setTitle($this->lng->txt("overview"));
295 $this->tpl->setVariable("IMG_SPACE", ilUtil::getImagePath("spacer.png", false));
296
297 $this->tpl->setContent($this->getCenterColumnHTML());
298 $this->tpl->setRightContent($this->getRightColumnHTML());
299 $this->tpl->setLeftContent($this->getLeftColumnHTML());
300
301 if(count($this->action_menu->getItems()))
302 {
307 global $tpl, $lng;
308
309 $this->action_menu->setAsynch(false);
310 $this->action_menu->setAsynchUrl('');
311 $this->action_menu->setListTitle($lng->txt('actions'));
312 $this->action_menu->setId('act_pd');
313 $this->action_menu->setSelectionHeaderClass('small');
314 $this->action_menu->setItemLinkClass('xsmall');
315 $this->action_menu->setLinksMode('il_ContainerItemCommand2');
316 $this->action_menu->setHeaderIcon(ilAdvancedSelectionListGUI::DOWN_ARROW_DARK);
317 $this->action_menu->setUseImages(false);
318
319 $htpl = new ilTemplate('tpl.header_action.html', true, true, 'Services/Repository');
320 $htpl->setVariable('ACTION_DROP_DOWN', $this->action_menu->getHTML());
321
322 $tpl->setHeaderActionMenu($htpl->get());
323 }
324
325 $this->tpl->show();
326 }
327
328
333 {
334 global $ilCtrl, $ilPluginAdmin;
335
336 include_once("Services/Block/classes/class.ilColumnGUI.php");
337 $column_gui = new ilColumnGUI("pd", IL_COL_CENTER);
338 $this->initColumn($column_gui);
339
340 if ($ilCtrl->getNextClass() == "ilcolumngui" &&
341 $column_gui->getCmdSide() == IL_COL_CENTER)
342 {
343 $html = $ilCtrl->forwardCommand($column_gui);
344 }
345 else
346 {
347 if (!$ilCtrl->isAsynch())
348 {
349 if ($column_gui->getScreenMode() != IL_SCREEN_SIDE)
350 {
351 // right column wants center
352 if ($column_gui->getCmdSide() == IL_COL_RIGHT)
353 {
354 $column_gui = new ilColumnGUI("pd", IL_COL_RIGHT);
355 $this->initColumn($column_gui);
356 $html = $ilCtrl->forwardCommand($column_gui);
357 }
358 // left column wants center
359 if ($column_gui->getCmdSide() == IL_COL_LEFT)
360 {
361 $column_gui = new ilColumnGUI("pd", IL_COL_LEFT);
362 $this->initColumn($column_gui);
363 $html = $ilCtrl->forwardCommand($column_gui);
364 }
365 }
366 else
367 {
368 $html = "";
369
370 // user interface plugin slot + default rendering
371 include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
372 $uip = new ilUIHookProcessor("Services/PersonalDesktop", "center_column",
373 array("personal_desktop_gui" => $this));
374 if (!$uip->replaced())
375 {
376 $html = $ilCtrl->getHTML($column_gui);
377 }
378 $html = $uip->getHTML($html);
379
380 }
381 }
382 }
383 return $html;
384 }
385
390 {
391 global $ilUser, $lng, $ilCtrl, $ilPluginAdmin;
392
393 include_once("Services/Block/classes/class.ilColumnGUI.php");
394 $column_gui = new ilColumnGUI("pd", IL_COL_RIGHT);
395 $this->initColumn($column_gui);
396
397 if ($column_gui->getScreenMode() == IL_SCREEN_FULL)
398 {
399 return "";
400 }
401
402 if ($ilCtrl->getNextClass() == "ilcolumngui" &&
403 $column_gui->getCmdSide() == IL_COL_RIGHT &&
404 $column_gui->getScreenMode() == IL_SCREEN_SIDE)
405 {
406 $html = $ilCtrl->forwardCommand($column_gui);
407 }
408 else
409 {
410 if (!$ilCtrl->isAsynch())
411 {
412 $html = "";
413
414 // user interface plugin slot + default rendering
415 include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
416 $uip = new ilUIHookProcessor("Services/PersonalDesktop", "right_column",
417 array("personal_desktop_gui" => $this));
418 if (!$uip->replaced())
419 {
420 $html = $ilCtrl->getHTML($column_gui);
421 }
422 $html = $uip->getHTML($html);
423 }
424 }
425
426 return $html;
427 }
428
433 {
434 global $ilUser, $lng, $ilCtrl, $ilPluginAdmin;
435
436 include_once("Services/Block/classes/class.ilColumnGUI.php");
437 $column_gui = new ilColumnGUI("pd", IL_COL_LEFT);
438 $this->initColumn($column_gui);
439
440 if ($column_gui->getScreenMode() == IL_SCREEN_FULL)
441 {
442 return "";
443 }
444
445 if ($ilCtrl->getNextClass() == "ilcolumngui" &&
446 $column_gui->getCmdSide() == IL_COL_LEFT &&
447 $column_gui->getScreenMode() == IL_SCREEN_SIDE)
448 {
449 $html = $ilCtrl->forwardCommand($column_gui);
450 }
451 else
452 {
453 if (!$ilCtrl->isAsynch())
454 {
455 $html = "";
456
457 // user interface plugin slot + default rendering
458 include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
459 $uip = new ilUIHookProcessor("Services/PersonalDesktop", "left_column",
460 array("personal_desktop_gui" => $this));
461 if (!$uip->replaced())
462 {
463 $html = $ilCtrl->getHTML($column_gui);
464 }
465 $html = $uip->getHTML($html);
466 }
467 }
468
469 return $html;
470 }
471
473 {
474 // add template for content
475 $this->pd_tpl = new ilTemplate("tpl.usr_personaldesktop.html", true, true, "Services/PersonalDesktop");
476 $this->tpl->getStandardTemplate();
477
478 // display infopanel if something happened
480
481 $this->tpl->setTitleIcon(ilUtil::getImagePath("icon_pd.svg"));
482 $this->tpl->setTitle($this->lng->txt("personal_desktop"));
483 $this->tpl->setVariable("IMG_SPACE", ilUtil::getImagePath("spacer.png", false));
484 }
485
486
490 function removeMember()
491 {
492 global $err_msg;
493 if (strlen($err_msg) > 0)
494 {
495 $this->ilias->raiseError($this->lng->txt($err_msg),$this->ilias->error_obj->MESSAGE);
496 }
497 $this->show();
498 }
499
504 {
505 include_once("Services/Mail/classes/class.ilPDSysMessageBlockGUI.php");
506 $sys_block = new ilPDSysMessageBlockGUI("ilpersonaldesktopgui", "show");
507 return $sys_block->getHTML();
508 }
509
520 function multiarray_sort ($array, $key_sort)
521 {
522 if ($array) {
523 $key_sorta = explode(";", $key_sort);
524
525 $multikeys = array_keys($array);
526 $keys = array_keys($array[$multikeys[0]]);
527
528 for($m=0; $m < count($key_sorta); $m++) {
529 $nkeys[$m] = trim($key_sorta[$m]);
530 }
531 $n += count($key_sorta);
532
533 for($i=0; $i < count($keys); $i++){
534 if(!in_array($keys[$i], $key_sorta)) {
535 $nkeys[$n] = $keys[$i];
536 $n += "1";
537 }
538 }
539
540 for($u=0;$u<count($array); $u++) {
541 $arr = $array[$multikeys[$u]];
542 for($s=0; $s<count($nkeys); $s++) {
543 $k = $nkeys[$s];
544 $output[$multikeys[$u]][$k] = $array[$multikeys[$u]][$k];
545 }
546 }
547 sort($output);
548 return $output;
549 }
550 }
551
555 function setTabs()
556 {
557 global $ilHelp;
558
559 $ilHelp->setScreenIdComponent("pd");
560 }
561
565 public function jumpToMemberships()
566 {
570 global $ilSetting;
571
572 if(!$ilSetting->get('disable_my_memberships'))
573 {
574 require_once 'Services/PersonalDesktop/classes/class.ilPDSelectedItemsBlockGUI.php';
576 $this->ctrl->setParameter($this, "view", ilPDSelectedItemsBlockGUI::VIEW_MY_MEMBERSHIPS);
577 }
578
579 $this->show();
580 }
581
585 public function jumpToSelectedItems()
586 {
590 global $ilSetting;
591
592 if(!$ilSetting->get('disable_my_offers'))
593 {
594 require_once 'Services/PersonalDesktop/classes/class.ilPDSelectedItemsBlockGUI.php';
596 $this->ctrl->setParameter($this, "view", ilPDSelectedItemsBlockGUI::VIEW_SELECTED_ITEMS);
597 }
598
599 $this->show();
600 }
601
605 function jumpToProfile()
606 {
607 $this->ctrl->redirectByClass("ilpersonalprofilegui");
608 }
609
611 {
612 // incoming back link from shared resource
613 $cmd = "";
614 if($_REQUEST["dsh"])
615 {
616 $this->ctrl->setParameterByClass("ilportfoliorepositorygui", "shr_id", $_REQUEST["dsh"]);
617 $cmd = "showOther";
618 }
619
620 // used for goto links
621 if($_GET["prt_id"])
622 {
623 $this->ctrl->setParameterByClass("ilobjportfoliogui", "prt_id", (int)$_GET["prt_id"]);
624 $this->ctrl->setParameterByClass("ilobjportfoliogui", "gtp", (int)$_GET["gtp"]);
625 $this->ctrl->redirectByClass(array("ilportfoliorepositorygui", "ilobjportfoliogui"), "preview");
626 }
627 else
628 {
629 $this->ctrl->redirectByClass("ilportfoliorepositorygui", $cmd);
630 }
631 }
632
636 function jumpToSettings()
637 {
638 $this->ctrl->redirectByClass("ilpersonalsettingsgui");
639 }
640
645 {
646 if ($this->ilias->getSetting("disable_bookmarks"))
647 {
648 ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
649 ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
650 return;
651 }
652
653 $this->ctrl->redirectByClass("ilbookmarkadministrationgui");
654 }
655
659 function jumpToNotes()
660 {
661 if ($this->ilias->getSetting('disable_notes'))
662 {
663 ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
664 ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
665 return;
666 }
667
668 $this->ctrl->redirectByClass("ilpdnotesgui");
669 }
670
674 function jumpToComments()
675 {
676 if ($this->ilias->getSetting('disable_comments'))
677 {
678 ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
679 ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
680 return;
681 }
682
683 $this->ctrl->redirectByClass("ilpdnotesgui", "showPublicComments");
684 }
685
689 function jumpToNews()
690 {
691 $this->ctrl->redirectByClass("ilpdnewsgui");
692 }
693
697 function jumpToLP()
698 {
699 $this->ctrl->redirectByClass("illearningprogressgui");
700 }
701
705 function jumpToCalendar()
706 {
707 $this->ctrl->redirectByClass("ilcalendarpresentationgui");
708 }
709
713 function jumpToContacts()
714 {
715 $this->ctrl->redirectByClass(array('ilpersonaldesktopgui', 'ilcontactgui'));
716 }
717
722 {
723 // incoming back link from shared resource
724 $cmd = "";
725 if($_REQUEST["dsh"])
726 {
727 $this->ctrl->setParameterByClass("ilpersonalworkspacegui", "shr_id", $_REQUEST["dsh"]);
728 $cmd = "share";
729 }
730
731 if($_REQUEST["wsp_id"])
732 {
733 $this->ctrl->setParameterByClass("ilpersonalworkspacegui", "wsp_id", (int)$_REQUEST["wsp_id"]);
734 }
735
736 if($_REQUEST["gtp"])
737 {
738 $this->ctrl->setParameterByClass("ilpersonalworkspacegui", "gtp", (int)$_REQUEST["gtp"]);
739 }
740
741 $this->ctrl->redirectByClass("ilpersonalworkspacegui", $cmd);
742 }
743
747 function jumpToBadges()
748 {
749 $this->ctrl->redirectByClass("ilbadgeprofilegui");
750 }
751
755 function jumpToSkills()
756 {
757 $this->ctrl->redirectByClass("ilpersonalskillsgui");
758 }
759
761 {
762 $stored_classes = array('ilpersonaldesktopgui',
763 'ilpersonalprofilegui',
764 'ilpdnotesgui',
765 'ilcalendarpresentationgui',
766 'ilbookmarkadministrationgui',
767 'illearningprogressgui');
768
769 if(isset($_SESSION['il_pd_history']) and in_array($_SESSION['il_pd_history'],$stored_classes))
770 {
771 return $_SESSION['il_pd_history'];
772 }
773 else
774 {
775 $this->ctrl->getNextClass($this);
776 }
777 }
778 function __storeLastClass($a_class)
779 {
780 $_SESSION['il_pd_history'] = $a_class;
781 $this->cmdClass = $a_class;
782 }
783
788 function initColumn($a_column_gui)
789 {
790 $pd_set = new ilSetting("pd");
791 if ($pd_set->get("enable_block_moving"))
792 {
793 $a_column_gui->setEnableMovement(true);
794 }
795 $a_column_gui->setActionMenu($this->action_menu);
796 }
797
801 function displayHeader()
802 {
803 $this->tpl->setTitle($this->lng->txt("personal_desktop"));
804 }
805
806
807}
808?>
$n
Definition: RandomTest.php:80
$_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
User interface class for advanced drop-down selection lists.
static preloadPDBlockSettings()
Preload pd info.
GUI class for personal bookmark administration.
Column user interface class.
Class ilObjUserTrackingGUI.
Class ilObjUserGUI.
Private Notes on PD.
BlockGUI class for System Messages block on personal desktop.
GUI class for personal desktop.
getCenterColumnHTML()
Display center column.
jumpToSkills()
Jump to personal skills.
displayHeader()
display header and locator
getRightColumnHTML()
Display right column.
jumpToLP()
workaround for menu in calendar only
getStandardTemplates()
get standard templates
jumpToNotes()
workaround for menu in calendar only
getLeftColumnHTML()
Display left column.
jumpToComments()
workaround for menu in calendar only
multiarray_sort($array, $key_sort)
Returns the multidimenstional sorted array.
jumpToNews()
workaround for menu in calendar only
redirect()
directly redirects a call
jumpToProfile()
workaround for menu in calendar only
jumpToBookmarks()
workaround for menu in calendar only
setTabs()
set personal desktop tabs
jumpToSettings()
workaround for menu in calendar only
displaySystemMessages()
Display system messages.
removeMember()
copied from usr_personaldesktop.php
jumpToWorkspace()
Jump to personal workspace.
GUI class for personal profile.
GUI class for personal profile.
Personal skills GUI class.
GUI class for personal workspace.
Portfolio repository gui class.
ILIAS Setting Class.
special template class to simplify handling of ITX/PEAR
UI interface hook processor.
static getStyleSheetLocation($mode="output", $a_css_name="", $a_css_location="")
get full style sheet file name (path inclusive) of current user
static redirect($a_script)
http redirect to other 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)
$html
Definition: example_001.php:87
if(!is_dir( $entity_dir)) exit("Fatal Error ([A-Za-z0-9]+)\s+" &#(? foreach( $entity_files as $file) $output
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
global $ilCtrl
Definition: ilias.php:18
redirection script todo: (a better solution should control the processing via a xml file)
$ret
Definition: parser.php:6
global $ilSetting
Definition: privfeed.php:17
global $ilErr
Definition: raiseError.php:16
$cmd
Definition: sahs_server.php:35
$ilUser
Definition: imgupload.php:18