ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilObjDataCollectionListGUI.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
class
ilObjDataCollectionListGUI
extends
ilObjectListGUI
22
{
26
public
function
init
(): void
27
{
28
$this->copy_enabled =
true
;
29
$this->delete_enabled =
true
;
30
$this->cut_enabled =
true
;
31
$this->subscribe_enabled =
true
;
32
$this->link_enabled =
true
;
33
$this->info_screen_enabled =
true
;
34
$this->type =
"dcl"
;
35
$this->gui_class_name =
"ilobjdatacollectiongui"
;
36
37
// general commands array
38
$this->commands =
ilObjDataCollectionAccess::_getCommands
();
39
}
40
48
public
function
getProperties
(): array
49
{
50
$props = [];
51
52
if
(!
ilObjDataCollectionAccess::_lookupOnline
($this->obj_id)) {
53
$props[] = [
54
"alert"
=>
true
,
55
"property"
=> $this->
lng
->txt(
"status"
),
56
"value"
=> $this->
lng
->txt(
"offline"
),
57
];
58
}
59
60
return
$props;
61
}
62
}
ilObjDataCollectionListGUI\init
init()
initialisation
Definition:
class.ilObjDataCollectionListGUI.php:26
ilObjDataCollectionListGUI
Definition:
class.ilObjDataCollectionListGUI.php:21
ilObjDataCollectionAccess\_getCommands
static _getCommands()
get commands this method returns an array of all possible commands/permission combinations example: $...
Definition:
class.ilObjDataCollectionAccess.php:33
ILIAS\Repository\lng
lng()
Definition:
trait.GlobalDICDomainServices.php:61
ilObjectListGUI
ilObjDataCollectionListGUI\getProperties
getProperties()
Get item properties.
Definition:
class.ilObjDataCollectionListGUI.php:48
ilObjDataCollectionAccess\_lookupOnline
static _lookupOnline(int $a_id)
Check wether datacollection is online.
Definition:
class.ilObjDataCollectionAccess.php:133
components
ILIAS
DataCollection
classes
class.ilObjDataCollectionListGUI.php
Generated on Sun Aug 31 2025 23:02:47 for ILIAS by
1.8.13 (using
Doxyfile
)