ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
DataNode Class Reference
+ Collaboration diagram for DataNode:

Public Member Functions

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

Protected Attributes

string $label
 
array $children
 

Detailed Description

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: