ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilPersonalDesktopGUI Class Reference

GUI class for personal desktop. More...

+ Collaboration diagram for ilPersonalDesktopGUI:

Public Member Functions

 ilPersonalDesktopGUI ()
 constructor
executeCommand ()
 execute command
 redirect ()
 directly redirects a call
 getStandardTemplates ()
 get standard templates
 getTreeModeTemplates ()
 get tree mode templates
 getCenterColumnHTML ()
 Display center column.
 getRightColumnHTML ()
 Display right column.
 getLeftColumnHTML ()
 Display left column.
 prepareContentView ()
 removeMember ()
 copied from usr_personaldesktop.php
 displaySystemMessages ()
 Display system messages.
 multiarray_sort ($array, $key_sort)
 Returns the multidimenstional sorted array.
 setTabs ()
 set personal desktop tabs
 jumpToMemberships ()
 Jump to memberships.
 jumpToSelectedItems ()
 Jump to selected items.
 jumpToProfile ()
 workaround for menu in calendar only
 jumpToPortfolio ()
 workaround for menu in calendar only
 jumpToSettings ()
 workaround for menu in calendar only
 jumpToBookmarks ()
 workaround for menu in calendar only
 jumpToNotes ()
 workaround for menu in calendar only
 jumpToNews ()
 workaround for menu in calendar only
 jumpToLP ()
 workaround for menu in calendar only
 jumpToCalendar ()
 Jump to calendar.
 jumpToContacts ()
 Jump to contacts.
 jumpToWorkspace ()
 Jump to personal workspace.
 jumpToSkills ()
 Jump to personal skills.
 __loadNextClass ()
 __storeLastClass ($a_class)
 initColumn ($a_column_gui)
 displayHeader ()
 display header and locator

Data Fields

 $tpl
 $lng
 $ilias
 $cmdClass = ''

Protected Attributes

 $action_menu

Detailed Description

Member Function Documentation

ilPersonalDesktopGUI::__loadNextClass ( )

Definition at line 767 of file class.ilPersonalDesktopGUI.php.

References $_SESSION.

Referenced by executeCommand().

{
$stored_classes = array('ilpersonaldesktopgui',
'ilpersonalprofilegui',
'ilpdnotesgui',
'ilcalendarpresentationgui',
'ilbookmarkadministrationgui',
'illearningprogressgui');
if(isset($_SESSION['il_pd_history']) and in_array($_SESSION['il_pd_history'],$stored_classes))
{
return $_SESSION['il_pd_history'];
}
else
{
$this->ctrl->getNextClass($this);
}
}

+ Here is the caller graph for this function:

ilPersonalDesktopGUI::__storeLastClass (   $a_class)

Definition at line 785 of file class.ilPersonalDesktopGUI.php.

References $_SESSION.

Referenced by executeCommand().

{
$_SESSION['il_pd_history'] = $a_class;
$this->cmdClass = $a_class;
}

+ Here is the caller graph for this function:

ilPersonalDesktopGUI::displayHeader ( )

display header and locator

Definition at line 808 of file class.ilPersonalDesktopGUI.php.

Referenced by executeCommand().

{
//$this->tpl->setTitleIcon(ilUtil::getImagePath("icon_pd_b.png"),
// $this->lng->txt("personal_desktop"));
// $this->tpl->setTitleIcon(ilUtil::getImagePath("icon_pd_b.png"),
// "");
$this->tpl->setTitle($this->lng->txt("personal_desktop"));
}

+ Here is the caller graph for this function:

ilPersonalDesktopGUI::displaySystemMessages ( )

Display system messages.

Definition at line 542 of file class.ilPersonalDesktopGUI.php.

{
include_once("Services/Mail/classes/class.ilPDSysMessageBlockGUI.php");
$sys_block = new ilPDSysMessageBlockGUI("ilpersonaldesktopgui", "show");
return $sys_block->getHTML();
}
& ilPersonalDesktopGUI::executeCommand ( )

execute command

Definition at line 71 of file class.ilPersonalDesktopGUI.php.

References $_GET, $cmd, $ilSetting, $ilUser, $ret, __loadNextClass(), __storeLastClass(), displayHeader(), ilMailGlobalServices\getMailObjectRefId(), getStandardTemplates(), ilUtil\getStyleSheetLocation(), getTreeModeTemplates(), initColumn(), LP_MODE_PERSONAL_DESKTOP, redirect(), ilUtil\sendFailure(), and setTabs().

