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()
setActiveStatus(bool $status)
Class ilMMNullItemFacade.
Class ChatMainBarProvider .
Interface IdentificationInterface.
getProviderNameForPresentation()
__construct(IdentificationInterface $identification, Main $collector)
setIsTopItm(bool $top_item)
setParent(string $parent)
Class CustomMainBarProvider.
Class ilMMCustomItemFacade.
__construct(Container $dic, ilPlugin $plugin)
supportsRoleBasedVisibility()
Interface ilMMItemFacadeInterface.