34 parent::__construct($identification, $collector);
70 $this->active_status = $status;
79 $this->parent_identification = $parent;
86 $s->setIdentifier(uniqid());
87 $s->setType($this->type);
89 $s->setAction($this->action);
90 $s->setDefaultTitle($this->default_title);
93 $this->custom_item_storage =
$s;
97 $this->gs_item =
$provider->getSingleCustomItem(
$s);
98 if ($this->parent_identification && $this->gs_item instanceof \
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isChild) {
100 $this->gs_item = $this->gs_item->withParent($DIC->globalScreen()->identification()->fromSerializedIdentification($this->parent_identification));
103 $this->
identification = $this->gs_item->getProviderIdentification();
106 $this->mm_item->setPosition(9999999);
107 $this->mm_item->setIdentification($this->gs_item->getProviderIdentification()->serialize());
108 $this->mm_item->setParentIdentification($this->parent_identification);
109 $this->mm_item->setActive($this->active_status);
110 if ($this->gs_item instanceof \
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isChild) {
111 $this->mm_item->setParentIdentification($this->gs_item->getParent()->serialize());
setActiveStatus(bool $status)
Class ilMMCustomItemStorage.
Class ilMMNullItemFacade.
Class ilMMCustomProvider.
Interface IdentificationInterface.
getProviderNameForPresentation()
__construct(IdentificationInterface $identification, Main $collector)
setIsTopItm(bool $top_item)
setParent(string $parent)
Class ilMMCustomItemFacade.
Interface ilMMItemFacadeInterface.