ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilObjWorkspaceRootFolderGUI.php
Go to the documentation of this file.
1<?php
2
26{
27 public function __construct(
28 int $a_id = 0,
29 int $a_id_type = self::REPOSITORY_NODE_ID,
30 int $a_parent_node_id = 0
31 ) {
32 parent::__construct($a_id, $a_id_type, $a_parent_node_id);
33 global $DIC;
34
35 $this->help = $DIC["ilHelp"];
36 $this->tpl = $DIC["tpl"];
37 $this->lng = $DIC->language();
38 }
39
40 public function getType(): string
41 {
42 return "wsrt";
43 }
44
45 protected function setTabs(bool $a_show_settings = false): void
46 {
47 $ilHelp = $this->help;
48
49 parent::setTabs(false);
50 $ilHelp->setScreenIdComponent("wsrt");
51 }
52
53 protected function setTitleAndDescription(): void
54 {
57
58 $title = $lng->txt("mm_personal_and_shared_r");
59 $tpl->setTitle($title);
60 $tpl->setTitleIcon(ilUtil::getImagePath("standard/icon_wsrt.svg"), $title);
61 $tpl->setDescription($lng->txt("wsp_personal_resources_description"));
62 }
63}
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
Class ilObjWorkspaceFolderGUI.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getType()
Functions that must be overwritten.
__construct(int $a_id=0, int $a_id_type=self::REPOSITORY_NODE_ID, int $a_parent_node_id=0)
ilGlobalTemplateInterface $tpl
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
setDescription(string $a_descr)
Sets description below title in standard template.
setTitle(string $a_title, bool $hidden=false)
Sets title in standard template.
setTitleIcon(string $a_icon_path, string $a_icon_desc="")
set title icon
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $DIC
Definition: shib_login.php:26