ILIAS  trunk Revision v11.0_alpha-1862-g4e205cb56d4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Bylined.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
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 }
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 a tree node with an byline providing additional information about this node...
Definition: Bylined.php:27
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This describes a very basic Tree Node.
Definition: Simple.php:28
__construct(Container $dic, ilPlugin $plugin)