ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
DataNode Class Reference
+ Collaboration diagram for DataNode:

Public Member Functions

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

Detailed Description

Definition at line 4 of file expandable2.php.

Constructor & Destructor Documentation

◆ __construct() [1/2]

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

Definition at line 6 of file expandable2.php.

7  {
8  $this->label = $label;
9  $this->children = $children;
10  }

◆ __construct() [2/2]

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

Definition at line 13 of file ExpandableTreeTest.php.

14  {
15  $this->label = $label;
16  $this->children = $children;
17  }

Member Function Documentation

◆ getChildren() [1/2]

DataNode::getChildren ( )

Definition at line 15 of file expandable2.php.

Referenced by expandable2().

16  {
17  return $this->children;
18  }
+ Here is the caller graph for this function:

◆ getChildren() [2/2]

DataNode::getChildren ( )

Definition at line 22 of file ExpandableTreeTest.php.

23  {
24  return $this->children;
25  }

◆ getLabel() [1/2]

DataNode::getLabel ( )

Definition at line 11 of file expandable2.php.

12  {
13  return $this->label;
14  }

◆ getLabel() [2/2]

DataNode::getLabel ( )

Definition at line 18 of file ExpandableTreeTest.php.

19  {
20  return $this->label;
21  }

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