19declare(strict_types=1);
26use ILIAS\UI\Implementation\Component\ComponentHelper;
40 protected string $cmd =
'show';
45 protected ?
I\IsPromptContent $content
51 return $this->title ? $this->title : $this->content->getPromptTitle();
64 $clone->content = $content;
73 return $this->content;
81 return $this->content->getPromptButtons();
86 return $this->
withCommand($flag ? self::CMD_CLOSE :
'');
100 $clone = clone $this;
The scope of this class is split ilias-conform URI's into components.
__construct(protected ?I\IsPromptContent $content)
withCloseModal(bool $flag)
withRedirect(URI $redirect)
withContent(I\IsPromptContent $content)
A component is the most general form of an entity in the UI.