ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f87
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 16 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 69 of file class.ilCloudPluginGUI.php.

References $cmd, and $ilCtrl.

70  {
71  global $ilCtrl;
72 
73  $cmd = $ilCtrl->getCmd();
74 
75  switch ($cmd)
76  {
77  default:
78  $this->$cmd();
79  break;
80  }
81  }
$cmd
Definition: sahs_server.php:35
global $ilCtrl
Definition: ilias.php:18

◆ getAdminConfigObject()

ilCloudPluginGUI::getAdminConfigObject ( )

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

References getPluginObject().

49  {
50  return $this->getPluginObject()->getAdminConfigObject();
51  }
+ Here is the call graph for this function:

◆ getPluginHookObject()

ilCloudPluginGUI::getPluginHookObject ( )
Returns
ilCloudHookPlugin

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

References getPluginObject().

Referenced by txt().

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

◆ getPluginObject()

ilCloudPluginGUI::getPluginObject ( )
Returns
ilCloudPlugin

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

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

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

◆ getService()

ilCloudPluginGUI::getService ( )
Returns
ilCloudPluginService

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

References $service.

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

57  {
58  return $this->service;
59  }
+ Here is the caller graph for this function:

◆ txt()

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

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

References getPluginHookObject().

65  {
66  return $this->getPluginHookObject()->txt($var);
67  }
+ Here is the call graph for this function:

Field Documentation

◆ $service

ilCloudPluginService ilCloudPluginGUI::$service = null
protected

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

Referenced by getService().


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