ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
class.ilObjDataCollectionListGUI.php
Go to the documentation of this file.
1
<?php
2
20
declare(strict_types=1);
21
22
class
ilObjDataCollectionListGUI
extends
ilObjectListGUI
23
{
27
public
function
init
(): void
28
{
29
$this->copy_enabled =
true
;
30
$this->delete_enabled =
true
;
31
$this->cut_enabled =
true
;
32
$this->subscribe_enabled =
true
;
33
$this->link_enabled =
true
;
34
$this->info_screen_enabled =
true
;
35
$this->type =
"dcl"
;
36
$this->gui_class_name =
"ilobjdatacollectiongui"
;
37
38
// general commands array
39
$this->commands =
ilObjDataCollectionAccess::_getCommands
();
40
}
41
49
public
function
getProperties
(): array
50
{
51
$props = [];
52
53
if
(!
ilObjDataCollectionAccess::_lookupOnline
($this->obj_id)) {
54
$props[] = [
55
"alert"
=>
true
,
56
"property"
=> $this->
lng
->txt(
"status"
),
57
"value"
=> $this->
lng
->txt(
"offline"
),
58
];
59
}
60
61
return
$props;
62
}
63
}
ilObjDataCollectionListGUI\init
init()
initialisation
Definition:
class.ilObjDataCollectionListGUI.php:27
ilObjDataCollectionListGUI
Definition:
class.ilObjDataCollectionListGUI.php:22
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:58
ilObjectListGUI
Important note:
Definition:
class.ilObjectListGUI.php:45
ilObjDataCollectionListGUI\getProperties
getProperties()
Get item properties.
Definition:
class.ilObjDataCollectionListGUI.php:49
ilObjDataCollectionAccess\_lookupOnline
static _lookupOnline(int $a_id)
Check wether datacollection is online.
Definition:
class.ilObjDataCollectionAccess.php:133
Modules
DataCollection
classes
class.ilObjDataCollectionListGUI.php
Generated on Wed Sep 10 2025 14:10:45 for ILIAS by
1.8.13 (using
Doxyfile
)