{
global $ilUser, $ilSetting, $rbacsystem;
$next_class = $this->ctrl->getNextClass();
$this->ctrl->setReturn($this, "show");
$this->tpl->addCss(ilUtil::getStyleSheetLocation('filesystem','delos.css','Services/Calendar'));
// check whether password of user have to be changed
// due to first login or password of user is expired
if( ($ilUser->isPasswordChangeDemanded() || $ilUser->isPasswordExpired())
&& $next_class != "ilpersonalsettingsgui"
)
{
$this->ctrl->redirectByClass("ilpersonalsettingsgui");
}
// check whether personal profile of user is incomplete
if ($ilUser->getProfileIncomplete() && $next_class != "ilpersonalprofilegui" && !($ilUser->isPasswordChangeDemanded() || $ilUser->isPasswordExpired()))
{
$this->ctrl->redirectByClass("ilpersonalprofilegui");
}
// read last active subsection
if (isset($_GET['PDHistory']) && $_GET['PDHistory'])
{
$next_class = $this->__loadNextClass();
}
$this->__storeLastClass($next_class);
// check for permission to view contacts
if (
$next_class == 'ilmailaddressbookgui' && ($this->ilias->getSetting("disable_contacts") ||
(
!$this->ilias->getSetting("disable_contacts_require_mail") &&
!$rbacsystem->checkAccess('internal_mail', ilMailGlobalServices::getMailObjectRefId())
))
) // if
{
$next_class = '';
ilUtil::sendFailure($this->lng->txt('no_permission'));
}
switch($next_class)
{
case "ilbookmarkadministrationgui":
if ($ilSetting->get('disable_bookmarks'))
{
ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
return;
}
include_once("./Services/Bookmarks/classes/class.ilBookmarkAdministrationGUI.php");
$bookmark_gui = new ilBookmarkAdministrationGUI();
if ($bookmark_gui->getMode() == 'tree') {
} else {
}
$this->setTabs();
$ret =& $this->ctrl->forwardCommand($bookmark_gui);
break;
// profile
case "ilpersonalprofilegui":
$this->setTabs();
include_once("./Services/User/classes/class.ilPersonalProfileGUI.php");
$profile_gui = new ilPersonalProfileGUI();
$ret =& $this->ctrl->forwardCommand($profile_gui);
break;
// settings
case "ilpersonalsettingsgui":
$this->setTabs();
include_once("./Services/User/classes/class.ilPersonalSettingsGUI.php");
$settings_gui = new ilPersonalSettingsGUI();
$ret =& $this->ctrl->forwardCommand($settings_gui);
break;
// profile
case "ilobjusergui":
include_once('./Services/User/classes/class.ilObjUserGUI.php');
$user_gui = new ilObjUserGUI("",$_GET["user"], false, false);
$ret =& $this->ctrl->forwardCommand($user_gui);
break;
case 'ilcalendarpresentationgui':
$this->displayHeader();
$this->tpl->setTitle($this->lng->txt("calendar"));
$this->setTabs();
include_once('./Services/Calendar/classes/class.ilCalendarPresentationGUI.php');
$ret = $this->ctrl->forwardCommand($cal);
$this->tpl->show();
break;
// pd notes
case "ilpdnotesgui":
if ($ilSetting->get('disable_notes'))
{
ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
return;
}
$this->setTabs();
include_once("./Services/Notes/classes/class.ilPDNotesGUI.php");
$pd_notes_gui = new ilPDNotesGUI();
$ret =& $this->ctrl->forwardCommand($pd_notes_gui);
break;
// pd news
case "ilpdnewsgui":
$this->setTabs();
include_once("./Services/News/classes/class.ilPDNewsGUI.php");
$pd_news_gui = new ilPDNewsGUI();
$ret =& $this->ctrl->forwardCommand($pd_news_gui);
break;
case "illearningprogressgui":
$this->setTabs();
include_once './Services/Tracking/classes/class.ilLearningProgressGUI.php';
$ret =& $this->ctrl->forwardCommand($new_gui);
break;
case "ilcolumngui":
$this->setTabs();
include_once("./Services/Block/classes/class.ilColumnGUI.php");
$column_gui = new ilColumnGUI("pd");
$this->initColumn($column_gui);
$this->show();
break;
// contacts
case 'ilmailaddressbookgui':
$this->setTabs();
$this->tpl->setTitle($this->lng->txt("mail_addressbook"));
include_once 'Services/Contact/classes/class.ilMailAddressbookGUI.php';
$mailgui = new ilMailAddressbookGUI();
$ret = $this->ctrl->forwardCommand($mailgui);
break;
case 'ilpersonalworkspacegui':
$this->setTabs();
include_once 'Services/PersonalWorkspace/classes/class.ilPersonalWorkspaceGUI.php';
$wsgui = new ilPersonalWorkspaceGUI();
$ret = $this->ctrl->forwardCommand($wsgui);
$this->tpl->show();
break;
case 'ilobjportfoliogui':
$this->setTabs();
include_once 'Services/Portfolio/classes/class.ilObjPortfolioGUI.php';
$pfgui = new ilObjPortfolioGUI();
$ret = $this->ctrl->forwardCommand($pfgui);
$this->tpl->show();
break;
case 'ilpersonalskillsgui':
$this->setTabs();
include_once './Services/Skill/classes/class.ilPersonalSkillsGUI.php';
$skgui = new ilPersonalSkillsGUI();
$ret = $this->ctrl->forwardCommand($skgui);
$this->tpl->show();
break;
case 'redirect':
$this->redirect();
break;
default:
$this->setTabs();
$cmd = $this->ctrl->getCmd("show");
$this->$cmd();
break;
}
$ret = null;
return $ret;
}

