19 declare(strict_types=1);
32 class State implements I\State\State
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;
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
withRedirect(URI $redirect)
withContent(I\IsPromptContent $content)
withCloseModal(bool $flag)
__construct(protected ?I\IsPromptContent $content)