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");
47 $services_names =
array();
48 foreach ($cloud_services as $service)
50 $services_names[$service] = $service;
52 return $services_names;
83 if (file_exists(
"./Customizing/global/plugins/Modules/Cloud/CloudHook/" . $service_name .
"/classes/class.il" .$service_name . $class_name.
".php"))
85 include_once(
"./Customizing/global/plugins/Modules/Cloud/CloudHook/" . $service_name .
"/classes/class.il" .$service_name . $class_name.
".php");
86 $class_full_name =
"il" . $service_name . $class_name;
87 return $class_full_name;
89 return "ilCloudPlugin" .$class_name;
108 return new $class_name($service_name, $obj_id);
123 return new $class_name($service_name, $obj_id);
134 return new $class_name($service_name);
145 return new $class_name($plugin_service_class);
156 return new $class_name($plugin_service_class);
167 return new $class_name($plugin_service_class);
178 return new $class_name($plugin_service_class);
190 return new $class_name($plugin_service_class, $file_tree);
201 return new $class_name($plugin_service_class);
212 return new $class_name($plugin_service_class);
222 return new $class_name($plugin_service_class);
232 return new $class_name($plugin_service_class);
242 return new $class_name($plugin_service_class);
252 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)