ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilObjPortfolioTemplateListGUI.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 
5 include_once "Services/Object/classes/class.ilObjectListGUI.php";
6 
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 = true;
26  $this->link_enabled = true;
27  $this->info_screen_enabled = true;
28  $this->type = "prtt";
29  $this->gui_class_name = "ilobjportfoliotemplategui";
30 
31  // general commands array
32  include_once('./Modules/Portfolio/classes/class.ilObjPortfolioTemplateAccess.php');
34  }
35 
36  public function getProperties()
37  {
38  $lng = $this->lng;
39 
40  $props = array();
41 
42  include_once("./Modules/Portfolio/classes/class.ilObjPortfolioTemplateAccess.php");
43  if (!ilObjPortfolioTemplateAccess::_lookupOnline($this->obj_id)) {
44  $props[] = array(
45  "alert" => true,
46  "property" => $lng->txt("status"),
47  "value" => $lng->txt("offline")
48  );
49  }
50 
51  return $props;
52  }
53 }
Class ilObjectListGUI.
Create styles array
The data for the language used.
Class ilObjPortfolioTemplateListGUI.