19declare(strict_types=1);
45 $this->employeeTalkTemplateIdentifier = $this->
if->identifier(
'mm_adm_org_etal');
56 $this->dic->language()->loadLanguageModule(
'etal');
59 $title = $this->dic->language()->txt(
"mm_org_etal");
61 $icon = $this->dic->ui()->factory()->symbol()->icon()->custom(
66 $items[] = $this->mainmenu->link($this->employeeTalkTemplateIdentifier)
67 ->withAlwaysAvailable(
false)
68 ->withAction($this->dic->ctrl()->getLinkTargetByClass([
69 ilDashboardGUI::class,
71 ilEmployeeTalkMyStaffListGUI::class,
73 ->withAvailableCallable(
75 return boolval($this->
settings->get(
'enable_my_staff'));
78 ->withNonAvailableReason($this->dic->ui()->factory()->legacy()->content(
"{$this->dic->language()->txt('item_must_be_always_active')}"))
83 ->withVisibilityCallable(
97 return "components/ILIAS/EmployeeTalk";
Customizing of pimple-DIC for ILIAS.
settings()
Get the interface to the settings.
getProviderNameForPresentation()
@inheritDoc
IdentificationInterface $employeeTalkTemplateIdentifier
__construct(Container $dic)
@inheritDoc
IdentificationInterface $organisationIdentifier
Interface StaticMainMenuProvider.
Class StandardTopItemsProvider.
@ilCtrl_Calls ilDashboardGUI: ILIAS\User\Profile\PersonalProfileGUI @ilCtrl_Calls ilDashboardGUI: ilO...
@ilCtrl_IsCalledBy ilEmployeeTalkMyStaffListGUI: ilMyStaffGUI @ilCtrl_IsCalledBy ilEmployeeTalkMyStaf...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
Interface IdentificationInterface.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc