4 include_once(
'./Modules/Cloud/exceptions/class.ilCloudException.php');
5 include_once(
'class.ilCloudPluginItemCreationListGUI.php');
6 include_once(
'class.ilCloudPluginActionListGUI.php');
7 include_once(
'class.ilCloudPlugin.php');
8 include_once(
'class.ilCloudPluginInitGUI.php');
9 include_once(
'class.ilCloudPluginSettingsGUI.php');
10 include_once(
'class.ilCloudPluginService.php');
11 include_once(
'class.ilCloudPluginFileTreeGUI.php');
12 include_once(
'class.ilCloudPluginUploadGUI.php');
13 include_once(
'class.ilCloudPluginDeleteGUI.php');
14 include_once(
'class.ilCloudPluginCreateFolderGUI.php');
15 include_once(
'class.ilCloudPluginHeaderActionGUI.php');
16 include_once(
'class.ilCloudPluginCreationGUI.php');
17 include_once(
'class.ilCloudPluginInfoScreenGUI.php');
40 $ilPluginAdmin = $DIC[
'ilPluginAdmin'];
42 $cloud_services = $ilPluginAdmin->getActivePluginsForSlot(
"Modules",
"Cloud",
"cldh");
43 if (!$cloud_services) {
46 $services_names =
array();
47 foreach ($cloud_services as
$service) {
50 return $services_names;
78 if (file_exists(
"./Customizing/global/plugins/Modules/Cloud/CloudHook/" . $service_name .
"/classes/class.il" . $service_name . $class_name .
".php")) {
79 include_once(
"./Customizing/global/plugins/Modules/Cloud/CloudHook/" . $service_name .
"/classes/class.il" . $service_name . $class_name .
".php");
80 $class_full_name =
"il" . $service_name . $class_name;
81 return $class_full_name;
83 return "ilCloudPlugin" . $class_name;
100 return new $class_name($service_name, $obj_id);
114 return new $class_name($service_name, $obj_id);
125 return new $class_name($service_name);
136 return new $class_name($plugin_service_class);
147 return new $class_name($plugin_service_class);
158 return new $class_name($plugin_service_class);
169 return new $class_name($plugin_service_class);
181 return new $class_name($plugin_service_class, $file_tree);
192 return new $class_name($plugin_service_class);
203 return new $class_name($plugin_service_class);
213 return new $class_name($plugin_service_class);
223 return new $class_name($plugin_service_class);
233 return new $class_name($plugin_service_class);
243 return new $class_name($plugin_service_class);
getPluginHookObject()
For shorter access.
ilCloudConnector class Needed to check if a a plugin making a conncection to a service like GoogleDri...
const NO_SERVICE_SELECTED
static getActionListGUIClass(ilCloudPluginService $plugin_service_class)
static getInitGUIClass(ilCloudPluginService $plugin_service_class)
static getDeleteGUIClass(ilCloudPluginService $plugin_service_class)
static getUploadGUIClass(ilCloudPluginService $plugin_service_class)
static getCreateFolderGUIClass(ilCloudPluginService $plugin_service_class)
static getFileTreeGUIClass(ilCloudPluginService $plugin_service_class, ilCloudFileTree $file_tree)
static getActiveServices()
static getPluginClass($service_name, $obj_id)
static checkServiceActive($name)
Class ilCloudPluginService.
Create styles array
The data for the language used.
static getFullClassName($service_name, $class_name)
static getPluginHookClass($service_name)
static getHeaderActionGUIClass(ilCloudPluginService $plugin_service_class)
static getServiceClass($service_name, $obj_id, $connect=true)
static getInfoScreenGUIClass(ilCloudPluginService $plugin_service_class)
static getSettingsGUIClass(ilCloudPluginService $plugin_service_class)
static getCreationGUIClass(ilCloudPluginService $plugin_service_class)
static getItemCreationListGUIClass(ilCloudPluginService $plugin_service_class)