89 return $DIC->ui()->factory()->legacy(
"");
97 $this->parent = $identification;
107 return $this->parent instanceof
isParent;
123 $this->parent = $identification;
151 $this->children[] = $child;
161 $this->children = array_filter($this->children,
static function (
isItem $item) use ($child_to_remove) :
bool {
173 return count($this->children) > 0;
An exception for terminatinating execution or to throw for unit testing.
Class NullIdentification.
withAction(string $action)
@inheritDoc
overrideParent(IdentificationInterface $identification)
@inheritDoc
appendChild(isChild $child)
@inheritDoc
isLinkWithExternalAction()
@inheritDoc
removeChild(isChild $child_to_remove)
@inheritDoc
withSymbol(Symbol $symbol)
@inheritDoc
withParent(IdentificationInterface $identification)
@inheritDoc
withContent(Component $ui_component)
@inheritDoc
withIsLinkToExternalAction(bool $is_external)
@inheritDoc
withTitle(string $title)
@inheritDoc
withChildren(array $children)
@inheritDoc
__construct(IdentificationInterface $provider_identification)
@inheritDoc
withContentWrapper(Closure $content_wrapper)
@inheritDoc
Interface IdentificationInterface.
Interface hasSymbol Methods for Entries with Symbols.
getProviderIdentification()
A component is the most general form of an entity in the UI.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
trait SymbolDecoratorTrait