+ Here is the call graph for this function:

ilPersonalDesktopGUI::getCenterColumnHTML ( )

Display center column.

Definition at line 368 of file class.ilPersonalDesktopGUI.php.

References $ilCtrl, IL_COL_CENTER, IL_COL_LEFT, IL_COL_RIGHT, IL_SCREEN_SIDE, and initColumn().

{
global $ilCtrl, $ilPluginAdmin;
include_once("Services/Block/classes/class.ilColumnGUI.php");
$column_gui = new ilColumnGUI("pd", IL_COL_CENTER);
$this->initColumn($column_gui);
if ($ilCtrl->getNextClass() == "ilcolumngui" &&
$column_gui->getCmdSide() == IL_COL_CENTER)
{
$html = $ilCtrl->forwardCommand($column_gui);
}
else
{
if (!$ilCtrl->isAsynch())
{
if ($column_gui->getScreenMode() != IL_SCREEN_SIDE)
{
// right column wants center
if ($column_gui->getCmdSide() == IL_COL_RIGHT)
{
$column_gui = new ilColumnGUI("pd", IL_COL_RIGHT);
$this->initColumn($column_gui);
$html = $ilCtrl->forwardCommand($column_gui);
}
// left column wants center
if ($column_gui->getCmdSide() == IL_COL_LEFT)
{
$column_gui = new ilColumnGUI("pd", IL_COL_LEFT);
$this->initColumn($column_gui);
$html = $ilCtrl->forwardCommand($column_gui);
}
}
else
{
$html = "";
// user interface plugin slot + default rendering
include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
$uip = new ilUIHookProcessor("Services/PersonalDesktop", "center_column",
array("personal_desktop_gui" => $this));
if (!$uip->replaced())
{
$html = $ilCtrl->getHTML($column_gui);
}
$html = $uip->getHTML($html);
}
}
}
return $html;
}

+ Here is the call graph for this function:

ilPersonalDesktopGUI::getLeftColumnHTML ( )

Display left column.

Definition at line 468 of file class.ilPersonalDesktopGUI.php.

References $ilCtrl, $ilUser, $lng, IL_COL_LEFT, IL_SCREEN_FULL, IL_SCREEN_SIDE, and initColumn().

{
global $ilUser, $lng, $ilCtrl, $ilPluginAdmin;
include_once("Services/Block/classes/class.ilColumnGUI.php");
$column_gui = new ilColumnGUI("pd", IL_COL_LEFT);
$this->initColumn($column_gui);
if ($column_gui->getScreenMode() == IL_SCREEN_FULL)
{
return "";
}
if ($ilCtrl->getNextClass() == "ilcolumngui" &&
$column_gui->getCmdSide() == IL_COL_LEFT &&
$column_gui->getScreenMode() == IL_SCREEN_SIDE)
{
$html = $ilCtrl->forwardCommand($column_gui);
}
else
{
if (!$ilCtrl->isAsynch())
{
$html = "";
// user interface plugin slot + default rendering
include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
$uip = new ilUIHookProcessor("Services/PersonalDesktop", "left_column",
array("personal_desktop_gui" => $this));
if (!$uip->replaced())
{
$html = $ilCtrl->getHTML($column_gui);
}
$html = $uip->getHTML($html);
}
}
return $html;
}

