ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilObjDataCollectionListGUI.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4
14
class
ilObjDataCollectionListGUI
extends
ilObjectListGUI
15
{
16
20
public
function
init
()
21
{
22
$this->copy_enabled =
true
;
23
$this->delete_enabled =
true
;
24
$this->cut_enabled =
true
;
25
$this->subscribe_enabled =
true
;
26
$this->link_enabled =
true
;
27
$this->info_screen_enabled =
true
;
28
$this->type =
"dcl"
;
29
$this->gui_class_name =
"ilobjdatacollectiongui"
;
30
31
// general commands array
32
include_once(
'./Modules/DataCollection/classes/class.ilObjDataCollectionAccess.php'
);
33
$this->commands =
ilObjDataCollectionAccess::_getCommands
();
34
}
35
36
45
public
function
getProperties
()
46
{
47
global
$DIC
;
48
$lng
= $DIC[
'lng'
];
49
$ilUser
= $DIC[
'ilUser'
];
50
51
$props = array();
52
include_once(
"./Modules/DataCollection/classes/class.ilObjDataCollectionAccess.php"
);
53
54
if
(!
ilObjDataCollectionAccess::_lookupOnline
($this->obj_id)) {
55
$props[] = array(
56
"alert"
=>
true
,
57
"property"
=>
$lng
->txt(
"status"
),
58
"value"
=>
$lng
->txt(
"offline"
),
59
);
60
}
61
62
return
$props;
63
}
64
}
ilObjDataCollectionListGUI\init
init()
initialisation
Definition:
class.ilObjDataCollectionListGUI.php:20
ilObjDataCollectionAccess\_lookupOnline
static _lookupOnline($a_id)
Check wether datacollection is online.
Definition:
class.ilObjDataCollectionAccess.php:147
$DIC
global $DIC
Definition:
saml.php:7
ilObjectListGUI\$lng
$lng
Definition:
class.ilObjectListGUI.php:33
ilObjDataCollectionListGUI
Class ilObjDataCollectionListGUI.
Definition:
class.ilObjDataCollectionListGUI.php:14
ilObjDataCollectionAccess\_getCommands
static _getCommands()
get commands
Definition:
class.ilObjDataCollectionAccess.php:30
ilObjectListGUI
Class ilObjectListGUI.
Definition:
class.ilObjectListGUI.php:23
$ilUser
$ilUser
Definition:
imgupload.php:18
ilObjDataCollectionListGUI\getProperties
getProperties()
Get item properties.
Definition:
class.ilObjDataCollectionListGUI.php:45
php
Modules
DataCollection
classes
class.ilObjDataCollectionListGUI.php
Generated on Thu Jan 30 2025 19:01:38 for ILIAS by
1.8.13 (using
Doxyfile
)