ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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...
 

Protected Attributes

 $ctrl
 
 $access
 
 $nav_history
 
 $tpl
 
 $lng
 
 $objDefinition
 

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

@ilCtrl_Calls ilMediaPoolPresentationGUI: ilObjMediaPoolGUI

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

Constructor & Destructor Documentation

◆ __construct()

ilMediaPoolPresentationGUI::__construct ( )

Constructor @access public.

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

51 {
52 global $DIC;
53
54 $this->access = $DIC->access();
55 $this->nav_history = $DIC["ilNavigationHistory"];
56 $tpl = $DIC["tpl"];
57 $lng = $DIC->language();
58 $objDefinition = $DIC["objDefinition"];
59 $ilCtrl = $DIC->ctrl();
60
61 $lng->loadLanguageModule("content");
62
63 $this->ctrl = $ilCtrl;
64
65 // initiate variables
66 $this->tpl = $tpl;
67 $this->lng = $lng;
68 $this->objDefinition = $objDefinition;
69 }
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

Returns
mixed
Exceptions
ilCtrlException

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

77 {
79 $ilAccess = $this->access;
80 $ilNavigationHistory = $this->nav_history;
81
82 $next_class = $this->ctrl->getNextClass($this);
83
84 // add entry to navigation history
85 if ($ilAccess->checkAccess("read", "", $_GET["ref_id"])) {
86 $ilNavigationHistory->addItem(
87 $_GET["ref_id"],
88 "ilias.php?baseClass=ilMediaPoolPresentationGUI&ref_id=" . $_GET["ref_id"],
89 "mep"
90 );
91 }
92
93 switch ($next_class) {
94 case "ilobjmediapoolgui":
95 require_once("./Modules/MediaPool/classes/class.ilObjMediaPoolGUI.php");
96 $mep_gui = new ilObjMediaPoolGUI($_GET["ref_id"]);
97 $ilCtrl->forwardCommand($mep_gui);
98 break;
99
100 default:
101 $this->ctrl->setCmdClass("ilobjmediapoolgui");
102 return $this->executeCommand();
103 break;
104 }
105 }
$_GET["client_id"]
User Interface class for media pool objects.

References $_GET, $access, $ctrl, $ilCtrl, $nav_history, 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 24 of file class.ilMediaPoolPresentationGUI.php.

Referenced by executeCommand().

◆ $ctrl

ilMediaPoolPresentationGUI::$ctrl
protected

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

Referenced by executeCommand().

◆ $lng

ilMediaPoolPresentationGUI::$lng
protected

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

Referenced by __construct().

◆ $nav_history

ilMediaPoolPresentationGUI::$nav_history
protected

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

Referenced by executeCommand().

◆ $objDefinition

ilMediaPoolPresentationGUI::$objDefinition
protected

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

Referenced by __construct().

◆ $tpl

ilMediaPoolPresentationGUI::$tpl
protected

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

Referenced by __construct().


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