ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
Bylined.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
23 use ILIAS\UI\Component\Tree\Node\Bylined as BylinedInterface;
25 
29 class Bylined extends Simple implements BylinedInterface
30 {
31  private string $byline;
32 
33  public function __construct(string $label, string $byline, Icon $icon = null)
34  {
35  parent::__construct($label, $icon);
36 
37  $this->byline = $byline;
38  }
39 
40  public function getByline(): string
41  {
42  return $this->byline;
43  }
44 }
This describes how an icon could be modified during construction of UI.
Definition: Icon.php:28
getByline()
The byline string that will be displayed as additional information to the current node...
Definition: Bylined.php:40
This describes a tree node with an byline providing additional information about this node...
Definition: Bylined.php:27
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Bylined.php:21
This describes a very basic Tree Node.
Definition: Simple.php:28
__construct(string $label, string $byline, Icon $icon=null)
Definition: Bylined.php:33
__construct(Container $dic, ilPlugin $plugin)