ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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->payment_enabled = false;
25 $this->info_screen_enabled = true;
26 $this->type = "bibl";
27 $this->gui_class_name = "ilobjbibliographicgui";
28 // general commands array
29 include_once('./Modules/Bibliographic/classes/class.ilObjBibliographicAccess.php');
31 }
32
33
42 public function getProperties() {
43 global $lng, $ilUser;
44 $props = array();
45 include_once("./Modules/Bibliographic/classes/class.ilObjBibliographicAccess.php");
46 if (! ilObjBibliographicAccess::_lookupOnline($this->obj_id)) {
47 $props[] = array(
48 "alert" => true,
49 "property" => $lng->txt("status"),
50 "value" => $lng->txt("offline")
51 );
52 }
53
54 return $props;
55 }
56}
57
58?>
static _lookupOnline($a_id)
Check wether bibliographic is online or not.
Class ilObjDataCollectionListGUI.
Class ilObjectListGUI.
global $lng
Definition: privfeed.php:40
global $ilUser
Definition: imgupload.php:15