ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
ilCloudPluginGUI Class Reference

Class ilCloudPluginGUI. More...

+ Inheritance diagram for ilCloudPluginGUI:
+ Collaboration diagram for ilCloudPluginGUI:

Public Member Functions

 __construct ($plugin_service_class)
 
 getPluginObject ()
 
 getPluginHookObject ()
 
 getAdminConfigObject ()
 
 getService ()
 
 txt ($var="")
 
 executeCommand ()
 

Protected Attributes

 $service = null
 

Detailed Description

Class ilCloudPluginGUI.

Abstract base class for all GUI classes that can be extended by the plugin.

Author
Timon Amstutz timon.nosp@m..ams.nosp@m.tutz@.nosp@m.ilub.nosp@m..unib.nosp@m.e.ch
Version
$Id$

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

Constructor & Destructor Documentation

◆ __construct()

ilCloudPluginGUI::__construct (   $plugin_service_class)
Parameters
$service_name
$obj_id

Definition at line 27 of file class.ilCloudPluginGUI.php.

28  {
29  $this->service = $plugin_service_class;
30  }

Member Function Documentation

◆ executeCommand()

ilCloudPluginGUI::executeCommand ( )

Definition at line 75 of file class.ilCloudPluginGUI.php.

References $DIC.

76  {
77  global $DIC;
78  $ilCtrl = $DIC['ilCtrl'];
79 
80  $cmd = $ilCtrl->getCmd();
81 
82  switch ($cmd) {
83  default:
84  $this->$cmd();
85  break;
86  }
87  }
global $DIC
Definition: goto.php:24

◆ getAdminConfigObject()

ilCloudPluginGUI::getAdminConfigObject ( )

Definition at line 51 of file class.ilCloudPluginGUI.php.

References getPluginObject().

52  {
53  return $this->getPluginObject()->getAdminConfigObject();
54  }
+ Here is the call graph for this function:

◆ getPluginHookObject()

ilCloudPluginGUI::getPluginHookObject ( )
Returns
ilCloudHookPlugin

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

References getPluginObject().

Referenced by txt().

46  {
47  return $this->getPluginObject()->getPluginHookObject();
48  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPluginObject()

ilCloudPluginGUI::getPluginObject ( )
Returns
ilCloudPlugin

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

Referenced by getAdminConfigObject(), ilCloudPluginFileTreeGUI\getLocatorHtml(), and getPluginHookObject().

37  {
38  return $this->service->getPluginObject();
39  }
+ Here is the caller graph for this function:

◆ getService()

ilCloudPluginGUI::getService ( )
Returns
ilCloudPluginService

Definition at line 60 of file class.ilCloudPluginGUI.php.

References $service.

Referenced by ilCloudPluginInitGUI\addToolbar(), ilCloudPluginFileTreeGUI\getItemHtml(), and ilCloudPluginSettingsGUI\updateSettings().

61  {
62  return $this->service;
63  }
+ Here is the caller graph for this function:

◆ txt()

ilCloudPluginGUI::txt (   $var = "")
Parameters
string$var

Definition at line 69 of file class.ilCloudPluginGUI.php.

References getPluginHookObject().

70  {
71  return $this->getPluginHookObject()->txt($var);
72  }
+ Here is the call graph for this function:

Field Documentation

◆ $service

ilCloudPluginService ilCloudPluginGUI::$service = null
protected

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

Referenced by getService().


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