ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Separator.php
Go to the documentation of this file.
2
5
11class Separator extends AbstractChildItem implements hasTitle
12{
13
17 protected $visible_title = false;
21 protected $title = '';
22
23
29 public function withTitle(string $title) : hasTitle
30 {
31 $clone = clone($this);
32 $clone->title = $title;
33
34 return $clone;
35 }
36
37
41 public function getTitle() : string
42 {
43 return $this->title;
44 }
45
46
53 {
54 $clone = clone($this);
55 $clone->visible_title = $visible_title;
56
57 return $clone;
58 }
59
60
64 public function isTitleVisible() : bool
65 {
67 }
68}
An exception for terminatinating execution or to throw for unit testing.