19 declare(strict_types=1);
28 class Segment implements SequenceSegment, LegacySegment
36 protected string $title,
37 protected string $content
48 return $this->content;
60 return $this->actions ?? [];
getSegmentActions()
Segments MAY add actions to the sequence.
withSegmentActions(Button\Standard ... $actions)
Segments MAY add actions to the sequence.
__construct(protected string $title, protected string $content)
getSegmentTitle()
A segment MUST provide a title.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null