ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
TopParentItem.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
30 
36 {
38  use hasSymbolTrait;
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 supportsAsynchronousLoading Types, which implement this interface, can load their content a...
Interface hasSymbol Methods for Entries with Symbols.
Definition: hasSymbol.php:32
trait hasSymbolTrait
Trait hasSymbolTrait.