ILIAS  release_7 Revision v7.30-3-g800a261c036
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 */
4include_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');
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}
An exception for terminatinating execution or to throw for unit testing.
static _lookupOnline($a_id)
Check wether bibliographic is online or not.
Class ilObjDataCollectionListGUI.
Class ilObjectListGUI.
global $DIC
Definition: goto.php:24
$ilUser
Definition: imgupload.php:18