+ Here is the call graph for this function:

ilPersonalDesktopGUI::getRightColumnHTML ( )

Display right column.

Definition at line 425 of file class.ilPersonalDesktopGUI.php.

References $ilCtrl, $ilUser, $lng, IL_COL_RIGHT, IL_SCREEN_FULL, IL_SCREEN_SIDE, and initColumn().

{
global $ilUser, $lng, $ilCtrl, $ilPluginAdmin;
include_once("Services/Block/classes/class.ilColumnGUI.php");
$column_gui = new ilColumnGUI("pd", IL_COL_RIGHT);
$this->initColumn($column_gui);
if ($column_gui->getScreenMode() == IL_SCREEN_FULL)
{
return "";
}
if ($ilCtrl->getNextClass() == "ilcolumngui" &&
$column_gui->getCmdSide() == IL_COL_RIGHT &&
$column_gui->getScreenMode() == IL_SCREEN_SIDE)
{
$html = $ilCtrl->forwardCommand($column_gui);
}
else
{
if (!$ilCtrl->isAsynch())
{
$html = "";
// user interface plugin slot + default rendering
include_once("./Services/UIComponent/classes/class.ilUIHookProcessor.php");
$uip = new ilUIHookProcessor("Services/PersonalDesktop", "right_column",
array("personal_desktop_gui" => $this));
if (!$uip->replaced())
{
$html = $ilCtrl->getHTML($column_gui);
}
$html = $uip->getHTML($html);
}
}
return $html;
}

+ Here is the call graph for this function:

ilPersonalDesktopGUI::getStandardTemplates ( )

get standard templates

Definition at line 291 of file class.ilPersonalDesktopGUI.php.

Referenced by executeCommand().

{
$this->tpl->getStandardTemplate();
// add template for content
// $this->tpl->addBlockFile("CONTENT", "content", "tpl.adm_content.html");
// $this->tpl->addBlockFile("STATUSLINE", "statusline", "tpl.statusline.html");
}

+ Here is the caller graph for this function:

ilPersonalDesktopGUI::getTreeModeTemplates ( )

get tree mode templates

Definition at line 302 of file class.ilPersonalDesktopGUI.php.

Referenced by executeCommand().

{
// add template for content
$this->tpl->addBlockFile("CONTENT", "content", "tpl.adm_content.html");
$this->tpl->addBlockFile("STATUSLINE", "statusline", "tpl.statusline.html");
}

+ Here is the caller graph for this function:

ilPersonalDesktopGUI::ilPersonalDesktopGUI ( )

constructor

Definition at line 40 of file class.ilPersonalDesktopGUI.php.

References $_GET, $_SESSION, $ilCtrl, $ilias, $ilUser, $lng, and $tpl.

{
global $ilias, $tpl, $lng, $rbacsystem, $ilCtrl, $ilMainMenu, $ilUser, $tree;
$this->tpl =& $tpl;
$this->lng =& $lng;
$this->ilias =& $ilias;
$this->ctrl =& $ilCtrl;
$ilCtrl->setContext($ilUser->getId(),
"user");
$ilMainMenu->setActive("desktop");
$this->lng->loadLanguageModule("pdesk");
// catch hack attempts
if ($_SESSION["AccountId"] == ANONYMOUS_USER_ID)
{
$this->ilias->raiseError($this->lng->txt("msg_not_available_for_anon"),$this->ilias->error_obj->MESSAGE);
}
$this->cmdClass = $_GET['cmdClass'];
//$tree->useCache(false);
$this->action_menu = new ilAdvancedSelectionListGUI();
}
ilPersonalDesktopGUI::initColumn (   $a_column_gui)

Definition at line 795 of file class.ilPersonalDesktopGUI.php.

Referenced by executeCommand(), getCenterColumnHTML(), getLeftColumnHTML(), and getRightColumnHTML().

{
$pd_set = new ilSetting("pd");
if ($pd_set->get("enable_block_moving"))
{
$a_column_gui->setEnableMovement(true);
}
$a_column_gui->setActionMenu($this->action_menu);
}

+ Here is the caller graph for this function:

ilPersonalDesktopGUI::jumpToBookmarks ( )

workaround for menu in calendar only

Definition at line 674 of file class.ilPersonalDesktopGUI.php.

References redirect(), and ilUtil\sendFailure().

{
if ($this->ilias->getSetting("disable_bookmarks"))
{
ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
return;
}
$this->ctrl->redirectByClass("ilbookmarkadministrationgui");
}

