ILIAS  release_8 Revision v8.24
Bylined.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
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}
__construct(string $label, string $byline, Icon $icon=null)
Definition: Bylined.php:33
getByline()
The byline string that will be displayed as additional information to the current node.
Definition: Bylined.php:40
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
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Bylined.php:21