ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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";
14
18 public function init() {
19 $this->copy_enabled = true;
20 $this->delete_enabled = true;
21 $this->cut_enabled = true;
22 $this->subscribe_enabled = false;
23 $this->link_enabled = true;
24 $this->info_screen_enabled = true;
25 $this->type = "bibl";
26 $this->gui_class_name = "ilobjbibliographicgui";
27 // general commands array
28 include_once('./Modules/Bibliographic/classes/class.ilObjBibliographicAccess.php');
30 }
31
32
41 public function getProperties() {
42 global $DIC;
43 $lng = $DIC['lng'];
44 $ilUser = $DIC['ilUser'];
45 $props = array();
46 include_once("./Modules/Bibliographic/classes/class.ilObjBibliographicAccess.php");
47 if (! ilObjBibliographicAccess::_lookupOnline($this->obj_id)) {
48 $props[] = array(
49 "alert" => true,
50 "property" => $lng->txt("status"),
51 "value" => $lng->txt("offline")
52 );
53 }
54
55 return $props;
56 }
57}
58
59?>
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 $lng
Definition: privfeed.php:17
global $DIC
$ilUser
Definition: imgupload.php:18