+ Here is the call graph for this function:

ilPersonalDesktopGUI::jumpToCalendar ( )

Jump to calendar.

Definition at line 720 of file class.ilPersonalDesktopGUI.php.

{
$this->ctrl->redirectByClass("ilcalendarpresentationgui");
}
ilPersonalDesktopGUI::jumpToContacts ( )

Jump to contacts.

Definition at line 728 of file class.ilPersonalDesktopGUI.php.

{
$this->ctrl->redirectByClass("ilmailaddressbookgui");
}
ilPersonalDesktopGUI::jumpToLP ( )

workaround for menu in calendar only

Definition at line 712 of file class.ilPersonalDesktopGUI.php.

{
$this->ctrl->redirectByClass("illearningprogressgui");
}
ilPersonalDesktopGUI::jumpToMemberships ( )

Jump to memberships.

Definition at line 604 of file class.ilPersonalDesktopGUI.php.

References $ilSetting, and $ilUser.

{
if ($ilSetting->get('disable_my_memberships') == 0)
{
$ilUser->writePref('pd_view', 1);
}
$this->show();
}
ilPersonalDesktopGUI::jumpToNews ( )

workaround for menu in calendar only

Definition at line 704 of file class.ilPersonalDesktopGUI.php.

{
$this->ctrl->redirectByClass("ilpdnewsgui");
}
ilPersonalDesktopGUI::jumpToNotes ( )

workaround for menu in calendar only

Definition at line 689 of file class.ilPersonalDesktopGUI.php.

References redirect(), and ilUtil\sendFailure().

{
if ($this->ilias->getSetting('disable_notes'))
{
ilUtil::sendFailure($this->lng->txt('permission_denied'), true);
ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
return;
}
$this->ctrl->redirectByClass("ilpdnotesgui");
}

+ Here is the call graph for this function:

ilPersonalDesktopGUI::jumpToPortfolio ( )

workaround for menu in calendar only

Definition at line 641 of file class.ilPersonalDesktopGUI.php.

References $_GET, $_REQUEST, and $cmd.

{
// incoming back link from shared resource
$cmd = "";
if($_REQUEST["dsh"])
{
$this->ctrl->setParameterByClass("ilobjportfoliogui", "user", $_REQUEST["dsh"]);
$cmd = "showOther";
}
// used for goto links
if($_GET["prt_id"])
{
$this->ctrl->setParameterByClass("ilobjportfoliogui", "prt_id", $_GET["prt_id"]);
$this->ctrl->redirectByClass("ilobjportfoliogui", "preview");
}
else
{
$this->ctrl->redirectByClass("ilobjportfoliogui", $cmd);
}
}
ilPersonalDesktopGUI::jumpToProfile ( )

workaround for menu in calendar only

Definition at line 633 of file class.ilPersonalDesktopGUI.php.

{
$this->ctrl->redirectByClass("ilpersonalprofilegui");
}
ilPersonalDesktopGUI::jumpToSelectedItems ( )

Jump to selected items.

Definition at line 618 of file class.ilPersonalDesktopGUI.php.

References $ilSetting, and $ilUser.

{
if ($ilSetting->get('disable_my_offers') == 0)
{
$ilUser->writePref('pd_view', 0);
}
$this->show();
}
ilPersonalDesktopGUI::jumpToSettings ( )

workaround for menu in calendar only

Definition at line 666 of file class.ilPersonalDesktopGUI.php.

{
$this->ctrl->redirectByClass("ilpersonalsettingsgui");
}
ilPersonalDesktopGUI::jumpToSkills ( )

Jump to personal skills.

Definition at line 762 of file class.ilPersonalDesktopGUI.php.

{
$this->ctrl->redirectByClass("ilpersonalskillsgui");
}
ilPersonalDesktopGUI::jumpToWorkspace ( )

Jump to personal workspace.

Definition at line 736 of file class.ilPersonalDesktopGUI.php.

References $_REQUEST, and $cmd.

{
// incoming back link from shared resource
$cmd = "";
if($_REQUEST["dsh"])
{
$this->ctrl->setParameterByClass("ilpersonalworkspacegui", "user", $_REQUEST["dsh"]);
$cmd = "share";
}
if($_REQUEST["wsp_id"])
{
$this->ctrl->setParameterByClass("ilpersonalworkspacegui", "wsp_id", (int)$_REQUEST["wsp_id"]);
}
if($_REQUEST["gtp"])
{
$this->ctrl->setParameterByClass("ilpersonalworkspacegui", "gtp", (int)$_REQUEST["gtp"]);
}
$this->ctrl->redirectByClass("ilpersonalworkspacegui", $cmd);
}
ilPersonalDesktopGUI::multiarray_sort (   $array,
  $key_sort 
)

