76 if (empty($nodeData)) {
78 new \
Magento\Framework\
Phrase(
'The node information is empty. Enter the information and try again.')
83 new \
Magento\Framework\
Phrase(
"The encryption key can't be empty. Enter the key and try again.")
87 $this->
id = $nodeData[$keys[
'id']];
88 $this->pid = $nodeData[$keys[
'pid']];
89 $this->left = $nodeData[$keys[
'left']];
90 $this->right = $nodeData[$keys[
'right']];
91 $this->level = $nodeData[$keys[
'level']];
93 $this->data = $nodeData;
94 $a = $this->right - $this->left;
96 $this->hasChild =
true;
97 $this->numChild = ($a - 1) / 2;
110 if (isset($this->data[
$name])) {
111 return $this->data[
$name];
176 if ($this->right - $this->left > 1) {
__construct($nodeData, $keys)
if(!isset($_GET['name'])) $name