ILIAS  trunk Revision v11.0_alpha-1843-g9e1fad99175
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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)
 
 isHighlighted ()
 
 withOnClick (Signal $signal)
 
 appendOnClick (Signal $signal)
 
 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
array $subnodes = []
 
URI $link = null
 
string $label
 
bool $expanded = false
 
bool $highlighted = false
 

Detailed Description

Dummy-implementation for testing.

Definition at line 33 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.

Definition at line 43 of file NodeTest.php.

43  : \ILIAS\UI\Component\Tree\Node\Node
44  {
45  return new TestingNode(
46  $this->label,
47  $link
48  );
49  }
Dummy-implementation for testing.
Definition: NodeTest.php:33

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