Returns the multidimenstional sorted array.

Returns the multidimenstional sorted array

Author
Muzaffar Altaf malta.nosp@m.f@tz.nosp@m.i.de
Parameters
array$arraysThe array to be sorted
string$key_sortThe keys on which array must be sorted public

Definition at line 559 of file class.ilPersonalDesktopGUI.php.

References $n.

{
if ($array) {
$key_sorta = explode(";", $key_sort);
$multikeys = array_keys($array);
$keys = array_keys($array[$multikeys[0]]);
for($m=0; $m < count($key_sorta); $m++) {
$nkeys[$m] = trim($key_sorta[$m]);
}
$n += count($key_sorta);
for($i=0; $i < count($keys); $i++){
if(!in_array($keys[$i], $key_sorta)) {
$nkeys[$n] = $keys[$i];
$n += "1";
}
}
for($u=0;$u<count($array); $u++) {
$arr = $array[$multikeys[$u]];
for($s=0; $s<count($nkeys); $s++) {
$k = $nkeys[$s];
$output[$multikeys[$u]][$k] = $array[$multikeys[$u]][$k];
}
}
sort($output);
return $output;
}
}
ilPersonalDesktopGUI::prepareContentView ( )

Definition at line 508 of file class.ilPersonalDesktopGUI.php.

References ilUtil\getImagePath(), and ilUtil\infoPanel().

{
// add template for content
$this->pd_tpl = new ilTemplate("tpl.usr_personaldesktop.html", true, true, "Services/PersonalDesktop");
$this->tpl->getStandardTemplate();
// display infopanel if something happened
//$this->tpl->setTitleIcon(ilUtil::getImagePath("icon_pd_b.png"),
// $this->lng->txt("personal_desktop"));
$this->tpl->setTitleIcon(ilUtil::getImagePath("icon_pd_b.png"),
"");
$this->tpl->setTitle($this->lng->txt("personal_desktop"));
$this->tpl->setVariable("IMG_SPACE", ilUtil::getImagePath("spacer.png", false));
}

+ Here is the call graph for this function:

ilPersonalDesktopGUI::redirect ( )

directly redirects a call

Definition at line 273 of file class.ilPersonalDesktopGUI.php.

References $_GET.

Referenced by executeCommand(), jumpToBookmarks(), and jumpToNotes().

{
if(is_array($_GET))
{
foreach($_GET as $key => $val)
{
if(substr($key, 0, strlen('param_')) == 'param_')
{
$this->ctrl->setParameterByClass($_GET['redirectClass'], substr($key, strlen('param_')), $val);
}
}
}
ilUtil::redirect($this->ctrl->getLinkTargetByClass($_GET['redirectClass'], $_GET['redirectCmd'], '', true));
}

+ Here is the caller graph for this function:

ilPersonalDesktopGUI::removeMember ( )

copied from usr_personaldesktop.php

Definition at line 529 of file class.ilPersonalDesktopGUI.php.

{
global $err_msg;
if (strlen($err_msg) > 0)
{
$this->ilias->raiseError($this->lng->txt($err_msg),$this->ilias->error_obj->MESSAGE);
}
$this->show();
}
ilPersonalDesktopGUI::setTabs ( )

set personal desktop tabs

Definition at line 594 of file class.ilPersonalDesktopGUI.php.

Referenced by executeCommand().

{
global $ilHelp;
$ilHelp->setScreenIdComponent("pd");
}

+ Here is the caller graph for this function:

Field Documentation

ilPersonalDesktopGUI::$action_menu
protected

Definition at line 35 of file class.ilPersonalDesktopGUI.php.

ilPersonalDesktopGUI::$cmdClass = ''

Definition at line 30 of file class.ilPersonalDesktopGUI.php.

ilPersonalDesktopGUI::$ilias

Definition at line 28 of file class.ilPersonalDesktopGUI.php.

Referenced by ilPersonalDesktopGUI().

ilPersonalDesktopGUI::$lng
ilPersonalDesktopGUI::$tpl

Definition at line 26 of file class.ilPersonalDesktopGUI.php.

Referenced by ilPersonalDesktopGUI().


The documentation for this class was generated from the following file: