ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
◀ ilDoc Overview
class.ilObjCloudListGUI.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
include_once
"./Services/Repository/classes/class.ilObjectPluginListGUI.php"
;
5
14
class
ilObjCloudListGUI
extends
ilObjectListGUI
15
{
19
public
function
init
()
20
{
21
global
$lng
;
22
23
$this->copy_enabled =
false
;
24
$this->delete_enabled =
true
;
25
$this->cut_enabled =
false
;
26
$this->subscribe_enabled =
true
;
27
$this->link_enabled =
false
;
28
$this->payment_enabled =
false
;
29
$this->info_screen_enabled =
true
;
30
$this->timings_enabled =
true
;
31
$this->type =
"cld"
;
32
$this->gui_class_name =
"ilobjcloudgui"
;
33
34
// general commands array
35
include_once(
'./Modules/Cloud/classes/class.ilObjCloudAccess.php'
);
36
$this->commands =
ilObjCloudAccess::_getCommands
();
37
$lng
->loadLanguageModule(
"cld"
);
38
}
39
40
44
function
getProperties
()
45
{
46
global
$lng
;
47
48
$props = array();
49
include_once(
'./Modules/Cloud/classes/class.ilObjCloudAccess.php'
);
50
if
(!
ilObjCloudAccess::checkAuthStatus
($this->obj_id))
51
{
52
$props[] = array(
"alert"
=>
true
,
"property"
=>
$lng
->txt(
"status"
),
53
"value"
=>
$lng
->txt(
"cld_not_authenticated_offline"
));
54
}
55
else
if
(!
ilObjCloudAccess::checkOnline
($this->obj_id))
56
{
57
$props[] = array(
"alert"
=>
true
,
"property"
=>
$lng
->txt(
"status"
),
58
"value"
=>
$lng
->txt(
"offline"
));
59
}
60
61
return
$props;
62
}
63
}
64
?>
ilObjCloudAccess\checkOnline
static checkOnline($a_id)
Definition:
class.ilObjCloudAccess.php:108
ilObjCloudAccess\checkAuthStatus
static checkAuthStatus($a_id)
Definition:
class.ilObjCloudAccess.php:129
ilObjCloudAccess\_getCommands
_getCommands()
get commands
Definition:
class.ilObjCloudAccess.php:20
ilObjCloudListGUI
Class ilObjCloudListGUI.
Definition:
class.ilObjCloudListGUI.php:15
ilObjCloudListGUI\init
init()
initialisation
Definition:
class.ilObjCloudListGUI.php:19
ilObjCloudListGUI\getProperties
getProperties()
Definition:
class.ilObjCloudListGUI.php:44
ilObjectListGUI
Class ilObjectListGUI.
Definition:
class.ilObjectListGUI.php:24
$lng
global $lng
Definition:
privfeed.php:40
Modules
Cloud
classes
class.ilObjCloudListGUI.php
Generated on Wed Sep 24 2025 19:00:44 for ILIAS by
1.9.4 (using
Doxyfile
)