87 $item = $item->withAction(
"#");
91 $parent_identification =
"";
93 $parent_identification = $mm_item->getParentIdentification();
96 if ($parent_identification) {
97 $item = $item->withParent(
100 ->fromSerializedIdentification($parent_identification)
123 $link_list->setCreationPrevented(
true);
128 $complex->setCreationPrevented(
true);
131 $lost->setCreationPrevented(
true);
145 $last_part = substr(strrchr(
$type,
"\\"), 1);
146 $last_part = strtolower(preg_replace(
'/(?<!^)[A-Z]/',
'_$0', $last_part));
148 return $this->dic->language()->txt(
"type_" . strtolower($last_part));
159 $last_part = substr(strrchr(
$type,
"\\"), 1);
160 $last_part = strtolower(preg_replace(
'/(?<!^)[A-Z]/',
'_$0', $last_part));
162 return $this->dic->language()->txt(
"type_" . strtolower($last_part) .
"_info");
static where($where, $operator=null)
An exception for terminatinating execution or to throw for unit testing.
static find($primary_key, array $add_constructor_args=array())
@inheritDoc
Class TypeInformationCollection.
Interface StaticMainMenuProvider.
static registerIdentification(\ILIAS\GlobalScreen\Identification\IdentificationInterface $identification, \ILIAS\GlobalScreen\Provider\Provider $provider)
Class ilMMCustomItemStorage.
Class ilMMCustomProvider.
translateType(string $type)
provideTypeInformation()
@inheritDoc
getSingleCustomItem(ilMMCustomItemStorage $storage, $register=false)
translateByline(string $type)
static register(isItem $item)
Class ilMMLostItemRenderer.
Class ilMMTopLinkItemRenderer.
Class ilMMTopParentItemRenderer.
Class ilMMTypeHandlerLink.
Class ilMMTypeHandlerRepositoryLink.
Class ilMMTypeHandlerSeparator.
Class ilMMTypeHandlerTopLink.
Interface StaticMainMenuProvider.