ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
TestingNode Class Reference

Dummy-implementation for testing. More...

+ Inheritance diagram for TestingNode:
+ Collaboration diagram for TestingNode:

Public Member Functions

 __construct (string $label, URI $link=null)
 
 withLink (URI $link)
 Create a new node object with an URI that will be added to the UI. More...
 
- Public Member Functions inherited from ILIAS\UI\Implementation\Component\Tree\Node\Node
 __construct (string $label, URI $link=null)
 
 getLabel ()
 
 withAdditionalSubnode (INode $node)
 
 getSubnodes ()
 
 withExpanded (bool $expanded)
 
 isExpanded ()
 
 withHighlighted (bool $highlighted)
 @inhertidoc More...
 
 isHighlighted ()
 @inhertidoc More...
 
 withOnClick (Signal $signal)
 @inhertidoc More...
 
 appendOnClick (Signal $signal)
 @inhertidoc More...
 
 getLink ()
 Get the URI object that is added as link in the UI. More...
 

Additional Inherited Members

- Protected Attributes inherited from ILIAS\UI\Implementation\Component\Tree\Node\Node
 $link
 
 $label
 
 $expanded = false
 
 $highlighted = false
 
 $subnodes = []
 

Detailed Description

Dummy-implementation for testing.

Definition at line 15 of file NodeTest.php.

Constructor & Destructor Documentation

◆ __construct()

TestingNode::__construct ( string  $label,
URI  $link = null 
)

Member Function Documentation

◆ withLink()

TestingNode::withLink ( URI  $link)

Create a new node object with an URI that will be added to the UI.

Parameters
URI$link
Returns
Node

Definition at line 27 of file NodeTest.php.

28 {
29 return new TestingNode(
30 $this->label,
31 $link
32 );
33 }
Dummy-implementation for testing.
Definition: NodeTest.php:16
This describes a Tree Node.
Definition: Node.php:16

References ILIAS\UI\Implementation\Component\Tree\Node\Node\$link.


The documentation for this class was generated from the following file: