ILIAS  release_7 Revision v7.30-3-g800a261c036
DataNode Class Reference
+ Collaboration diagram for DataNode:

Public Member Functions

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

Protected Attributes

 $label = ""
 
 $children = []
 

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 16 of file expandable2.php.

References $children, and $label.

17  {
18  $this->label = $label;
19  $this->children = $children;
20  }

◆ __construct() [2/2]

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

Definition at line 13 of file ExpandableTreeTest.php.

References $children, and $label.

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

Member Function Documentation

◆ getChildren() [1/2]

DataNode::getChildren ( )

Definition at line 22 of file ExpandableTreeTest.php.

References $children.

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

◆ getChildren() [2/2]

DataNode::getChildren ( )

Definition at line 25 of file expandable2.php.

References $children.

Referenced by expandable2().

26  {
27  return $this->children;
28  }
+ Here is the caller graph for this function:

◆ getLabel() [1/2]

DataNode::getLabel ( )

Definition at line 18 of file ExpandableTreeTest.php.

References $label.

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

◆ getLabel() [2/2]

DataNode::getLabel ( )

Definition at line 21 of file expandable2.php.

References $label.

22  {
23  return $this->label;
24  }

Field Documentation

◆ $children

DataNode::$children = []
protected

Definition at line 14 of file expandable2.php.

Referenced by __construct(), and getChildren().

◆ $label

DataNode::$label = ""
protected

Definition at line 9 of file expandable2.php.

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


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