ILIAS  release_8 Revision v8.24
Separator.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
21
25
31{
32 protected bool $visible_title = false;
33 protected string $title = '';
34
39 public function withTitle(string $title): hasTitle
40 {
41 $clone = clone($this);
42 $clone->title = $title;
43
44 return $clone;
45 }
46
50 public function getTitle(): string
51 {
52 return $this->title;
53 }
54
55 public function withVisibleTitle(bool $visible_title): self
56 {
57 $clone = clone($this);
58 $clone->visible_title = $visible_title;
59
60 return $clone;
61 }
62
66 public function isTitleVisible(): bool
67 {
69 }
70}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Complex.php:21