1 <?php declare(strict_types=1);
42 $this->custom_item_storage = $this->getCustomStorage();
44 if ($this->custom_item_storage->getType()) {
45 $this->type = $this->custom_item_storage->getType();
47 $this->role_based_visibility = $this->custom_item_storage->hasRoleBasedVisibility();
48 if ($this->custom_item_storage->hasRoleBasedVisibility()) {
49 $this->global_role_ids = $this->custom_item_storage->getGlobalRoleIDs();
60 $mm = $this->getCustomStorage();
62 if ($this->default_title ===
'-') {
63 $this->default_title = ilMMItemTranslationStorage::getDefaultTranslation($this->
identification());
65 $mm->setDefaultTitle($this->default_title);
67 $mm->setRoleBasedVisibility($this->role_based_visibility);
68 if ($this->role_based_visibility) {
69 $mm->setGlobalRoleIDs($this->global_role_ids);
80 public function delete():
void 86 $cm = $this->getCustomStorage();
95 $id = $this->raw_item->getProviderIdentification()->getInternalIdentifier();
97 $mm = ilMMCustomItemStorage::find(
$id);
179 if ($this->raw_item instanceof \
ILIAS\GlobalScreen\Scope\MainMenu\
Factory\isItem) {
180 return parent::isTopItem();
Class ilMMAbstractItemFacade.
ilMMCustomItemStorage $custom_item_storage
getProviderNameForPresentation()
Class ChatMainBarProvider .
Interface IdentificationInterface.
IdentificationInterface $identification
__construct(IdentificationInterface $identification, Main $collector)
setAction(string $action)
Class ilMMCustomItemFacade.
__construct(Container $dic, ilPlugin $plugin)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
supportsRoleBasedVisibility()
setIsTopItm(bool $top_item)