ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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
5require_once('./Services/Object/classes/class.ilObjectListGUI.php');
6
17
21 public function init() {
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->payment_enabled = false;
28 $this->info_screen_enabled = true;
29 $this->type = "dcl";
30 $this->gui_class_name = "ilobjdatacollectiongui";
31
32 // general commands array
33 include_once('./Modules/DataCollection/classes/class.ilObjDataCollectionAccess.php');
35 }
36
37
46 public function getProperties() {
47 global $lng, $ilUser;
48
49 $props = array();
50 include_once("./Modules/DataCollection/classes/class.ilObjDataCollectionAccess.php");
51
52 if (!ilObjDataCollectionAccess::_lookupOnline($this->obj_id)) {
53 $props[] = array(
54 "alert" => true,
55 "property" => $lng->txt("status"),
56 "value" => $lng->txt("offline")
57 );
58 }
59
60 return $props;
61 }
62}
63
64?>
_lookupOnline($a_id)
Check wether datacollection is online.
Class ilObjDataCollectionListGUI.
Class ilObjectListGUI.
global $lng
Definition: privfeed.php:40
global $ilUser
Definition: imgupload.php:15