ILIAS  Release_4_0_x_branch Revision 61816
 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 15 of file class.ilMediaPoolPresentationGUI.php.

Member Function Documentation

& ilMediaPoolPresentationGUI::executeCommand ( )

execute command

Definition at line 50 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 31 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 22 of file class.ilMediaPoolPresentationGUI.php.

Referenced by ilMediaPoolPresentationGUI().

ilMediaPoolPresentationGUI::$lng

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

Referenced by ilMediaPoolPresentationGUI().

ilMediaPoolPresentationGUI::$objDefinition

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

Referenced by ilMediaPoolPresentationGUI().

ilMediaPoolPresentationGUI::$tpl

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