ILIAS  release_7 Revision v7.30-3-g800a261c036
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
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
33 }
34
35
44 public function getProperties()
45 {
46 global $DIC;
47 $lng = $DIC['lng'];
48
49 $props = array();
50
51 if (!ilObjDataCollectionAccess::_lookupOnline($this->obj_id)) {
52 $props[] = array(
53 "alert" => true,
54 "property" => $lng->txt("status"),
55 "value" => $lng->txt("offline"),
56 );
57 }
58
59 return $props;
60 }
61}
An exception for terminatinating execution or to throw for unit testing.
static _lookupOnline($a_id)
Check wether datacollection is online.
Class ilObjDataCollectionListGUI.
Class ilObjectListGUI.
global $DIC
Definition: goto.php:24