ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilCloudPluginGUI.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4include_once("class.ilCloudConnector.php");
5
16abstract class ilCloudPluginGUI
17{
21 protected $service = null;
22
27 public function __construct($plugin_service_class)
28 {
29 $this->service = $plugin_service_class;
30 }
31
35 public function getPluginObject()
36 {
37 return $this->service->getPluginObject();
38 }
39
43 public function getPluginHookObject()
44 {
45 return $this->getPluginObject()->getPluginHookObject();
46 }
47
48 public function getAdminConfigObject()
49 {
50 return $this->getPluginObject()->getAdminConfigObject();
51 }
52
56 public function getService()
57 {
58 return $this->service;
59 }
60
64 public function txt($var = "")
65 {
66 return $this->getPluginHookObject()->txt($var);
67 }
68
69 public function executeCommand()
70 {
71 global $ilCtrl;
72
73 $cmd = $ilCtrl->getCmd();
74
75 switch ($cmd)
76 {
77 default:
78 $this->$cmd();
79 break;
80 }
81 }
82}
83
84?>
Class ilCloudPluginGUI.
__construct($plugin_service_class)
global $ilCtrl
Definition: ilias.php:18
$cmd
Definition: sahs_server.php:35