ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilMediaPoolPresentationGUI Class Reference

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

+ Collaboration diagram for ilMediaPoolPresentationGUI:

Public Member Functions

 ilMediaPoolPresentationGUI ()
 Constructor public.
executeCommand ()
 execute command

Data Fields

 $ilias
 $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
Version
$Id$

ilMediaPoolPresentationGUI: ilObjMediaPoolGUI

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

Member Function Documentation

& ilMediaPoolPresentationGUI::executeCommand ( )

execute command

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

References $_GET, $cmd, $ilCtrl, and $tpl.

{
global $tpl, $ilCtrl, $ilAccess, $ilNavigationHistory;
$next_class = $this->ctrl->getNextClass($this);
$cmd = $this->ctrl->getCmd("");
// add entry to navigation history
if ($ilAccess->checkAccess("read", "", $_GET["ref_id"]))
{
$ilNavigationHistory->addItem($_GET["ref_id"],
"ilias.php?baseClass=ilMediaPoolPresentationGUI&ref_id=".$_GET["ref_id"], "mep");
}
switch($next_class)
{
case "ilobjmediapoolgui":
require_once ("./Modules/MediaPool/classes/class.ilObjMediaPoolGUI.php");
$mep_gui =& new ilObjMediaPoolGUI("", $_GET["ref_id"],true, false);
$ilCtrl->forwardCommand($mep_gui);
break;
default:
$this->ctrl->setCmdClass("ilobjmediapoolgui");
//$this->ctrl->setCmd("");
return $this->executeCommand();
break;
}
}
ilMediaPoolPresentationGUI::ilMediaPoolPresentationGUI ( )

Constructor public.

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

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

{
$rbacsystem;
$lng->loadLanguageModule("content");
$this->ctrl =& $ilCtrl;
// initiate variables
$this->ilias =& $ilias;
$this->tpl =& $tpl;
$this->lng =& $lng;
$this->objDefinition =& $objDefinition;
}

Field Documentation

ilMediaPoolPresentationGUI::$ilias

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

Referenced by ilMediaPoolPresentationGUI().

ilMediaPoolPresentationGUI::$lng

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

Referenced by ilMediaPoolPresentationGUI().

ilMediaPoolPresentationGUI::$objDefinition

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

Referenced by ilMediaPoolPresentationGUI().

ilMediaPoolPresentationGUI::$tpl

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