ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilMediaPoolPresentationGUI.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
16{
22 var $ilias;
23 var $tpl;
24 var $lng;
26
32 {
34 $rbacsystem;
35
36 $lng->loadLanguageModule("content");
37
38 $this->ctrl =& $ilCtrl;
39
40 // initiate variables
41 $this->ilias =& $ilias;
42 $this->tpl =& $tpl;
43 $this->lng =& $lng;
44 $this->objDefinition =& $objDefinition;
45 }
46
50 function &executeCommand()
51 {
52 global $tpl, $ilCtrl, $ilAccess, $ilNavigationHistory;
53
54 $next_class = $this->ctrl->getNextClass($this);
55 $cmd = $this->ctrl->getCmd("");
56
57 // add entry to navigation history
58 if ($ilAccess->checkAccess("read", "", $_GET["ref_id"]))
59 {
60 $ilNavigationHistory->addItem($_GET["ref_id"],
61 "ilias.php?baseClass=ilMediaPoolPresentationGUI&ref_id=".$_GET["ref_id"], "mep");
62 }
63
64 switch($next_class)
65 {
66 case "ilobjmediapoolgui":
67 require_once ("./Modules/MediaPool/classes/class.ilObjMediaPoolGUI.php");
68 $mep_gui =& new ilObjMediaPoolGUI($_GET["ref_id"]);
69 $ilCtrl->forwardCommand($mep_gui);
70 break;
71
72 default:
73 $this->ctrl->setCmdClass("ilobjmediapoolgui");
74 //$this->ctrl->setCmd("");
75 return $this->executeCommand();
76 break;
77 }
78 }
79
80}
81?>
$_GET["client_id"]
Top level GUI class for media pools.
ilMediaPoolPresentationGUI()
Constructor @access public.
User Interface class for media pool objects.
global $ilCtrl
Definition: ilias.php:18
redirection script todo: (a better solution should control the processing via a xml file)
$cmd
Definition: sahs_server.php:35