ILIAS  trunk Revision v11.0_alpha-1903-g97817446624
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Legacy.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 use ILIAS\UI\Component as C;
24 
28 class Legacy extends Secondary implements C\Panel\Secondary\Legacy
29 {
30  protected C\Legacy\Content $legacy;
31 
32  public function __construct(string $title, C\Legacy\Content $legacy)
33  {
34  $this->title = $title;
35  $this->legacy = $legacy;
36  }
37 
41  public function getLegacyComponent(): C\Legacy\Content
42  {
43  return $this->legacy;
44  }
45 }
__construct(string $title, C\Legacy\Content $legacy)
Definition: Legacy.php:32
legacy()
expected output: > ILIAS shows the rendered Component.
Definition: legacy.php:29