35 $this->
lng = $DIC->language();
42 public function init(): void
44 $this->static_link_enabled =
true;
45 $this->delete_enabled =
true;
46 $this->cut_enabled =
true;
47 $this->info_screen_enabled =
true;
48 $this->copy_enabled =
false;
49 $this->subscribe_enabled =
false;
50 $this->link_enabled =
false;
53 $this->gui_class_name =
"ilobjorgunitgui";
78 if ($this->std_cmd_only) {
81 $cmd_link = $this->
ctrl->getLinkTargetByClass(
"ilinfoscreengui",
"showSummary");
86 $this->
lng->txt(
"info_short"),
94 $this->
ctrl->setParameterByClass(
"ilobjorgunitgui",
"ref_id", $this->ref_id);
96 return $this->
ctrl->getLinkTargetByClass(
"ilobjorgunitgui", $a_cmd);
105 if (isset($icons_cache[$this->obj_id])) {
110 return ilObject::getIconForReference(
static _getCommands()
get commands this method returns an array of all possible commands/permission combinations example: $...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
insertCommonSocialCommands(bool $a_header_actions=false)
no social commands needed in orgunits.
insertInfoScreenCommand()
insert info screen command
insertTimingsCommand()
no timing commands needed in orgunits.
getTypeIcon()
Get object type specific type icon.
getCommandLink(string $a_cmd)
Get command link url.
static getIconsCache()
Returns an array that maps from OrgUnit object IDs to its icon defined by the assigned OrgUnit type.
getIconImageType()
Returns the icon image type.
getCommandFrame(string $cmd)
Get command target frame.
insertCommand(string $href, string $text, string $frame="", string $img="", string $cmd="", string $onclick="")
insert command button
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getImagePath(string $img, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc