ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilUiLinkToSplitButtonMenuItemAdapter.php
Go to the documentation of this file.
1<?php
2
21
29{
30 protected Button $link;
32
34 {
35 $this->link = $link;
36 $this->renderer = $renderer;
37 }
38
39 public function getContent(): string
40 {
41 return $this->renderer->render([$this->link]);
42 }
43}
renderer()
This describes commonalities between standard and primary buttons.
Definition: Button.php:34
An entity that renders components to a string output.
Definition: Renderer.php:31
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
link(string $caption, string $href, bool $new_viewport=false)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Bulky.php:21