ILIAS  release_4-4 Revision
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilObjBibliographicListGUI.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 
15 {
19  public function init()
20  {
21  $this->copy_enabled = true;
22  $this->delete_enabled = true;
23  $this->cut_enabled = false;
24  $this->subscribe_enabled = false;
25  $this->link_enabled = true;
26  $this->payment_enabled = false;
27  $this->info_screen_enabled = true;
28  $this->type = "bibl";
29  $this->gui_class_name = "ilobjbibliographicgui";
30 
31  // general commands array
32  include_once('./Modules/Bibliographic/classes/class.ilObjBibliographicAccess.php');
33  $this->commands = ilObjBibliographicAccess::_getCommands();
34  }
35 
44  public function getProperties()
45  {
46  global $lng, $ilUser;
47 
48  $props = array();
49 
50  include_once("./Modules/Bibliographic/classes/class.ilObjBibliographicAccess.php");
51 
52  if(!ilObjBibliographicAccess::_lookupOnline($this->obj_id))
53  {
54  $props[] = array(
55  "alert" => true,
56  "property" => $lng->txt("status"),
57  "value" => $lng->txt("offline")
58  );
59  }
60 
61  return $props;
62  }
63 }
64 
65 ?>
static _lookupOnline($a_id)
Check wether bibliographic is online or not.
Class ilObjectListGUI.
Class ilObjDataCollectionListGUI.
global $ilUser
Definition: imgupload.php:15
global $lng
Definition: privfeed.php:40