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);
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.
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
supportsRoleBasedVisibility()
setIsTopItm(bool $top_item)