ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilMediaPoolPresentationGUI Class Reference

Top level GUI class for media pools. More...

+ Collaboration diagram for ilMediaPoolPresentationGUI:

Public Member Functions

 __construct ()
 Constructor @access public. More...
 
 executeCommand ()
 execute command More...
 

Data Fields

 $tpl
 
 $lng
 
 $objDefinition
 

Protected Attributes

 $ctrl
 
 $access
 
 $nav_history
 

Detailed Description

Top level GUI class for media pools.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

@ilCtrl_Calls ilMediaPoolPresentationGUI: ilObjMediaPoolGUI

Definition at line 15 of file class.ilMediaPoolPresentationGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilMediaPoolPresentationGUI::__construct ( )

Constructor @access public.

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

41 {
42 global $DIC;
43
44 $this->access = $DIC->access();
45 $this->nav_history = $DIC["ilNavigationHistory"];
46 $tpl = $DIC["tpl"];
47 $lng = $DIC->language();
48 $objDefinition = $DIC["objDefinition"];
49 $ilCtrl = $DIC->ctrl();
50
51 $lng->loadLanguageModule("content");
52
53 $this->ctrl = $ilCtrl;
54
55 // initiate variables
56 $this->tpl = $tpl;
57 $this->lng = $lng;
58 $this->objDefinition = $objDefinition;
59 }
global $ilCtrl
Definition: ilias.php:18
global $DIC
Definition: saml.php:7

References $DIC, $ilCtrl, $lng, $objDefinition, and $tpl.

Member Function Documentation

◆ executeCommand()

ilMediaPoolPresentationGUI::executeCommand ( )

execute command

Definition at line 64 of file class.ilMediaPoolPresentationGUI.php.

65 {
68 $ilAccess = $this->access;
69 $ilNavigationHistory = $this->nav_history;
70
71 $next_class = $this->ctrl->getNextClass($this);
72 $cmd = $this->ctrl->getCmd("");
73
74 // add entry to navigation history
75 if ($ilAccess->checkAccess("read", "", $_GET["ref_id"])) {
76 $ilNavigationHistory->addItem(
77 $_GET["ref_id"],
78 "ilias.php?baseClass=ilMediaPoolPresentationGUI&ref_id=" . $_GET["ref_id"],
79 "mep"
80 );
81 }
82
83 switch ($next_class) {
84 case "ilobjmediapoolgui":
85 require_once("./Modules/MediaPool/classes/class.ilObjMediaPoolGUI.php");
86 $mep_gui = new ilObjMediaPoolGUI($_GET["ref_id"]);
87 $ilCtrl->forwardCommand($mep_gui);
88 break;
89
90 default:
91 $this->ctrl->setCmdClass("ilobjmediapoolgui");
92 //$this->ctrl->setCmd("");
93 return $this->executeCommand();
94 break;
95 }
96 }
$_GET["client_id"]
User Interface class for media pool objects.

References $_GET, $access, $ctrl, $ilCtrl, $nav_history, $tpl, and executeCommand().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $access

ilMediaPoolPresentationGUI::$access
protected

Definition at line 25 of file class.ilMediaPoolPresentationGUI.php.

Referenced by executeCommand().

◆ $ctrl

ilMediaPoolPresentationGUI::$ctrl
protected

Definition at line 20 of file class.ilMediaPoolPresentationGUI.php.

Referenced by executeCommand().

◆ $lng

ilMediaPoolPresentationGUI::$lng

Definition at line 33 of file class.ilMediaPoolPresentationGUI.php.

Referenced by __construct().

◆ $nav_history

ilMediaPoolPresentationGUI::$nav_history
protected

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

Referenced by executeCommand().

◆ $objDefinition

ilMediaPoolPresentationGUI::$objDefinition

Definition at line 34 of file class.ilMediaPoolPresentationGUI.php.

Referenced by __construct().

◆ $tpl

ilMediaPoolPresentationGUI::$tpl

Definition at line 32 of file class.ilMediaPoolPresentationGUI.php.

Referenced by __construct(), and executeCommand().


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