ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Bylined.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use ILIAS\UI\Component\Tree\Node\Bylined as BylinedInterface;
25
29class 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}
getByline()
The byline string that will be displayed as additional information to the current node.
Definition: Bylined.php:40
__construct(string $label, string $byline, ?Icon $icon=null)
Definition: Bylined.php:33
This describes how an icon could be modified during construction of UI.
Definition: Icon.php:29
This describes a tree node with an byline providing additional information about this node.
Definition: Bylined.php:28
This describes a very basic Tree Node.
Definition: Simple.php:29
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc