ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Drilldown.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 use ILIAS\UI\Component\Menu\Drilldown as DrilldownMenu;
27 
31 class Drilldown extends Slate implements ISlate\Drilldown
32 {
33  protected DrilldownMenu $drilldown;
34 
35  public function __construct(
37  string $name,
39  DrilldownMenu $drilldown
40  ) {
41  parent::__construct($signal_generator, $name, $symbol);
42  $this->drilldown = $drilldown;
43  }
44 
48  public function getContents(): array
49  {
50  return [$this->drilldown];
51  }
52 
53  public function withMappedSubNodes(callable $f): self
54  {
55  return $this;
56  }
57 }
__construct(SignalGeneratorInterface $signal_generator, string $name, Symbol $symbol, DrilldownMenu $drilldown)
Definition: Drilldown.php:35
drilldown()
description: > The example shows how to create and render a basic markdown field and attach it to a ...
Definition: drilldown.php:46
This describes a symbol.
Definition: Symbol.php:29
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Combined.php:21
__construct(Container $dic, ilPlugin $plugin)
This describes a Drilldown Menu Control.
Definition: Drilldown.php:28