ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilObjWorkspaceRootFolderGUI.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 require_once "Modules/WorkspaceFolder/classes/class.ilObjWorkspaceFolderGUI.php";
6 
18 {
19 
23  public function __construct($a_id = 0, $a_id_type = self::REPOSITORY_NODE_ID, $a_parent_node_id = 0)
24  {
25  parent::__construct($a_id, $a_id_type, $a_parent_node_id);
26  global $DIC;
27 
28  $this->help = $DIC["ilHelp"];
29  $this->tpl = $DIC["tpl"];
30  $this->lng = $DIC->language();
31  }
32 
33  public function getType()
34  {
35  return "wsrt";
36  }
37 
38  public function setTabs($a_show_settings = false)
39  {
40  $ilHelp = $this->help;
41 
42  parent::setTabs(false);
43  $ilHelp->setScreenIdComponent("wsrt");
44  }
45 
46  protected function setTitleAndDescription()
47  {
48  $tpl = $this->tpl;
49  $lng = $this->lng;
50 
51  $tpl->setTitle($lng->txt("wsp_personal_workspace"));
52  $tpl->setTitleIcon(ilUtil::getImagePath("icon_wsrt.svg"), $title);
53  $tpl->setDescription($lng->txt("wsp_personal_workspace_description"));
54  }
55 }
Class ilObjWorkspaceFolderGUI.
global $DIC
Definition: saml.php:7
__construct($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0)
Constructor.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
Class ilObjWorkspaceRootFolderGUI.