ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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

Reimplemented in ilCloudPluginCreationGUI.

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

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

Member Function Documentation

◆ executeCommand()

ilCloudPluginGUI::executeCommand ( )

Reimplemented in ilCloudPluginUploadGUI.

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

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

References $cmd, and $ilCtrl.

◆ getAdminConfigObject()

ilCloudPluginGUI::getAdminConfigObject ( )

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

49 {
50 return $this->getPluginObject()->getAdminConfigObject();
51 }

References getPluginObject().

+ Here is the call graph for this function:

◆ getPluginHookObject()

ilCloudPluginGUI::getPluginHookObject ( )
Returns
ilCloudHookPlugin

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

44 {
45 return $this->getPluginObject()->getPluginHookObject();
46 }

References getPluginObject().

Referenced by txt().

+ 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.

36 {
37 return $this->service->getPluginObject();
38 }

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

+ 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().

+ Here is the caller graph for this function:

◆ txt()

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

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

65 {
66 return $this->getPluginHookObject()->txt($var);
67 }

References getPluginHookObject().

+ 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: