ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
TopParentItem.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
29
33class TopParentItem extends AbstractParentItem implements
38{
40
41 protected string $title = '';
42
43 protected bool $supports_async_loading = false;
44
49 public function withTitle(string $title): hasTitle
50 {
51 $clone = clone($this);
52 $clone->title = $title;
53
54 return $clone;
55 }
56
60 public function getTitle(): string
61 {
62 return $this->title;
63 }
64
66 {
67 $clone = clone($this);
68 $clone->supports_async_loading = $supported;
69
70 return $clone;
71 }
72
73 public function supportsAsynchronousLoading(): bool
74 {
76 }
77}
Interface supportsAsynchronousLoading Types, which implement this interface, can load their content a...
trait hasSymbolTrait
Trait hasSymbolTrait.