ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilUiLinkToSplitButtonMenuItemAdapter.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2015 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 require_once 'Services/UIComponent/SplitButton/interfaces/interface.ilSplitButtonMenuItem.php';
5 
12 {
16  protected $link;
17 
21  protected $renderer;
22 
28  {
29  $this->link = $link;
30  $this->renderer = $renderer;
31  }
32 
36  public function getContent() : string
37  {
38  return $this->renderer->render([$this->link]);
39  }
40 }
Class Factory.
Class ChatMainBarProvider .
Interface ilSplitButtonMenuItem.
__construct(\ILIAS\UI\Component\Button\Button $link, \ILIAS\UI\Renderer $renderer)