ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
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 
5 include_once "Services/Object/classes/class.ilObjectListGUI.php";
6 
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->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');
34  $this->commands = ilObjDataCollectionAccess::_getCommands();
35  }
36 
45  public function getProperties()
46  {
47  global $lng, $ilUser;
48 
49  $props = array();
50 
51  include_once("./Modules/DataCollection/classes/class.ilObjDataCollectionAccess.php");
52 
54  {
55  $props[] = array(
56  "alert" => true,
57  "property" => $lng->txt("status"),
58  "value" => $lng->txt("offline")
59  );
60  }
61 
62  return $props;
63  }
64 }
65 
66 ?>