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

Handles user interface for external feeds. More...

+ Collaboration diagram for ilExternalFeedHandlerGUI:

Public Member Functions

 __construct ()
 
 executeCommand ()
 execute command More...
 

Protected Attributes

 $ctrl
 
 $lng
 
 $access
 
 $tpl
 

Detailed Description

Handles user interface for external feeds.

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

@ilCtrl_Calls ilExternalFeedHandlerGUI: ilObjExternalFeedGUI

Definition at line 35 of file class.ilExternalFeedHandlerGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilExternalFeedHandlerGUI::__construct ( )

Definition at line 57 of file class.ilExternalFeedHandlerGUI.php.

58 {
59 global $DIC;
60
61 $this->lng = $DIC->language();
62 $this->access = $DIC->access();
63 $this->tpl = $DIC["tpl"];
64 $ilCtrl = $DIC->ctrl();
65
66 // initialisation stuff
67 $this->ctrl = $ilCtrl;
68 }
global $ilCtrl
Definition: ilias.php:18
global $DIC
Definition: saml.php:7

References $DIC, and $ilCtrl.

Member Function Documentation

◆ executeCommand()

ilExternalFeedHandlerGUI::executeCommand ( )

execute command

Definition at line 73 of file class.ilExternalFeedHandlerGUI.php.

74 {
76 $ilAccess = $this->access;
78
79 $cmd = $this->ctrl->getCmd();
80 $next_class = $this->ctrl->getNextClass($this);
81 if ($next_class == "") {
82 $this->ctrl->setCmdClass("ilobjexternalfeedgui");
83 $next_class = $this->ctrl->getNextClass($this);
84 }
85
86 switch ($next_class) {
87 case 'ilobjexternalfeedgui':
88 require_once "./Modules/ExternalFeed/classes/class.ilObjExternalFeedGUI.php";
89 $ef_gui = new ilObjExternalFeedGUI("", (int) $_GET["ref_id"], true, false);
90 $this->ctrl->forwardCommand($mc_gui);
91 break;
92 }
93
94 $tpl->show();
95 }
$_GET["client_id"]
Class ilObjExternalFeedGUI.

References $_GET, $access, $lng, and $tpl.

Field Documentation

◆ $access

ilExternalFeedHandlerGUI::$access
protected

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

Referenced by executeCommand().

◆ $ctrl

ilExternalFeedHandlerGUI::$ctrl
protected

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

◆ $lng

ilExternalFeedHandlerGUI::$lng
protected

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

Referenced by executeCommand().

◆ $tpl

ilExternalFeedHandlerGUI::$tpl
protected

Definition at line 55 of file class.ilExternalFeedHandlerGUI.php.

Referenced by executeCommand().


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