ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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
5require_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 {
50
51 $tpl->setTitle($lng->txt("mm_personal_and_shared_r"));
52 $tpl->setTitleIcon(ilUtil::getImagePath("icon_wsrt.svg"), $title);
53 $tpl->setDescription($lng->txt("wsp_personal_resources_description"));
54 }
55}
An exception for terminatinating execution or to throw for unit testing.
Class ilObjWorkspaceFolderGUI.
Class ilObjWorkspaceRootFolderGUI.
getType()
Functions that must be overwritten.
setTitleAndDescription()
called by prepare output
__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)
help()
Definition: help.php:2
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
$DIC
Definition: xapitoken.php:46