ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Factory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 use ILIAS\Data\URI;
25 
29 interface Factory
30 {
58  public function simple(string $label, ?Icon $icon = null, ?URI $uri = null): Simple;
59 
81  public function bylined(string $label, string $byline, ?Icon $icon = null): Bylined;
82 
112  public function keyValue(string $label, string $value, ?Icon $icon = null): KeyValue;
113 }
bylined(string $label, string $byline, ?Icon $icon=null)
description: purpose: > The Bylined Node is an entry containing additional information about the nod...
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
simple(string $label, ?Icon $icon=null, ?URI $uri=null)
description: purpose: > The Simple Node is a very basic entry for a Tree.
keyValue(string $label, string $value, ?Icon $icon=null)
description: purpose: > The Key Value node is an entry containing a value paired to its label...
This describes a very basic Tree Node.
Definition: Simple.php:28
This describes a tree node in which the label is complemented by an additional string, forming a key-value pair.
Definition: KeyValue.php:25