71 $this->active_status = $status;
80 $this->parent_identification = $parent;
87 $s->setIdentifier(uniqid());
88 $s->setType($this->type);
90 $s->setAction($this->action);
91 $s->setDefaultTitle($this->default_title);
94 $this->custom_item_storage = $s;
98 $this->raw_item = $provider->getSingleCustomItem($s);
99 if ($this->parent_identification && $this->raw_item instanceof \
ILIAS\GlobalScreen\Scope\MainMenu\Factory\
isChild) {
101 $this->raw_item = $this->raw_item->withParent(
$DIC->globalScreen()->identification()->fromSerializedIdentification($this->parent_identification));
104 $this->
identification = $this->raw_item->getProviderIdentification();
107 $this->mm_item->setPosition(9999999);
108 $this->mm_item->setIdentification($this->raw_item->getProviderIdentification()->serialize());
109 $this->mm_item->setParentIdentification($this->parent_identification);
110 $this->mm_item->setActive($this->active_status);
111 if ($this->raw_item instanceof \
ILIAS\GlobalScreen\Scope\MainMenu\Factory\
isChild) {
112 $this->mm_item->setParentIdentification($this->raw_item->getParent()->serialize());
155 public function delete()
An exception for terminatinating execution or to throw for unit testing.
Class MainMenuMainCollector This Collector will collect and then provide all available slates from th...
Class CustomMainBarProvider.
Class ilMMCustomItemFacade.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilMMNullItemFacade.
__construct(IdentificationInterface $identification, Main $collector)
@inheritDoc
setIsTopItm(bool $top_item)
@inheritDoc
setActiveStatus(bool $status)
@inheritDoc
setParent(string $parent)
@inheritDoc
supportsRoleBasedVisibility()
@inheritDoc
isAlwaysAvailable()
@inheritDoc
getProviderNameForPresentation()
@inheritDoc
Interface IdentificationInterface.
Interface ilMMItemFacadeInterface.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Class ChatMainBarProvider \MainMenu\Provider.