19declare(strict_types=1);
84 $this->active_status = $status;
94 $this->parent_identification = $parent;
102 $s->setIdentifier(uniqid());
103 $s->setType($this->type);
105 $s->setAction($this->action);
106 $s->setDefaultTitle($this->default_title);
109 $this->custom_item_storage = $s;
113 $this->raw_item =
$provider->getSingleCustomItem($s);
114 if ($this->parent_identification && $this->raw_item instanceof
isChild) {
116 $this->raw_item = $this->raw_item->withParent(
$DIC->globalScreen()->identification()->fromSerializedIdentification($this->parent_identification));
119 $this->
identification = $this->raw_item->getProviderIdentification();
122 $this->mm_item->setPosition(9999999);
123 $this->mm_item->setIdentification($this->raw_item->getProviderIdentification()->serialize());
124 $this->mm_item->setParentIdentification($this->parent_identification);
125 $this->mm_item->setActive($this->active_status);
126 if ($this->raw_item instanceof
isChild) {
127 $this->mm_item->setParentIdentification($this->raw_item->getParent()->serialize());
Class MainMenuMainCollector This Collector will collect and then provide all available slates from th...
Class CustomMainBarProvider.
Class ilMMCustomItemFacade.
Class ilMMCustomItemStorage.
Class ilMMNullItemFacade.
__construct(IdentificationInterface $identification, Main $collector)
@inheritDoc
setIsTopItm(bool $top_item)
@inheritDoc
setActiveStatus(bool $status)
@inheritDoc
setParent(string $parent)
@inheritDoc
supportsRoleBasedVisibility()
@inheritDoc
string $parent_identification
isAlwaysAvailable()
@inheritDoc
getProviderNameForPresentation()
@inheritDoc
Interface IdentificationInterface.
Interface ilMMItemFacadeInterface.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc