ILIAS  release_8 Revision v8.24
TopParentItem.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
30
36{
39
40 protected string $title = '';
41
42 protected bool $supports_async_loading = false;
43
48 public function withTitle(string $title): hasTitle
49 {
50 $clone = clone($this);
51 $clone->title = $title;
52
53 return $clone;
54 }
55
59 public function getTitle(): string
60 {
61 return $this->title;
62 }
63
65 {
66 $clone = clone($this);
67 $clone->supports_async_loading = $supported;
68
69 return $clone;
70 }
71
72 public function supportsAsynchronousLoading(): bool
73 {
75 }
76}
Interface hasSymbol Methods for Entries with Symbols.
Definition: hasSymbol.php:33
Interface supportsAsynchronousLoading Types, which implement this interface, can load their content a...
trait hasSymbolTrait
Trait hasSymbolTrait.