ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
DataNode Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for DataNode:

Public Member Functions

 __construct (string $label, array $children=[])
 
 getLabel ()
 
 getChildren ()
 

Protected Attributes

string $label
 
array $children
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Definition at line 27 of file ExpandableTreeTest.php.

Constructor & Destructor Documentation

◆ __construct()

DataNode::__construct ( string  $label,
array  $children = [] 
)

Definition at line 32 of file ExpandableTreeTest.php.

References $children, and $label.

33  {
34  $this->label = $label;
35  $this->children = $children;
36  }

Member Function Documentation

◆ getChildren()

DataNode::getChildren ( )

Definition at line 41 of file ExpandableTreeTest.php.

References $children.

41  : array
42  {
43  return $this->children;
44  }

◆ getLabel()

DataNode::getLabel ( )

Definition at line 37 of file ExpandableTreeTest.php.

References $label.

37  : string
38  {
39  return $this->label;
40  }

Field Documentation

◆ $children

array DataNode::$children
protected

Definition at line 30 of file ExpandableTreeTest.php.

Referenced by __construct(), and getChildren().

◆ $label

string DataNode::$label
protected

Definition at line 29 of file ExpandableTreeTest.php.

Referenced by __construct(), getLabel(), and ExpandableTreeTest\setUp().


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