ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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;
12 
13 class Bylined extends \ILIAS\UI\Implementation\Component\Tree\Node\Simple implements BylinedInterface
14 {
18  private $byline;
19 
20  public function __construct(string $label, string $byline, \ILIAS\UI\Component\Symbol\Icon\Icon $icon = null)
21  {
22  parent::__construct($label, $icon);
23 
24  $this->byline = $byline;
25  }
26 
27  public function getByline() : string
28  {
29  return $this->byline;
30  }
31 }
Class Factory.
Class ChatMainBarProvider .
This describes how a 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:27
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:20
This describes a very basic Tree Node.
Definition: Simple.php:11
__construct(Container $dic, ilPlugin $plugin)