ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
Bylined.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
9 
10 use ILIAS\UI\Component\Tree\Node\Bylined as BylinedInterface;
11 
12 class Bylined extends \ILIAS\UI\Implementation\Component\Tree\Node\Simple implements BylinedInterface
13 {
17  private $byline;
18 
19  public function __construct(string $label, string $byline, \ILIAS\UI\Component\Symbol\Icon\Icon $icon = null)
20  {
21  parent::__construct($label, $icon);
22 
23  $this->byline = $byline;
24  }
25 
26  public function getByline() : string
27  {
28  return $this->byline;
29  }
30 }
Class Factory.
Class ChatMainBarProvider .
This describes how an icon could be modified during construction of UI.
Definition: Icon.php:9
getByline()
The byline string that will be displayed as additional information to the current node...
Definition: Bylined.php:26
This describes a tree node with an byline providing additional information about this node...
Definition: Bylined.php:12
__construct(string $label, string $byline, \ILIAS\UI\Component\Symbol\Icon\Icon $icon=null)
Definition: Bylined.php:19
This describes a very basic Tree Node.
Definition: Simple.php:11
__construct(Container $dic, ilPlugin $plugin)