44 if (!$this->dic->settings()->get(
'mmbr_my_crs_grp', 1)) {
49 $access_helper = BasicAccessCheckClosuresSingleton::getInstance();
51 $title = $this->dic->language()->txt(
"my_courses_groups");
52 $icon = $this->dic->ui()->factory()->symbol()->icon()->custom(
58 $entries[] = $this->mainmenu->link($this->
if->identifier(
'mm_memberships'))
62 ->withAction(
$dic->
ctrl()->getLinkTargetByClass([
"ilMembershipOverviewGUI"],
""))
63 ->
withParent(StandardTopItemsProvider::getInstance()->getRepositoryIdentification())
64 ->
withVisibilityCallable($access_helper->isUserLoggedIn($access_helper->isUserLoggedIn($access_helper->isRepositoryReadable())));
if(!file_exists('../ilias.ini.php'))
Interface StaticMainMenuProvider.
withVisibilityCallable(callable $is_visible)
Main menu entry for derived tasks.
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
ctrl()
Get the interface to the control structure.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...