@@ 673-676 (lines=4) @@ | ||
670 | $this->checkNode(false); |
|
671 | $item = $this->owner->getAttribute($this->itemAttribute); |
|
672 | ||
673 | if ($item !== null) { |
|
674 | $path = $this->node->getAttribute($this->pathAttribute); |
|
675 | $this->owner->setAttribute($this->pathAttribute, $path . $this->delimiter . $item); |
|
676 | } |
|
677 | ||
678 | $this->owner->setAttribute($this->depthAttribute, $this->node->getAttribute($this->depthAttribute) + 1); |
|
679 | ||
@@ 710-713 (lines=4) @@ | ||
707 | $this->checkNode(true); |
|
708 | $item = $this->owner->getAttribute($this->itemAttribute); |
|
709 | ||
710 | if ($item !== null) { |
|
711 | $path = $this->getParentPath($this->node->getAttribute($this->pathAttribute)); |
|
712 | $this->owner->setAttribute($this->pathAttribute, $path . $this->delimiter . $item); |
|
713 | } |
|
714 | ||
715 | $this->owner->setAttribute($this->depthAttribute, $this->node->getAttribute($this->depthAttribute)); |
|
716 |