ILIAS  trunk Revision v12.0_alpha-1221-g4e438232683
TopParentItem.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
31
35class TopParentItem extends AbstractParentItem implements
41{
44
45 protected string $title = '';
46
47 protected bool $supports_async_loading = false;
48
52 public function withTitle(string $title): hasTitle
53 {
54 $clone = clone($this);
55 $clone->title = $title;
56
57 return $clone;
58 }
59
63 public function getTitle(): string
64 {
65 return $this->title;
66 }
67
69 {
70 $clone = clone($this);
71 $clone->supports_async_loading = $supported;
72
73 return $clone;
74 }
75
76 public function supportsAsynchronousLoading(): bool
77 {
79 }
80}
Interface supportsAsynchronousLoading Types, which implement this interface, can load their content a...
trait hasSymbolTrait
Trait hasSymbolTrait.