ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilObjPortfolioTemplateListGUI.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
11 {
15  public function init()
16  {
17  $this->copy_enabled = true;
18  $this->delete_enabled = true;
19  $this->cut_enabled = true;
20  $this->subscribe_enabled = true;
21  $this->link_enabled = true;
22  $this->info_screen_enabled = true;
23  $this->type = "prtt";
24  $this->gui_class_name = "ilobjportfoliotemplategui";
25 
26  // general commands array
28  }
29 
30  public function getProperties()
31  {
32  $lng = $this->lng;
33 
34  $props = array();
35 
36  if (!ilObjPortfolioTemplateAccess::_lookupOnline($this->obj_id)) {
37  $props[] = array(
38  "alert" => true,
39  "property" => $lng->txt("status"),
40  "value" => $lng->txt("offline")
41  );
42  }
43 
44  return $props;
45  }
46 }
Class ilObjectListGUI.
Class ilObjPortfolioTemplateListGUI.