ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 include_once "Services/Object/classes/class.ilObjectListGUI.php";
5 
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 = false;
26  $this->link_enabled = true;
27  $this->info_screen_enabled = true;
28  $this->type = "bibl";
29  $this->gui_class_name = "ilobjbibliographicgui";
30  // general commands array
31  include_once('./Modules/Bibliographic/classes/class.ilObjBibliographicAccess.php');
32  $this->commands = ilObjBibliographicAccess::_getCommands();
33  }
34 
35 
44  public function getProperties()
45  {
46  global $DIC;
47  $lng = $DIC['lng'];
48  $ilUser = $DIC['ilUser'];
49  $props = array();
50  include_once("./Modules/Bibliographic/classes/class.ilObjBibliographicAccess.php");
51  if (!ilObjBibliographicAccess::_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 }
global $DIC
Definition: saml.php:7
static _lookupOnline($a_id)
Check wether bibliographic is online or not.
Class ilObjectListGUI.
$ilUser
Definition: imgupload.php:18
Create styles array
The data for the language used.
Class ilObjDataCollectionListGUI.